Indicates that the field is optional. This means that, if set to its initial state or not set, no validation will be done.
@Min(5) @Optional string text; // ok "" // not ok (min is 5) "test"
See Implementation
Indicates that the field is optional. This means that, if set to its initial state or not set, no validation will be done.