Please sign in to comment.
feature #29641 [Validator] NotBlank: add a new option to allow null v…
…alues (dunglas) This PR was squashed before being merged into the 4.3-dev branch (closes #29641). Discussion ---------- [Validator] NotBlank: add a new option to allow null values | Q | A | ------------- | --- | Branch? | master | Bug fix? | no | New feature? | yes <!-- don't forget to update src/**/CHANGELOG.md files --> | BC breaks? | no <!-- see https://symfony.com/bc --> | Deprecations? | no <!-- don't forget to update UPGRADE-*.md and src/**/CHANGELOG.md files --> | Tests pass? | yes <!-- please add some, will be required by reviewers --> | Fixed tickets | #27876 | License | MIT | Doc PR | todo This PR adds a new option to the `@notblank` constraint to allow null values. As described in #27876, this is particularly useful when creating web APIs. Commits ------- 484d22a [Validator] NotBlank: add a new option to allow null values
- Loading branch information...
Showing with 34 additions and 0 deletions.