I’m deleting nodes using the following upsert in pydgraph client:
query = """query delete($id: string) {
delete(func: uid($id)) @recurse @normalize {
all_uids as uid
Folder.folders
Folder.journeys
}
}"""
variables = { '$id': id }
nquad = """
uid(all_uids) * * .
"""
It works well and all the nodes attributes are deleted, apart from the actual uids. This means that when I run a query the uids I just deleted are still showing up, which is causing GraphQL errors as required attributes are absent. How do I also delete the UIDS?