I want to manually check a field in a command object
I know that I can get the maximum value of the field (and min) with this:
MyDomain.constraints.myField.getAppliedConstraint('max').maxValue
How can I execute the 'validate' command on 'myField' and get an error object?
source share