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

Nested mappers cannot access session.parent #99

Open
jackqu7 opened this issue Mar 8, 2016 · 1 comment
Open

Nested mappers cannot access session.parent #99

jackqu7 opened this issue Mar 8, 2016 · 1 comment
Assignees
Projects
Milestone

Comments

@jackqu7
Copy link
Collaborator

jackqu7 commented Mar 8, 2016

session.parent can only be accessed in a collection: field.Collection(field.Nested(SomeMapper))

it will be null in the case of a simple field.Nested(SomeMapper)

@mikeywaites mikeywaites added this to Backlog in Kim Roadmap Apr 13, 2017
@mikeywaites mikeywaites added this to the Release 1.3.0 milestone Oct 9, 2017
@mikeywaites mikeywaites self-assigned this Oct 9, 2017
@mikeywaites
Copy link
Owner

This is required as part of the #114 Feature. We will need to allow Nested to access the parent mapper so that it can find the role being used to marshal the mapper session.

@mikeywaites mikeywaites moved this from Backlog to In-Progress in Kim Roadmap Oct 9, 2017
@mikeywaites mikeywaites removed the triage label Oct 9, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Kim Roadmap
In-Progress
Development

No branches or pull requests

2 participants