Skip to content

fix(metadata): pass stateOptions and map to the GraphQL QueryCollection parent constructor - #8693

Merged
soyuka merged 3 commits into
api-platform:5.0from
Maxcastel:fix/graphql-query-collection-state-options
Oct 16, 2026
Merged

soyuka merged 3 commits into
api-platform:5.0from
Maxcastel:fix/graphql-query-collection-state-options

Conversation

@Maxcastel

Copy link
Copy Markdown
Contributor
Q A
Branch? 5.0
Tickets Related to #7541
License MIT

new QueryCollection(stateOptions: ...) lost its state options: the argument was promoted but not given to the parent constructor, which sets it back to null. It also had no map argument, the other operations got it in #7541. GraphQl\Query already does both.

@soyuka
soyuka merged commit 2b44e5e into api-platform:5.0 Oct 16, 2026
109 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.

2 participants