Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[Routing] Exposed "utf8" option, defaults "locale" and "format" in configuration #30508

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
Mar 20, 2019

Conversation

HeahDude
Copy link
Contributor

@HeahDude HeahDude commented Mar 10, 2019

Q A
Branch? master
Bug fix? no
New feature? yes
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets ~
License MIT
Doc PR symfony/symfony-docs#11126

A sibling to #30501, everything is in the title :).

nicolas-grekas
nicolas-grekas previously approved these changes Mar 10, 2019
@HeahDude
Copy link
Contributor Author

I've just added support for annotations too :). Doc is coming.

@fabpot
Copy link
Member

fabpot commented Mar 11, 2019

Why is it useful to expose compiler_class?

@HeahDude
Copy link
Contributor Author

Well, I was not sure, I did it by consistency. I felt like it was hidden and deserved to shine too :), but no hard feeling, if there is no real use case for it let's just keep utf8 which should increase DX (see related doc PR).

@fabpot
Copy link
Member

fabpot commented Mar 11, 2019

I would remove it, that's an internal settings that does not need to be exposed.

@nicolas-grekas nicolas-grekas dismissed their stale review March 13, 2019 15:56

changes requested + rebase needed

Copy link
Member

@fabpot fabpot left a comment

Choose a reason for hiding this comment

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

compiler_classto be removed

@HeahDude
Copy link
Contributor Author

Done, I exposed the defaults instead, WDYT?

Status: needs review

@HeahDude HeahDude changed the title [Routing] Exposed "compiler_class" and "utf8" options in configuration [Routing] Exposed "utf8" option and defaults "locale", "format" and "fragment" in configuration Mar 17, 2019
@HeahDude HeahDude changed the title [Routing] Exposed "utf8" option and defaults "locale", "format" and "fragment" in configuration [Routing] Exposed "utf8" option, defaults "locale" and "format" in configuration Mar 17, 2019
@fabpot
Copy link
Member

fabpot commented Mar 20, 2019

@HeahDude Can you have a look at the broken tests?

@fabpot
Copy link
Member

fabpot commented Mar 20, 2019

Thank you @HeahDude.

@fabpot fabpot merged commit 2911490 into symfony:master Mar 20, 2019
fabpot added a commit that referenced this pull request Mar 20, 2019
… "format" in configuration (Jules Pietri)

This PR was merged into the 4.3-dev branch.

Discussion
----------

[Routing] Exposed "utf8" option, defaults "locale" and "format" in configuration

| Q             | A
| ------------- | ---
| Branch?       | master
| Bug fix?      | no
| New feature?  | yes
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | ~
| License       | MIT
| Doc PR        | symfony/symfony-docs#11126

A sibling to #30501, everything is in the title :).

Commits
-------

2911490 [Routing] Exposed "utf8" option, defaults "locale" and "format" in configuration
@HeahDude HeahDude deleted the routing-utf8 branch March 20, 2019 15:32
javiereguiluz added a commit to symfony/symfony-docs that referenced this pull request Mar 25, 2019
…le" and "format" (Jules Pietri, HeahDude)

This PR was merged into the master branch.

Discussion
----------

[Routing][DX] Exposed "utf8" options, and defaults "locale" and "format"

Documentation for symfony/symfony#30508

Commits
-------

f9e2eaa fixup
f1eae44 added doc for defaults
06a71a9 [Routing][DX] Exposed "compiler_class" and "utf8" options
@nicolas-grekas nicolas-grekas modified the milestones: next, 4.3 Apr 30, 2019
@fabpot fabpot mentioned this pull request May 9, 2019
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