December 2008
1 post
2 tags
Gldapo Validation
I am about to commit the new GORM inspired validation mechanism to Gldapo. Here is what it is going to look like… Declaring your constraints Instead of a DSL like GORM, we are using annotations… import gldapo.schema.annotations. class Person { @GldapoNamingAttribute String uid @Required String sn @Required @Matches(/[A-Z]./) String givenName } Plugging in your...
Dec 2nd