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

Validate Request Operation Name when Single Operation is Present in the Document #1508

Closed
DimuthuMadushan opened this issue Jun 19, 2021 · 0 comments · Fixed by ballerina-platform/module-ballerina-graphql#299
Assignees
Labels
module/graphql Issues related to Ballerina GraphQL module Priority/High Team/PCM Protocol connector packages related issues Type/Bug

Comments

@DimuthuMadushan
Copy link

Description:
When there is an operation name provided from the request, and single operation is present in the document, provided operation name should validate against the provided document.
For Example;

Consider the Following Document:

query foo {
    bar
}

and the request has operation name baz. This shouldn't be executed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
module/graphql Issues related to Ballerina GraphQL module Priority/High Team/PCM Protocol connector packages related issues Type/Bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants