-
Notifications
You must be signed in to change notification settings - Fork 768
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
Why Conditional Validation ignored all constraint on a field instead? #318
Labels
type: question
Questions about the usage of the library.
Comments
Looks like the order of things doesn't matter, it can be |
News? |
The same problem, we need some approach to separately enable/disable decorators. |
still an issue 😢 |
6 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I am trying to create multi purpose model using conditional validation. Look at the below model -
i want that if isCreated is false then id must behave as optional parameter. and IsUUID() constraint should not be ignored. ValidateIf ignore both constraint. Any Idea?
The text was updated successfully, but these errors were encountered: