Skip to content
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

Use operationName if provided by GraphQLRequest (fixes #81) #203

Merged
merged 2 commits into from
Jan 11, 2023
Merged

Use operationName if provided by GraphQLRequest (fixes #81) #203

merged 2 commits into from
Jan 11, 2023

Conversation

b-eyselein
Copy link

Currently KGraphQL can't handle GraphQL documents with more than one operation unless the operation name is provided as a variable, but usually the operation name - if needed - is provided as a part of the request (see kgraphl-ktor for example).

These changes incorporate this behavior and pass the requested operation name through to the executor.

@jeggy jeggy self-requested a review January 11, 2023 10:04
@jeggy jeggy merged commit 3591a17 into aPureBase:main Jan 11, 2023
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.

None yet

2 participants