jaguar_validate 2.0.8 jaguar_validate: ^2.0.8 copied to clipboard
A configurable and extensible validation framework that supports validation of objects (nested), arrays. Supports error code and parameter support for translation.
Changelog #
2.0.8 #
toJson
returns Map
2.0.6 #
- Integer validation rules
isNeative
,isPositive
,isEven
andisOdd
2.0.5 #
- Integer validation functions
isLessThan
,isGreaterThan
andisInRange
2.0.1 #
ObjectErrors.splitKey
static method to split key into segments- ObjectError methods now recursively split key into segments
ObjectErrors.hasErrors
method to check if there are any errorsObjectErrors.clear
to clear all errors
Breaking changes #
ObjectErrors.asMap
not returns null if there are no errors
2.0.0 #
- Total rewrite
validateValue
to validate individual field with validatorsObjectErrors
for object and array validationValidationError
to support client side translation of error messages
1.0.0 #
- Basic
String
,int
,double
andnum
validators