-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Closed
Labels
area/graphqlIssues related to GraphQL support on Dgraph.Issues related to GraphQL support on Dgraph.investigateRequires further investigationRequires further investigation
Description
What version of Dgraph are you using?
master
Have you tried reproducing the issue with the latest release?
yes
What is the hardware spec (RAM, OS)?
MacBook PRo 2017 16GB
Steps to reproduce the issue (command/config used to run Dgraph).
type Foo {
key: String @id;
bar: Foo;
}
mutation {
addFoo(input: [{key: "key1", bar: {key: "key2}]) {
foo {
key
}
}
}
mutation {
updateFoo(
input: {
filter: { key: { eq: "key1" } }
set: { bar: null }
}
) {
foo {
bar {
key
}
}
}
}
Expected behaviour and actual result.
I would expect this to work by removing an existing edge bar (and the reverse edge if you were doing that too).
It does not.
Metadata
Metadata
Assignees
Labels
area/graphqlIssues related to GraphQL support on Dgraph.Issues related to GraphQL support on Dgraph.investigateRequires further investigationRequires further investigation