One more example:
curl -H "Content-Type: application/json" -X POST localhost:8080/mutate?commitNow=true -d '
{
"query": "{ v as var(func:type(Company) ) {p as projects {uid} n as name}}",
"set": {
"uid": "uid(v)",
"new_projects": "val(p)",
"new_name": "val(n)"
}
}
new_name gets set correctly, new_projects - does not. Is this unsupported for preditates of type [uid] ?