spring-data-envers icon indicating copy to clipboard operation
spring-data-envers copied to clipboard

Spring data envers compatibility with spring data rest.

Open richardkabiling opened this issue 9 years ago • 3 comments

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

richardkabiling avatar Jul 04 '15 03:07 richardkabiling

Is there any plan to fix this problem? The only solution right now is create a custom controller and to expose findRevisions methods.

Thanks

drenda avatar Jun 22 '17 18:06 drenda

+1

kdomagal avatar May 11 '18 10:05 kdomagal

+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.

paulcwarren avatar Dec 18 '20 06:12 paulcwarren