kim icon indicating copy to clipboard operation
kim copied to clipboard

Nested mappers cannot access session.parent

Open jackqu7 opened this issue 9 years ago • 1 comments

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)

jackqu7 avatar Mar 08 '16 17:03 jackqu7

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 avatar Oct 09 '17 05:10 mikeywaites