dml icon indicating copy to clipboard operation
dml copied to clipboard

Implement `required` and `optional` directives

Open heapwolf opened this issue 8 years ago • 0 comments

upon parsing @required, all subsequent rules will be marked as required, each rule may then specify an optional true validator.

upon parsing @optional all subsequent rules will be marked as optional (default), each rule may then specify a required true validator

heapwolf avatar Jan 26 '17 15:01 heapwolf