Skip to content

fix(state): scope ReadLinkParameterProvider to current Link's class#7943

Open
soyuka wants to merge 1 commit intoapi-platform:mainfrom
soyuka:fix/7939
Open

fix(state): scope ReadLinkParameterProvider to current Link's class#7943
soyuka wants to merge 1 commit intoapi-platform:mainfrom
soyuka:fix/7939

Conversation

@soyuka
Copy link
Copy Markdown
Member

@soyuka soyuka commented May 1, 2026

Q A
Branch? 4.3
Tickets Closes #7939
License MIT
Doc PR

getUriVariables() previously assigned the same scalar to every URI variable of the linked operation, breaking nested resources whose primary Get has multiple URI variables. Resolution now sets only the URI variable matching the current Link's fromClass.

| Q             | A
| ------------- | ---
| Branch?       | 4.3
| Tickets       | Closes api-platform#7939
| License       | MIT
| Doc PR        | ∅

getUriVariables() previously assigned the same scalar to every URI
variable of the linked operation, breaking nested resources whose
primary Get has multiple URI variables. Resolution now sets only the
URI variable matching the current Link's fromClass.
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.

ReadLinkParameterProvider::getUriVariables() populates every URI variable of the linked operation with the same scalar value

1 participant