I\'d like to expose all IDs using a Spring Rest interface.
I know that per default an ID like this will not be exposed via the rest interface:
@I
Proabably you can try this to include all id fields. I havent tried it yet, but will keep posted.
public class ExposeAllRepositoryRestConfiguration extends RepositoryRestConfiguration { @Override public boolean isIdExposedFor(Class> domainType) { return true; } }
Excerpt from this link