Hello,
I do not understand how to use set_json as to indicate in the wiki (https://docs.dgraph.io/mutations/#setting-literal-values).
With Ratel (on HTTP port) I have an error “empty mutation” when using
{“set_json”:
{
“name”: “Alice”
}
}
while
{“set”:
{
“name”: “Alice”
}
}
works!
I wonder if set_json is really supported in 1.0.7. That would explain why the JavaClient which generates set_json syntax too (with a Mutation.newBuilder().setSetJson().build() on gRPC port) answers me “io.grpc.StatusRuntimeException: ABORTED: Transaction has been aborted”
PS: Update: Using JSON to mutate on Dgraph. (cURL, Raw HTTP) examples use set syntax too