import { type ValidatorOptions } from "https://deno.land/x/deno_class_validator@v1.0.0/src/validation/ValidatorOptions.ts";
Options passed to validator during validation.
Properties
If set to true then class-validator will print extra warning messages to the console when something is not right.
If set to true then validator will skip validation of all properties that are undefined in the validating object.
If set to true then validator will skip validation of all properties that are null in the validating object.
If set to true then validator will skip validation of all properties that are null or undefined in the validating object.
If set to true validator will strip validated object of any properties that do not have any decorators.
Tip: if no other decorator is suitable for your property use @Allow decorator.
If set to true, instead of stripping non-whitelisted properties validator will throw an error
Set default for always
option of decorators. Default can be overridden in decorator options.
If [groups]ValidatorOptions#groups is not given or is empty, ignore decorators with at least one group.
If set to true, the validation will not use default messages. Error message always will be undefined if its not explicitly set.