forked from googleapis/python-ndb
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Backwards compatibility with older style structured properties.
When implementing structured properties the first time, I just used Datastore's native embedded entity functionality, not realizing that NDB had originally used dotted property names instead. (Probably GAE Datastore didn't have embedded entities when NDB was originally written.) The problem is that users migrating from GAE NDB can't load entities with structured properties from their existing datastore. This PR makes NDB backwards compatible with older, dotted name style structured properties so that existing repositories still work with the new NDB. Fixes googleapis#122.
- Loading branch information
Chris Rossi
committed
Jun 28, 2019
1 parent
90ee24e
commit da7fa85
Showing
6 changed files
with
353 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.