-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[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
Conversation
8a4c740
to
21f4e38
Compare
I like it, can you please send a doc PR? 🙏 |
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? |
Not sure myself how/if this should be documented :) |
Yes you should add a |
Thank you @dmaicher. |
…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
…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
This fixes #30366 and adds support for boolean container parameters in route conditions, defaults etc.