Open themightylc opened 4 years ago
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?