We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e252183 commit f6f1bdfCopy full SHA for f6f1bdf
src/validation/ValidationExecutor.ts
@@ -45,7 +45,9 @@ export class ValidationExecutor {
45
*/
46
if (!this.metadataStorage.hasValidationMetaData && this.validatorOptions?.enableDebugMessages === true) {
47
console.warn(
48
- `No metadata found. There is more than once class-validator version installed probably. You need to flatten your dependencies.`
+ `No validation metadata found. No validation will be performed. There are multiple possible reasons:\n` +
49
+ ` - There may be multiple class-validator versions installed. You will need to flatten your dependencies to fix the issue.\n` +
50
+ ` - This validation runs before any file with validation decorator was parsed by NodeJS.`
51
);
52
}
53
0 commit comments