Skip to content

[FrameworkBundle][Routing] allow boolean container parameters for routes #30379

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 4, 2019

Conversation

dmaicher
Copy link
Contributor

@dmaicher dmaicher commented Feb 25, 2019

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

This fixes #30366 and adds support for boolean container parameters in route conditions, defaults etc.

@OskarStark
Copy link
Contributor

I like it, can you please send a doc PR? 🙏

@dmaicher
Copy link
Contributor Author

I like it, can you please send a doc PR? pray

sure 👍 wondering what exactly to add there 😄

https://symfony.com/doc/master/routing/service_container_parameters.html

Should it be one of those "NEW... since Symfony 4.3 you can also use boolean parameters" box?

@nicolas-grekas
Copy link
Member

Not sure myself how/if this should be documented :)

@OskarStark
Copy link
Contributor

Yes you should add a .. versionadded:: 4.3 directive 👍

@fabpot
Copy link
Member

fabpot commented Mar 4, 2019

Thank you @dmaicher.

@fabpot fabpot merged commit 21f4e38 into symfony:master Mar 4, 2019
fabpot added a commit that referenced this pull request Mar 4, 2019
…ameters for routes (dmaicher)

This PR was merged into the 4.3-dev branch.

Discussion
----------

[FrameworkBundle][Routing] allow boolean container parameters for routes

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

This fixes #30366 and adds support for boolean container parameters in route conditions, defaults etc.

Commits
-------

21f4e38 [FrameworkBundle][Routing] allow boolean container parameters for routes
javiereguiluz added a commit to symfony/symfony-docs that referenced this pull request Mar 15, 2019
…eters for routes (dmaicher)

This PR was merged into the master branch.

Discussion
----------

[FrameworkBundle][Routing] allow boolean container parameters for routes

See symfony/symfony#30379

Commits
-------

d89122c Update service_container_parameters.rst
@fabpot fabpot mentioned this pull request May 9, 2019
@dmaicher dmaicher deleted the issue-30366 branch January 29, 2021 21:53
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.

Support boolean parameters in Route condition
5 participants