We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dummy
static mapping = { version false }
new Dummy().version
persistentProperties
no version property is injected because of version false
version false
GormEntityTransformation
PersistentEntity.isVersioned()
false
sample app will be referenced asap
The text was updated successfully, but these errors were encountered:
sample app reproducing grails/grails-data-mapping#1120
5dfb616
We are aware of this issue, unfortunately due to how the transform works it is not easy to fix
Sorry, something went wrong.
No branches or pull requests
Steps to Reproduce
Dummy
withnew Dummy().version
or check the entities'persistentProperties
Expected Behaviour
no version property is injected because of
version false
Actual Behaviour
GormEntityTransformation
seems to injected it regardless of the verison mapping: https://github.com/grails/grails-data-mapping/blob/v6.1.10/grails-datastore-gorm/src/main/groovy/org/grails/compiler/gorm/GormEntityTransformation.groovy#L447-L454PersistentEntity.isVersioned()
returnsfalse
Environment Information
Example Application
sample app will be referenced asap
The text was updated successfully, but these errors were encountered: