Resolution: Won't Fix
Affects Version/s: None
Fix Version/s: None
According to the Spring data documentation, when you want to add a custom behavior you have to :
- create an interface with your custom method
- extends the interface in the spring data repository
- create the implementation of your custom method with a specific name : the name of the repository interface + the Impl postfix
changes required :
- be able to annotate the implementation of the interface which contains the custom method, to be able to give the name you want for the implementation class.
For example, if i have a Spring data repository UserRepository with a custom behavior declared in a SearchRepository interface
I would be able to give a name for my implementation like i want (and not UserRepositoryImpl) and add an annotation to declare that is the implementation of a custom method for the UserRepository.
I think create a pull request if you're ok with the improvement