jaguar_validate 2.0.8 copy "jaguar_validate: ^2.0.8" to clipboard
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 and isOdd

2.0.5 #

  • Integer validation functions isLessThan, isGreaterThan and isInRange

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 errors
  • ObjectErrors.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 validators
  • ObjectErrors for object and array validation
  • ValidationError to support client side translation of error messages

1.0.0 #

  • Basic String, int, double and num validators
0
likes
40
pub points
0%
popularity

Publisher

unverified uploader

A configurable and extensible validation framework that supports validation of objects (nested), arrays. Supports error code and parameter support for translation.

Repository (GitHub)
View/report issues

License

BSD-3-Clause (LICENSE)

More

Packages that depend on jaguar_validate