OData not working on iOS #1

Closed
dgkanatsios opened this Issue May 18, 2016 · 1 comment

Projects

None yet

1 participant

@dgkanatsios
Owner
dgkanatsios commented May 18, 2016 edited

iOS uses AOT, so it cannot generate dynamic code. Thus, the partial evaluator does not work because it internally uses Reflection.Emit(). Researching on ways to make the below lines work

Delegate compiled = Expression.Lambda(expr).Compile();
object value = compiled.DynamicInvoke();
return Expression.Constant(value, expr.Type);
@dgkanatsios dgkanatsios added the bug label May 18, 2016
@dgkanatsios dgkanatsios self-assigned this May 18, 2016
@dgkanatsios
Owner

Fixed on version 0.0.4

@dgkanatsios dgkanatsios added a commit that referenced this issue May 21, 2016
@dgkanatsios Fix issue 1
Fix for issue 1, where OData parser was not working on iOS due to AOT
restrictions (no allowed use of Reflection.Emit), check
[here](#1)
9f7fe7b
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment