- Return early in case foreign annotation cannot be computed.
- update validations dependency to 0.8.3
- fix affectFields to only contain fields referenced by the validator
- statically determine whether an annotation is a validation annotation, instead of testing against known runtime types.
- fix getAnnotation failing to detect @Constraint annotation
- add @Target to field annotations
- add @Constraint to field annotations
- fix time unit validator
- improve class level validations and error messages
- add support for class level validators
- add a FieldMatch class level validator
- introduce @property to support constructing class level validators.
- make internationalization of messages optional.
- generate to shared part files
- extension changed from
.gval.dartto.g.dart
- update validators dependency.
- change generated class prefix from
$_ to _$ (private).
- Add optional
fieldsparameter to Genvalidator to generate validators.
- Update validations dependency
- Wrap property validators with a FieldValidator to enable type checking.
- Alpha version
- Initial version