Validator
Validator class
Static Method Summary
| Static Private Methods | ||
| private static |
_compose_custom_errors(errors: Object, custom_errors: Array<GCExp>, parent_key: string) |
|
| private static |
_compose_joi_errors(errors: Object, joi_errors: Object, parent_key: string) |
|
| private static |
|
|
Constructor Summary
| Public Constructor | ||
| public |
|
|
Method Summary
| Public Methods | ||
| public |
async validate(object: Object, validators: Array<Object|Function>, method: string): Promise<existentialtypeparam> |
|
| Private Methods | ||
| private |
async _validate_with_validator(method: string, object: Object, errors: Object, validator: Function, key: string): Object |
|
Manual
Reference
Source
