-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
Add deprecation note on routing class parameters #21824
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
Add deprecation note on routing class parameters #21824
Conversation
Can you also add a note in the Routing component CHANGELOG stating that these parameters are deprecated? And also a note in UPGRADE-3.3.md? Thanks. |
UPGRADE-4.0.md
Outdated
@@ -207,6 +207,16 @@ FrameworkBundle | |||
|
|||
* Extending `ConstraintValidatorFactory` is not supported anymore. | |||
|
|||
* Class parameters in `routing.xml` has been removed |
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.
has
=> have
. Also I think that the place into which parameters were defined does not matter that much for end users. Class parameters related to routing...
, Routing class parameters...
?
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.
👍
is there a way to trigger a deprecation warning (in a late compiler pass maybe) when these parameters are replaced with values different than the default ones ? |
@stof I don't remember doing so when we removed such params in 3.0, did we? Not sure it's really worth it. |
Thank you @lepiaf. |
This PR was merged into the 3.3-dev branch. Discussion ---------- Add deprecation note on routing class parameters | Q | A | ------------- | --- | Branch? | master | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | yes | Tests pass? | yes | Fixed tickets | #21735 | License | MIT | Doc PR | no Create PR with note about deprecation of class parameters. #21739 (comment) Commits ------- 5b0641e Add deprecation note on routing class parameters
Create PR with note about deprecation of class parameters.
#21739 (comment)