Details
-
Type:
Improvement
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 1.3.5
-
Component/s: None
-
Labels:None
Description
It's quite common to want to configure beans differently depending on the application config. At the moment this means using the hideous ConfigurationHolder singleton.
The following should be possible...
beans {
if (!application.config.nobeans) {
// plant the magic beans
}
}
Activity
- All
- Comments
- Work Log
- History
- Activity
- Git Commits
Fixed: http://github.com/grails/grails-core/commit/6ff5b86e40ba11eebd80462d6a60e84b73a42627