You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by GitBox <gi...@apache.org> on 2021/10/01 07:47:57 UTC

[GitHub] [groovy] paulk-asert commented on pull request #1627: GROOVY-10140: No compiler error for invalid transient method modifier

paulk-asert commented on pull request #1627:
URL: https://github.com/apache/groovy/pull/1627#issuecomment-931990461


   It looks like at least the Grails framework (and possibly others we don't know of) have piggy-backed on the transient keyword for a tangential purpose for properties:
   https://github.com/grails/grails-core/blob/master/grails-test-suite-uber/src/test/groovy/grails/validation/DomainConstraintGettersSpec.groovy#L561 
   They are marked as transient as in not to be persisted by hibernate. There is an alternative static property which I believe is the preferred way to do this but the modifier looks like an alternative supported mechanism.


-- 
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: notifications-unsubscribe@groovy.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org