Create ID for embedded collections
Open
relates-to: grails-data-mongodb
- Dominant language
- Groovy
- Stars
- 2.9k
- Forks
- 975
- Avg merge
- 1d 22h
- Merged PRs (30d)
- 92
Description
If a there is a `hasMany` relationship to another domain class, and that collection is embedded, provide a configuration option to tell GORM to assign an id to items as they are added in the collection.
Contributor guide
Research direction
Start by locating GORM handling for hasMany relationships and embedded collections, then trace how collection items currently receive identifiers. Define the configuration option so IDs are assigned when items are added, and add or update tests covering embedded collection items and the opt-in behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- groovy
- Domain
- database
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100