But I'm still not able to see IDs in the JSON responses with the following custom configuration:
@Configuration
public class CustomRepositoryRestMvcConfiguration extends SpringBootRepositoryRestMvcConfiguration {
@Override
protected void configureRepositoryRestConfiguration(RepositoryRestConfiguration config) {
config.exposeIdsFor(Person.class);
}
}
@SpringBootApplication
@Import(CustomRepositoryRestMvcConfiguration.class)
public class Application {
public static void main(String[] args) {
SpringApplication.run(Application.class, args);
}
}
Am I doing something obviously wrong here? All the examples I've found online indicate that this should work. Maybe I've found a regression, but I doubt it.
I hope this repo is the right place to report this issue, but apologies if it isn't.