Skip to content

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

Open
Maxcastel wants to merge 3 commits into
api-platform:5.0from
Maxcastel:fix/graphql-query-collection-state-options
Open

Maxcastel wants to merge 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.

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