Hi,
In order to update a nested predicate you should pass the whole object of B without A.
Your problem was that you pass only the empty links array
You can also use the remove keyword and set A to null like in the following example:
name: "Update delete mutation with variables and null"
gqlmutation: |
mutation updatePost($patch: UpdatePostInput!) {
updatePost(input: $patch) {
post {
postID
}
}
}
gqlvariables: |
{ "patch":
{ "filter": {
"postID": ["0x123", "0x124"]
},
"remove": {
"text": null
}
}
}
Let me know if it works for you,
Or