Importing answer from Fetch node property having space in between without using "expand(_all_)"? · Issue #2530 · dgraph-io/dgraph · GitHub
Just to be sure, your mutation correctly is like this?
{
set {
_:avi <first name> "Avi" .
_:avi <last name> "Jain" .
}
}
I strongly recommend you to use like this
{
set {
_:avi <first_name> "Avi" .
_:avi <last_name> "Jain" .
}
}
Spacing on predicates are not allowed. You will receive an error like this:
while lexing _:avi “Avi” .: Unexpected character ’ ’ while parsing IRI
Cheers