-
Notifications
You must be signed in to change notification settings - Fork 806
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
whitelistValidation does not throw an error of type ValidationError. #325
Comments
it seems
in the ValidationExecutor Everywhere else a new ValidationError is acutally created
or
where
Taken for the JS one, debugging. I'm happy to create a PR if it is going to be look at @pleerock ?? |
Looks like a bug. @nolazybits thank you for checking this issue. PRs are welcome. |
@vlapo ☝️ |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
when using below line for class validation
the validationErrors in the above line is of type ValidationError[] for all the other cases except for when it is throwing error whitelistValidation .
When the error is whitelistValidation "proptery should not exist" it is of type Object[].Could you please let me know if this is a bug , if so could you please update the same to be of type ValidationError[]
The text was updated successfully, but these errors were encountered: