-
Notifications
You must be signed in to change notification settings - Fork 41
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
Problem with open type #211
Comments
"$orderby=Value" - Value is not a member of |
Yes it is. That's the point of open OData types, that you can create dynamic properties. |
Maybe I'm misunderstanding. Try running the query without the If OData shows a Value a field and |
The result is the same with or without Automapper. |
Ok - that node type is not being handled. I think the code you're looking for is here if you're interested in a PR. |
Actually, open types are not supported at all by AutoMapper OData, this is not the only place. You will have also problem during filtering, grouping etc. |
I'm trying to use an open type in my EDM, but I run into a problem when applying queries.
If I do e.g.
http://localhost:52769/api/Tests?$orderby=Value
it results in the following exception:
The text was updated successfully, but these errors were encountered: