-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
graphql: make updateGQLSchema always return the new schema #5540
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewable status: 0 of 1 files reviewed, 1 unresolved discussion (waiting on @abhimanyusinghgaur, @MichaelJCompton, and @pawanrawal)
graphql/e2e/common/common.go, line 755 at r1 (raw file):
} if addResult.Data.UpdateGQLSchema.GQLSchema.Schema == "" {
Hang on, the result of a schema update can be empty?
Why can that happen?
Isn't that a bug in the updateGQLSchema mutation?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewable status: 0 of 2 files reviewed, 1 unresolved discussion (waiting on @MichaelJCompton and @pawanrawal)
graphql/e2e/common/common.go, line 755 at r1 (raw file):
Previously, MichaelJCompton (Michael Compton) wrote…
Hang on, the result of a schema update can be empty?
Why can that happen?
Isn't that a bug in the updateGQLSchema mutation?
Done.
There was a problem hiding this 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 r2.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @MichaelJCompton)
This PR makes the updateGQLSchema mutation return the updated schema always, instead of relying on async badger update. Fixes #GRAPHQL-497. (cherry-picked from commit 265086f) # Conflicts: # graphql/admin/schema.go
…inc#5540) This PR makes the updateGQLSchema mutation return the updated schema always, instead of relying on async badger update. Fixes #DGRAPH-1606.
This PR makes the
updateGQLSchema
mutation return the updated schema always, instead of relying on badger update.Fixes #DGRAPH-1606.
This change is
Docs Preview: