StructuredProperty backward compatibility issue #122
Labels
🚨
This issue needs some love.
status: investigating
The issue is under investigation, which is determined to be non-trivial.
triage me
I really want to be triaged.
type: bug
Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
We are porting our py27 GAE project to py37 GAE and replacing built-in services to their gcloud library counterparts.
During writing exploration tests for python-ndb we found that py27 ndb and py37 ndb storing StructuredProperties in different ways.
As we can see in google cloud console datastore viewer py37 python-ndb saving StructuredProperty as single property with embedded entity type .
In py27 ndb StructuredProperty was stored as multiple dot separated properties (one for each StructuredProperty internal model property)
As a result, python-ndb loading existing models without "2.7 ndb stored" StructuredProperties.
Do you plan to make StructuredProperty backward compatible?
The text was updated successfully, but these errors were encountered: