Skip to content

fix(symfony): borrow routes only within the same uri template - #8918

Merged
soyuka merged 2 commits into
api-platform:5.0from
soyuka:fix/iri-converter-same-uri-template
Dec 1, 2026
Merged

soyuka merged 2 commits into
api-platform:5.0from
soyuka:fix/iri-converter-same-uri-template

Conversation

@soyuka

@soyuka soyuka commented Dec 1, 2026

Copy link
Copy Markdown
Member
Q A
Branch? 5.0
Tickets ~
License MIT
Doc PR ~

An operation without its own route borrowed any route with the same name, and re-dispatched to the wrong resource class. It now only borrows a route that has the same uri template. The first commit adds coverage for operations sharing a route name.

Extracted from #8868.

An operation without its own route borrowed any route with the same
name and re-dispatched to the wrong resource class.
@soyuka
soyuka merged commit bdf1cab into api-platform:5.0 Dec 1, 2026
115 of 117 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant