lhotari opened a new issue, #14265: URL: https://github.com/apache/grails-core/issues/14265
There is CompileStatic support in the code base, but it hasn't been documented. The features have been tested in this test class: https://github.com/grails/grails-gsp/blob/master/grails-gsp/src/test/groovy/org/grails/gsp/GspCompileStaticSpec.groovy Features - defining types for model attributes. this turns on CompileStatic mode for GSPs implicitly. - model attributes can have default values - possibility to turn off CompileStatic mode while keeping model type definitions - tag library prefixes have to be defined with `taglibs` when it's not `g' or `tmpl` - [`grails.views.gsp.compileStaticConfig.taglibs` config property for default](https://github.com/grails/grails-gsp/blob/master/grails-gsp/src/main/groovy/org/grails/gsp/compiler/GroovyPageParser.java#L258). -- 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]
