Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#216 implement _prepare_for_put for nested entities #217

Closed
wants to merge 3 commits into from
Closed

#216 implement _prepare_for_put for nested entities #217

wants to merge 3 commits into from

Conversation

chmoder
Copy link
Contributor

@chmoder chmoder commented Oct 7, 2019

Nested entities(LocalStructuredProperty, StructuredProperty) with properties that require _prepare_for_put don't get called when put() gets called.

I found that when saving an entity _prepare_for_put gets called. But when a nested property is part of that entity, its' properties don't get "prepared for put". The solution I chose was to extend that functionality to an entities, nested entities

@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Oct 7, 2019
@chmoder chmoder changed the title #216 call prepare for put in nested entities #216 implement _prepare_for_put in nested entities Oct 7, 2019
@chmoder chmoder changed the title #216 implement _prepare_for_put in nested entities #216 implement _prepare_for_put for nested entities Oct 7, 2019
@chrisrossi
Copy link
Contributor

Hi, thanks for taking the time to submit this. Instead of using this, I wound up going back to the original implementation and reused the code from there. See #221

@chrisrossi chrisrossi closed this Oct 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes This human has signed the Contributor License Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants