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

ID/Key generation based on annotation

Open uded opened this issue 8 years ago • 3 comments

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 avatar Mar 24 '18 18:03 uded

@uded Thanks for your feedback. I will add this feature to our roadmap

mvollmary avatar Mar 26 '18 06:03 mvollmary

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

uded avatar Mar 26 '18 10:03 uded

Of course, contribution is always welcome.

mvollmary avatar Mar 26 '18 11:03 mvollmary