Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
…l exception case (vudaltsov) This PR was merged into the 3.4 branch. Discussion ---------- [Validator] Fixed the @Valid(groups={"group"}) against null exception case | Q | A | ------------- | --- | Branch? | 3.4 | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | | License | MIT | Doc PR | When `@Valid(groups={"group"})` has non-empty groups and the value is `null`, validator throws `Cannot validate values of type "NULL" automatically. Please provide a constraint.` at `RecursiveContextualValidator:164`. I don't really understand, why everything is okay for `@Valid()` without groups, but hope that my fix is correct anyway. Commits ------- 56f24d0 Fixed the null value exception case.
- Loading branch information