0.0.5
Better validator with arrowkt raise and structured errors
- added FormError, FormMapError, FormListError and FormSetError
- added ValidatorScope (replaces ValidateScope)
- added Validator
- added utils for Validator and ValidatorScope
FIXES:
- validation always reports last rule
- onValidate block doesn't return after rule mismatch
- value passed on validation of collection fields does not follow collection equals policy
BREAKING:
- Changed type of FormField.error and FormField.errors
- Changed name and type of validator parameters for field*(...) functions
- Removed ValidateScope
Full Changelog: 0.0.4...0.0.5