Closed kefirfromperm closed 6 years ago
looks like the problem could be that ServiceTransformation
(CompilePhase.SEMANTIC_ANALYSIS
) runs before EntityASTTransformation
/GormEntityTransformation
(CompilePhase.CANONICALIZATION
) which inject the id property?
sample compiles for me if i define the id
property in Book
explicitly (i.e. Long id
)
Yes if you define id it compiles, but this is not i want. :)
When I try to use property id in the
@Query
annotation it fails on compilation.Task List
Steps to Reproduce
Create a simple domain object
Expected Behaviour
It is compiled
Actual Behaviour
Is is not compiled and show error
Environment Information
Example Application
https://github.com/kefirfromperm/gorm-bug-sample