Set default for always
option of decorators. Default can be overridden in decorator options.
If set to true, the validation will not use default messages. Error message always will be undefined if its not explicitly set.
If set to true then class-validator will print extra warning messages to the console when something is not right.
If set to true, instead of stripping non-whitelisted properties validator will throw an error
Settings true will cause fail validation of unknown objects.
Groups to be used during validation of the 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 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 undefined in the validating object.
When set to true, validation of the given property will stop after encountering the first error. Defaults to false.
If [groups]{@link ValidatorOptions#groups} is not given or is empty, ignore decorators with at least one group.
ValidationError special options.
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.
Generated using TypeDoc
Options passed to validator during validation.