Replying here, because I felt it’s more relevant vs making a new topic.
Assuming both UIDs are present, is there a way to add an edge between 2 nodes in a similar manner to the v0.8 and earlier versions, where only the UIDs need to be known, vs having to fetch the entire structs of both nodes to populate the mu.SetJSON request?
personNode := g.DgraphClient.NodeUid( newPersonNodeUid )
personHouseholdNode := g.DgraphClient.NodeUid( req.Person.Householduid )
newEdgeCursor := personNode.ConnectTo(
In the new JSON-based mutations, I would need to fetch both the contents of the Person and Household Entities to populate the JSON request, which might take another query.