Validates an object using class-validator.
Validates the given object or rejects it with the given error.
Generated using TypeDoc
Validates an object using class-validator.