Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork5.3k
Add Canonicalize option to Locale Constraint#12984
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
OskarStark commentedJan 25, 2020
@ro0NL can you please have a look here? Thanks! |
ro0NL left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Co-Authored-By: Oskar Stark <oskarstark@googlemail.com>
Co-Authored-By: Oskar Stark <oskarstark@googlemail.com>
OskarStark commentedJan 25, 2020
For 3.4 I guess? |
Uh oh!
There was an error while loading.Please reload this page.
reference/constraints/Locale.rst Outdated
| Options - `groups`_ | ||
| - `message`_ | ||
| - `payload`_ | ||
| _ `canonicalize`_ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
@javiereguiluz shall we sort them in alpha order?
javiereguiluz commentedFeb 3, 2020
I remembered that this option was already documented. It was merged here:https://github.com/symfony/symfony-docs/pull/9248/files . So I don't understand how/when it was lost 🤔 |
Co-Authored-By: Oskar Stark <oskarstark@googlemail.com>
OskarStark commentedFeb 5, 2020
@javiereguiluz are you able to finalize this PR? |
wouterj commentedFeb 9, 2020
This option was introduced in 4.1 bysymfony/symfony#26075 as a backwards compatibility layer. In 4.1 setting it to anything different than We then correctly also removed this option from the Symfony 5.0+ docs in To me, it seems perfectly fine that this option is not documented in 5.0 and master. In the 4.4 version of the docs, this option is still visible:https://symfony.com/doc/4.4/reference/constraints/Locale#canonicalize For these reasons, I'm closing this PR. |
Uh oh!
There was an error while loading.Please reload this page.
Add Canonicalize option to Locale Constraint (which was added in Symfony 4.1:https://symfony.com/index.php/blog/new-in-symfony-4-1-validator-improvements)