spring-data-envers
spring-data-envers copied to clipboard
Spring data envers compatibility with spring data rest.
Revision repository methods cannot be exposed as spring data rest endpoints.
Seems issue is due to naming convention used in the interface.
Question in stackoverflow:
- http://stackoverflow.com/questions/25925538/spring-data-rest-expose-new-endpoints-for-repository-that-extends-revision-repo?rq=1
Is there any plan to fix this problem? The only solution right now is create a custom controller and to expose findRevisions methods.
Thanks
+1
+1
And I wonder if something like this would be acceptable as implementation of a generic revisions controller? Or something that we could iterate on?
If so then I would be happy to submit as a PR although I would need a bit of advice to help figure out if this should actually live in this project (as some sort of conditional controller?) or in a separate and new spring-data-envers-rest
sibling project.
Anyways, would love to hear your thoughts.