OK, so it seems we always need Dgraph typing (<dgraph.type>) in order to be able to map to graphql, right?
In this case the documentation at https://graphql.dgraph.io/dgraph is not correct or @dgraph doesn’t work. Do you think I should submit an issue about it?
I also tried your example, unfortunately I got this error for the upsert:
{
"name": "t",
"url": "http://localhost:8080/mutate?commitNow=true",
"errors": [
{
"message": "Some variables are defined but not used\nDefined:[getValues v]\nUsed:[v]\n",
"extensions": {
"code": "ErrorInvalidRequest"
}
}
]
}
It seems to be related to this issue:
Nevertheless, thanks for your help!