Bugs or missuse - Attaching new node from previous query var uid

Thank you Pawan.

Yes, I had a mistake in “graph_name” it is “graph” :slight_smile: . Despite of that the bug remains.
But to be honest it doesn’t seems to be a “recurse error”, the thing is that I found a work around by repeating the first func filter in the “@filter” section. So, if I add a node like this:

{
  root as var(func:eq(name, "root"))@filter(eq(graph,"graph1") and eq(name,"root"))
}

mutation{
  set{
    uid(root) <link> _:node .
    _:node <name> "node1" .
    _:node <graph> "graph1" .
  }
}

The extra loop in the new node goes away and also any other extra link that used to appear using the past query (it used to return all the nodes in “graph1” instead of returning only the one with the “root” name, like if it was ignoring the first “func filter”).