codeconsole commented on PR #15289: URL: https://github.com/apache/grails-core/pull/15289#issuecomment-3782210722
> This looks OK to me. I would probably prefer `add-property` or `add-domain-property` instead of `add-field`. > > (We could move code generation classes to it's own module in Grails 8 if we want to get them out of `grails-bootstrap`.) @matrei I modeled it after [Spring Roo](https://docs.spring.io/spring-roo/docs/current/reference/html/) In Java, it is obviously adding a field, but in Groovy there seems to be confusion. Is the Groovy consensus still that it is a property because it has no access modifier? This is from 2014: [[groovy-user] Property vs Field](https://groups.google.com/g/groovy-user/c/2OM-_PDklfk?pli=1) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
