We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0b50d8d commit 51d5bd1Copy full SHA for 51d5bd1
src/validation/ValidatorOptions.ts
@@ -72,7 +72,7 @@ export interface ValidatorOptions {
72
};
73
74
/**
75
- * Fails validation for objects unknown to class-validator. Defaults to false.
+ * Fails validation for objects unknown to class-validator. Defaults to true.
76
*
77
* For instance, since a plain empty object has no annotations used for validation:
78
* - `validate({})` // passes
0 commit comments