I am using Dgraph version v20.07.0. In previous versions when I wanted to delete a node, I had to set the edges to null then delete the node, like this:
{
"delete" : [
{
"uid":"0x18",
"networks":null,
"policies":null,
"reaches":null,
"runs":null,
"sources":null,
"tags":null
},
{
"uid":"0x18"
}
]
}
It appears now, that I only have to delete the node and I do not have to set each of the edges to null.
{
"delete":[
{
"uid":"0x18"
}
]
}
Has something changed or did I misunderstand how to delete nodes?