import { validateSync } from "https://deno.land/x/deno_class_validator@v1.0.0/src/index.ts";
Performs sync validation of the given object. Note that this method completely ignores async validations. If you want to properly perform validation you need to call validate method instead.
Parameters
optional
validatorOptions: ValidatorOptionsValidates given object by a given validation schema. Note that this method completely ignores async validations. If you want to properly perform validation you need to call validate method instead.