Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OData not working on iOS #1

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

OData not working on iOS #1

dgkanatsios opened this issue May 18, 2016 · 1 comment
Assignees
Labels

Comments

@dgkanatsios
Copy link
Owner

dgkanatsios commented May 18, 2016

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 self-assigned this May 18, 2016
@dgkanatsios
Copy link
Owner Author

Fixed on version 0.0.4

dgkanatsios added a commit that referenced this issue May 21, 2016
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)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant