PersistentEntity.getPropertyByName does not support nested properties.
- Dominant language
- Groovy
- Stars
- 2.9k
- Forks
- 975
- Avg merge
- 1d 22h
- Merged PRs (30d)
- 92
Description
DefaultGrailsDomainClass.getPropertyByName - used to handle the nested properties. so propertyname with dots worked good, however with the new API, PersistentEntity.getPropertyByName does not support the nested properties. KeyValuePersistentEntity seems to support the propertyname with dot, but only for embedded properties.
Expected behavior:
Handle nested properties like GrailsDomainClass did in earlier versions.
Grails version, 3.3.2
Gorm 6.1.9.BUILD-SNAPSHOT
Contributor guide
Research direction
Start by comparing DefaultGrailsDomainClass.getPropertyByName with PersistentEntity.getPropertyByName, then inspect how KeyValuePersistentEntity handles dotted names and embedded properties. Confirm the behavior on Grails 3.3.2 with GORM 6.1.9.BUILD-SNAPSHOT; done means nested properties with dots resolve as they did through the earlier GrailsDomainClass API.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- groovy
- Domain
- backend, databases
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100