Closed MeikelLP closed 2 years ago
Pretty sure you can do that with this library. The following is from one of the sample applications:
Here I got a working repository: https://github.com/MeikelLP/automapper-odata-bug
This happened in 2 projects (private and in-company) and this triggers me now that hard that I created a sample for you :D
Your configuration has not been setup with explicit expansion - that's probably the difference.
So by design I must make all props expandable or else select will not work? Isn't that kind of unintuitive?
I added ExplicitExpansion but it still does not work (repo updated)
So by design I must make all props expandable or else select will not work? Isn't that kind of unintuitive?
PRs are welcome for a different approach.
Issues are really for bugs you've discovered in the library. I would start with the working sample applications or the tests and figure it out from there.
Issues are really for bugs you've discovered in the library. I would start with the working sample applications or the tests and figure it out from there.
Ok, Bug: ExplicitExpansion doesnt do anything
According to the spec $select should work for simple properties, but it does not.
Entities
Query
Expected Result
Actual Result