Releases: Lemoncode/fonk
Releases · Lemoncode/fonk
v1.5.4
v1.5.4-beta.1
- update version dd3066d
v1.5.3
v1.5.2
v1.5.2-beta.3
- update clean command 412830f
v1.5.2-beta.2
- fix array validator 1801dcf
v1.5.2-beta.1
v1.5.1
v1.5.0
v1.4.0
Feature
- Add array validator, that is, validator to add validations for each element in array. Check issue #92
E.g:
const validationSchema: ValidationSchema = {
field: {
products: [
{
validator: Validators.array,
customArgs: {
field: {
name: [Validators.required],
quantity: [Validators.required, isNumber],
price: [Validators.required, isNumber],
},
},
},
],
},
};