-
Notifications
You must be signed in to change notification settings - Fork 810
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
question: default value forbidUnknownValues #2317
Comments
Could you point to the exact file and line you are referring to? I can't seem to find what you are referring to. |
|
That is a past version of the source code from a year ago. |
which branch has the latest code? |
|
I might be completely wrong here, but isn't this the code from develop. class-validator/src/validation/ValidatorOptions.ts Lines 74 to 82 in 0b50d8d
And for the context, I'm just talking about doc strings. Thanks for actively replying and apologies for being PITA |
I noticed the same discrepancy. Seems like a typo ? Changelog (0.14.0) implies that However, |
I stand corrected! This is indeed a typo. |
PR welcome :) |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
I was trying to...
see if forbidUnknownValues is true by default in 0.14.0
The problem:
In docs it still says
Fails validation for objects unknown to class-validator. Defaults to false
The text was updated successfully, but these errors were encountered: