Skip to content

[Routing] Prevent duplicated methods and schemes in Route #50107

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

Conversation

fancyweb
Copy link
Contributor

@fancyweb fancyweb commented Apr 21, 2023

Q A
Branch? 6.4
Bug fix? no
New feature? no
Deprecations? -
Tickets -
License MIT
Doc PR -

Methods and schemes can be "duplicated" if declared globally on the controller and also on the method. It impacts the debug:router command displaying GET|GET for the methods column for example.

@fancyweb
Copy link
Contributor Author

If you prefer, we can fix this in the command only?

@nicolas-grekas nicolas-grekas modified the milestones: 6.3, 6.4 May 23, 2023
@fancyweb fancyweb force-pushed the routing/fix-minor-route-arr-unique branch from bedc045 to 401f703 Compare May 25, 2023 15:25
Copy link
Member

@nicolas-grekas nicolas-grekas left a comment

Choose a reason for hiding this comment

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

Still GTM. Can you please rebase while waiting for more reviews.

@fancyweb fancyweb force-pushed the routing/fix-minor-route-arr-unique branch from 401f703 to 5923d07 Compare June 29, 2023 07:40
@nicolas-grekas
Copy link
Member

Thank you @fancyweb.

@nicolas-grekas nicolas-grekas merged commit 48e1444 into symfony:6.4 Jun 29, 2023
@fancyweb fancyweb deleted the routing/fix-minor-route-arr-unique branch June 29, 2023 09:15
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.

3 participants