The complete example in the Go docs assigns
Uid but does not explain what
"alice" is. Because it’s later used as a key to retrieve the
uid value from
assigned.Uids I assume it’s arbitrary and meant to be used only for that purpose. The problem is, even though
fmt.Println(assigned.Uids) indeed returns a populated map,
assigned.Uids["alice"] comes up empty.
The mutation goes through and I can see the new entry in the database.
I have learned
"_:<identifier>" is a facet, but I’m still not sure why it doesn’t function as expected.