Skip to content

GraphQL update mutation can incorrectly remove an edge #5355

@MichaelJCompton

Description

@MichaelJCompton

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 (like set: { author: { id: "0x123" } } ) can in some cases erroneously remove the edge if the author is already the author of the post.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/graphqlIssues related to GraphQL support on Dgraph.kind/bugSomething is broken.status/acceptedWe accept to investigate/work on it.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions