GraphQL update mutation can incorrectly remove an edge #5355
Labels
area/graphql
Issues related to GraphQL support on Dgraph.
kind/bug
Something is broken.
status/accepted
We accept to investigate/work on it.
Milestone
Affected versions : 20.03.0 & 20.03.1
A GraphQL update mutation can remove edges that were unintended.
For example, an
updatePost
mutation that contains a set to an author for the post (likeset: { author: { id: "0x123" } }
) can in some cases erroneously remove the edge if the author is already the author of the post.The text was updated successfully, but these errors were encountered: