Skip to content
This repository has been archived by the owner on Sep 6, 2022. It is now read-only.

Breaking change: ndb KeyProperties should be externalised as Global IDs #16

Merged
merged 4 commits into from
Jun 14, 2016

Conversation

ekampf
Copy link
Collaborator

@ekampf ekampf commented Jun 14, 2016

We should never externalise internal NDB key values. It doesn't make sense.
GraphQL Nodes IDs are in a global_id 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.

@coveralls
Copy link

Coverage Status

Changes Unknown when pulling 3dfa734 on feature/fix_key_property_behavior into * on master*.

@coveralls
Copy link

Coverage Status

Changes Unknown when pulling 05e87d4 on feature/fix_key_property_behavior into * on master*.

@ekampf ekampf merged commit 6a0787e into master Jun 14, 2016
@ekampf ekampf deleted the feature/fix_key_property_behavior branch June 14, 2016 19:41
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants