I'm trying to have my plugin modify the grails.gorm.default.constraints. I'm using platform-core's doWithConfig() feature, but Grails seems to have already evaluated the default constraints closure before doWithConfig is invoked.
Is there a solution to this?
Also posted on SO: http://stackoverflow.com/questions/23418386/how-can-a-grails-plugin-modify-the-apps-default-mappings-constraints-config
I'm trying to have my plugin modify the grails.gorm.default.constraints. I'm using platform-core's doWithConfig() feature, but Grails seems to have already evaluated the default constraints closure before doWithConfig is invoked.
Is there a solution to this?
Also posted on SO: http://stackoverflow.com/questions/23418386/how-can-a-grails-plugin-modify-the-apps-default-mappings-constraints-config