dgraph icon indicating copy to clipboard operation
dgraph copied to clipboard

Use id at root to specify XID or UID at root

Open ashwin95r opened this issue 9 years ago • 1 comments

Currently we follow this pattern in queries to start with XID/UID

{
 me(_uid_:0x1) { 
  name 
 } 
}

We'd like to switch to using id: instead

{
 me(id:0x1) { 
  name 
 } 
}

Where id can be an XID or UID.

ashwin95r avatar Jan 02 '17 03:01 ashwin95r

Addressed in de5bf8f9d6d172019442c91e174e36dc55fd724b.

ashwin95r avatar Jan 10 '17 23:01 ashwin95r