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): Linking of xids for deep mutations (#6172) #6203

Merged
merged 2 commits into from Aug 17, 2020

Conversation

pawanrawal
Copy link
Contributor

@pawanrawal pawanrawal commented Aug 17, 2020

For nested add mutations, the linking of nodes for xids wasn't working properly. Level 1 and 2 are linked properly but level 2 and beyond were not. This PR aims to fix that.
See https://discuss.dgraph.io/t/grandchild-is-not-attached-to-child-when-using-addtype/9224 for more details.

(cherry picked from commit 806a8df)


This change is Reviewable

Docs Preview: Dgraph Preview

For nested add mutations, the linking of nodes for xids wasn't working properly. Level 1 and 2 are linked properly but level 2 and beyond were not. This PR aims to fix that.
See https://discuss.dgraph.io/t/grandchild-is-not-attached-to-child-when-using-addtype/9224 for more details.

(cherry picked from commit 806a8df)
@github-actions github-actions bot added the area/graphql Issues related to GraphQL support on Dgraph. label Aug 17, 2020
Copy link
Contributor

@abhimanyusinghgaur abhimanyusinghgaur left a comment

Choose a reason for hiding this comment

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

:lgtm:

Reviewable status: 0 of 3 files reviewed, all discussions resolved (waiting on @MichaelJCompton)

@pawanrawal pawanrawal merged commit 68bd450 into release/v20.07 Aug 17, 2020
@pawanrawal pawanrawal deleted the pawanrawal/cp-deep-xid-bug branch August 17, 2020 18:16
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.

None yet

2 participants