You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I seem to be unable to use a DynamicObject (IExpando, IDynamic) with dynamic members as Expression owner.
At runtime, (property) member foo exits and can be evaluated by .NET, but using it as Expression owner results in
Flee.PublicTypes.ExpressionCompileException IdentifierElement: Could not find a field/property/variable with the name 'foo'
Is this intended? Do I need to wrap the Object and write a member accessor?
The text was updated successfully, but these errors were encountered:
Flee uses reflection and DynamicObject properties are not properties visible by reflection.
You can add variables at runtime to the context, or you can implement a function to access dynamic properties.
I'm facing too the same issue. Extending flee to allow expando objects to be understood as properties would be a very handy feature. A diffferent approach would be to decorate a specific function on the owner where to pass statically the property name as string every time it is not resolved by reflection, so i can calculate the result runtime even without involving any expando object to be pre-filled. Is this project actively maintained ? I would love to collaborate for implementing such a feature.
I seem to be unable to use a DynamicObject (IExpando, IDynamic) with dynamic members as Expression owner.
At runtime, (property) member foo exits and can be evaluated by .NET, but using it as Expression owner results in
Is this intended? Do I need to wrap the Object and write a member accessor?
The text was updated successfully, but these errors were encountered: