spring-data
spring-data copied to clipboard
ID/Key generation based on annotation
It would be beneficial to have an annotation to generate _key (and therefore _id) values based on some criteria defined in there. Take Couchbase implementation for example - it's fairly simple to use, fairly well built and makes the schema very flexible without a necessity to duplicate code.
@uded Thanks for your feedback. I will add this feature to our roadmap
Happy to help with the implementation if I will have some time and you're open for PRs. Might ask for some help on the way...
Of course, contribution is always welcome.