8000 [Validator] Update the ignoreNull option of UniqueEntity constraint by javiereguiluz · Pull Request #18335 · symfony/symfony-docs · GitHub
[go: up one dir, main page]

Skip to content

[Validator] Update the ignoreNull option of UniqueEntity constraint #18335

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
May 23, 2023

Conversation

javiereguiluz
Copy link
Member

Fixes #18324.

@javiereguiluz
Copy link
Member Author

I don't understand DOCtor-RST error 🤔 // @OskarStark

``ignoreNull``
~~~~~~~~~~~~~~

**type**: ``bool``, ``string`` or ``array`` **default**: ``[]``
Copy link
Contributor
@VincentLanglet VincentLanglet May 22, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
**type**: ``bool``, ``string`` or ``array`` **default**: ``[]``
**type**: ``bool`` | ``array`` | ``string`` **default**: ``true``

I think this will fix the linter issue
AND the default value is still TRUE

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Vincent, thanks for reviewing this! I've just fixed the errors that you reported. Thanks.

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.

4 participants
0