This website is in progress, you can read the docs from old onefrom Here →
ts-validation
Batch Validations

Batch Validation: validate multi objects

to validate multiple objects, the library provides batchValidate() and batchValidatethrow() methods of Validator, this method accept list of objects, of the same type, to be validated.

MethodArgsDescription
batchValidate()Array of Objectreturn BatchValidatorResultInfo
batchValidatethrow()Array of Objectthrow BshBatchValidationError in case of invalid data
validator.batchValidate(object1, object2, object3);
validator.batchValidateThrow(object1, object2, object3);