d-p-y/statically-typed-poco-queries

PropertyInfo instance passed to customParameterValueMap is not originating from type used in lambda parameter

Closed this issue · 1 comments

d-p-y commented

Source: asherber's comment in issue 10
Expected: Expression Tree should return ParameterInfo from lambda parameter class
Actual: Expression Tree returns ParameterInfo from abstract class having virtual property

Similarly to issue #10 it seems to be a quirk of Expression Tree.
Address it by extending signature of customParameterValueMap to additionally provide type parameter.

d-p-y commented

released as v1.16.0.0