Persistent properties for Grails 5 removed 'naturalName' and might have wrong attribute capitilizedName vs capitalizedName (typo?)
- Dominant language
- Groovy
- Stars
- 2.9k
- Forks
- 975
- Avg merge
- 1d 22h
- Merged PRs (30d)
- 92
Description
### Steps to Reproduce
The fist one is a question, the persistent properties used to have a `naturalName` field that was providing generated UI good names to show for domain classes, for instance `dateCreated` field had natural name `Date created`.
Was that functionality moved somewhere else?
The second is about the name of this property that might have a typo https://gorm.grails.org/latest/rx/api/org/grails/datastore/mapping/model/AbstractPersistentProperty.html#getCapitilizedName()
Seems that should be capitalized instead of capitilized.
Contributor guide
Research direction
Start with AbstractPersistentProperty and its getCapitilizedName() API, then inspect the Grails 5 history or documentation for the removed naturalName property. Confirm whether naturalName has a replacement and whether the getter spelling is part of the public API; done means documenting the replacement or restoring the behavior and resolving the capitalization issue.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- groovy
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100