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(export): don't return an error if there was no GraphQL schema #6815

Merged
merged 2 commits into from
Nov 3, 2020

Conversation

abhimanyusinghgaur
Copy link
Contributor

@abhimanyusinghgaur abhimanyusinghgaur commented Oct 30, 2020

FIxes GRAPHQL-747
Fixes Discuss Issue
This PR fixes the issue where you would get an error, if you first add a GraphQL schema, then delete the GraphQL schema using <uid> * * delete mutation and try to export the DB.


This change is Reviewable

@github-actions github-actions bot added the area/graphql Issues related to GraphQL support on Dgraph. label Oct 30, 2020
Copy link
Contributor

@pawanrawal pawanrawal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed 2 of 2 files at r1.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @manishrjain, @MichaelJCompton, and @vvbalaji-dgraph)

@abhimanyusinghgaur abhimanyusinghgaur merged commit 23c75c9 into master Nov 3, 2020
@abhimanyusinghgaur abhimanyusinghgaur deleted the abhimanyu/export-issue branch November 3, 2020 10:47
danielmai pushed a commit that referenced this pull request Mar 26, 2021
Cherry-pick of #6815.

FIxes GRAPHQL-747
Fixes [Discuss Issue](https://discuss.dgraph.io/t/multiple-values-for-the-graphql-schema/10881)
This PR fixes the issue where you would get an error, if you first add a GraphQL schema, then delete the GraphQL schema using `<uid> * *` delete mutation and try to export the DB.
danielmai pushed a commit that referenced this pull request Mar 26, 2021
Cherry-pick of #6815.

FIxes GRAPHQL-747
Fixes [Discuss Issue](https://discuss.dgraph.io/t/multiple-values-for-the-graphql-schema/10881)
This PR fixes the issue where you would get an error, if you first add a GraphQL schema, then delete the GraphQL schema using `<uid> * *` delete mutation and try to export the DB.
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.

3 participants