we found that org.grails.compiler.gorm.GormEntityTransformation would forced to add @JsonIgnoreProperties(['version']) while ASTTransformation CompilePhase domain class in grails-data-mapping package.
Why it‘s so designed? How to bypass this limitation?How to output domain instance version filed with jsonformat?
we found that org.grails.compiler.gorm.GormEntityTransformation would forced to add @JsonIgnoreProperties(['version']) while ASTTransformation CompilePhase domain class in grails-data-mapping package. Why it‘s so designed? How to bypass this limitation?How to output domain instance version filed with jsonformat?