Release Notes
Version 1.1.0 - 2026-08-02
- By default, all entity properties will have required validation. You can overwrite this behaviour by setting following entity level metadata '__requiredAllExcept', '__required' and or setting it in individual property.
- Added '"__requiredAllExcept": [ ]' metadata property to entity. It will add required validation for all properties, you can opt-out required validation by adding property name to the string array.
- Added '"__required": [ ]' metadata property to entity. It will reset required validation default to false. No property will have default required validation. You can opt-in required validation by adding property name to string array. Or you need to specify explicitly in the property metadata.
NOTE: You can use either '__requiredAllExcept' or '__required', you cannot be use both for same entity.
- Added 'required', 'minLength', 'maxLength', 'min', 'max', 'pattern', 'email' metadata to the property, now you can add above validations directly in the property.
- Now 'dataType' is optional metadata, by default it will be a 'string', also you will be able to add empty properties.
For more info about validation and dataType changes see the documentaion.