Jeff Scott Brown

Results 116 comments of Jeff Scott Brown

@olavgg FYI... There is a relevant discussion thread in the PR at https://github.com/grails-profiles/base/pull/97. Thank you for your feedback.

> Is there any way to stop reinitializing from BootStrap?, we just wanted to recompile only those changed class It sounds like you are not using a reloading agent but...

@purpleraven I understand. I am just addressing the question "Is there any way to stop reinitializing from BootStrap?" and I think the answer is no. I don't know of anything...

@peter-hal-con Can you articulate why it is that you want to have a static property in a domain class whose value is that of the domain class' `gormPersistentEnity` property? (https://github.com/spierepf/example2/blob/044f540562f8e555889fed4743c6dc3aa3b07d70/grails-app/domain/example/Thing.groovy#L8)

> HOW ABOUT: we remove all the deprecation warnings from the code NOW I do not think it is a good idea to remove the deprecation warnings.

> why We documented in the motivation in the user guide. The dot notation stuff was originally deprecated to reduce complexity, improve performance and improve maintainability. There are other issues...

> I followed your links above, and I can't see that they add anything to the discussion other than "property access bad because 'reasons'" I am sorry that information wasn't...

``` void myServerSomething(def config) { String serverName = config.name String serverIp = config.ipAddress } myServerSomething(grailsApplication.config.servers.server2) ``` @xpusostomos There are better ways to deal with that config. If you are willing...

@xpusostomos In your example, the `grailsApplication.config.nsl.shards` expression in your service is suspect. A problem with that is that it will be evaluated every time that method is invoked. Knowing more...

See the project at [github.com/jeffbrown/torbjorn-boost-constants](https://github.com/jeffbrown/torbjorn-boost-constants). [grails-app/domain/torbjorn/boost/constants/Role.groovy](https://github.com/jeffbrown/torbjorn-boost-constants/blob/8bf1537c3f109095aad4aed0d605338a2c74ea98/grails-app/domain/torbjorn/boost/constants/Role.groovy) ``` package torbjorn.boost.constants import grails.compiler.GrailsCompileStatic @GrailsCompileStatic class Role { public final static long ADMIN = 1 public final static long USER = 2 static...