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

fix(graphQL): Validate subscriptions in Operation function (#5926) #5983

Merged
merged 1 commit into from
Jul 14, 2020

Conversation

pawanrawal
Copy link
Contributor

@pawanrawal pawanrawal commented Jul 14, 2020

We realised that as a result of b40c632, introspection queries started failing in Insomnia because subscription didn't exist in the types. Instead of adding more hacks there, we add validation for this inside Operation. We already do something similar for Queries/Mutations.

(cherry picked from commit e33850e)


This change is Reviewable

Docs Preview: Dgraph Preview

We realised that as a result of b40c632, introspection queries started failing in Insomnia because subscription didn't exist in the types. Instead of adding more hacks there, we add validation for this inside Operation. We already do something similar for Queries/Mutations.

(cherry picked from commit e33850e)
@pawanrawal pawanrawal changed the title Validate subscriptions in Operation function (#5926) fix(graphQL): Validate subscriptions in Operation function (#5926) Jul 14, 2020
@github-actions github-actions bot added the area/graphql Issues related to GraphQL support on Dgraph. label Jul 14, 2020
@parasssh parasssh merged commit 838c677 into release/v20.07 Jul 14, 2020
@parasssh
Copy link
Contributor

Please add the JIRA ticket in the description.

@pawanrawal pawanrawal deleted the pawanrawal/cherrypick-5926 branch July 31, 2020 08:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/graphql Issues related to GraphQL support on Dgraph.
Development

Successfully merging this pull request may close these issues.

2 participants