geofflane / grails-constraints

Custom constraints plugin for Grails applications
Apache License 2.0
35 stars 11 forks source link

Different constraint sets for the same Domain. #24

Open hansgru opened 10 years ago

hansgru commented 10 years ago

Is it possible to have different constraint sets for the same Domain object, that can be applied in different situations? I.e. to have not only one but several? I see many examples how to "share" constrains, but I need exactly the opposite: e.g. on the same Domain, under different circumstances to change the behavior.