We should never externalise internal NDB key values. It doesn't make sense.
GraphQL Nodes IDs are in a _globalid format (a base64 encoded :).
It only makes sense that model properties that expose ids of other objects use the same format.
Otherwise the APIs consumer will have to know when to convert from global_id to key and the opposite.
We should never externalise internal NDB key values. It doesn't make sense. GraphQL Nodes IDs are in a _globalid format (a base64 encoded:).
It only makes sense that model properties that expose ids of other objects use the same format.
Otherwise the APIs consumer will have to know when to convert from global_id to key and the opposite.