WebApi
WebApi copied to clipboard
Query option should work on untype scenario
For example:
- $count can't work on query option
a) ~/Customers?$filter=Orders/$count lt 10
b) ~/Customers?$orderby=Orders/$count
- One user want to make sure the following $count related query options can work:
a) http://host/service/Categories?$expand=Products($count=true)&$count=true
b) http://host/service/Categories?$expand=Products($count=true),NavigationProp
erty2($count=true)
Work Item Details
Original CodePlex Issue: Issue 2179 Status: Proposed Reason Closed: Unassigned Assigned to: Unassigned Reported on: Nov 6, 2014 at 1:19 AM Reported by: xuzhg Updated on: Nov 6, 2014 at 1:19 AM Updated by: xuzhg
Is there any update regarding this issue ? I'm trying to do $filter/$expand in a typeless scenario and unable to proceed.
Is this issue with untype scenario has been resolved?
Has this been resolved ?
Currently OData doesnt support this feature. However we are looking to building it, but it hasnt been in to a high priority for the community
Any news?
Any news?
I went through the following article: https://devblogs.microsoft.com/odata/dynamic-properties-container-property-in-odata-client/ It does almost all I need. May be this will be in use to you.
Closing this issue due to inactivity. If this still affects the latest versions of the library, kindly open a new issue.
Adding this to the backlog to be reviewed in the next prioritization cycle. Backlog reference: 1791150
Was this resolved? I am building OData API using a dynamic model which I read from a database as it differs for every client. Tried adding the PageSize limit to the controller and it does not work.