Skip to content

[Validator] Update Length Validator Empty String Docs #16754

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

Merged
merged 1 commit into from
Apr 29, 2022

Conversation

jrjohnson
Copy link
Contributor

Empty strings are no longer valid if a min is passed, null values still
validate.

Changed in 6.0 along with dropping the deprecated allowEmptyString symfony/symfony#36818 option. There is some discussion that this is the intended behavior in symfony/symfony#45993

Empty strings are no longer valid if a min is passed, null values still
validate.
@jrjohnson jrjohnson requested a review from xabbuh as a code owner April 27, 2022 04:07
@xabbuh xabbuh added this to the 6.0 milestone Apr 29, 2022
@carsonbot carsonbot changed the title Update Length Validator Empty String Docs [Validator] Update Length Validator Empty String Docs Apr 29, 2022
@javiereguiluz
Copy link
Member

Good catch, thanks Jon.

@javiereguiluz javiereguiluz merged commit 0643e1e into symfony:6.0 Apr 29, 2022
@jrjohnson jrjohnson deleted the empty-length branch April 29, 2022 15:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants