-
Notifications
You must be signed in to change notification settings - Fork 473
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
$count is evaluated prematurely at the call queryOptions.ApplyTo #1
Comments
Checked in 5332139. |
RESTier can call |
VikingsFan
added a commit
to VikingsFan/WebApi
that referenced
this issue
Nov 16, 2015
…eryOptions.ApplyTo
VikingsFan
added a commit
to VikingsFan/WebApi
that referenced
this issue
Nov 17, 2015
…eryOptions.ApplyTo
VikingsFan
added a commit
to VikingsFan/WebApi
that referenced
this issue
Nov 18, 2015
…eryOptions.ApplyTo
Merged 337a8cc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
A query
http://localhost:31181/api/northwind/Products?$count=true
will evaluate the query expression prematurely at the call
queryable = queryOptions.ApplyTo(queryable, settings);
This breaks RESTier, specifically, in DomainControllers.GetQuery method.
Since at that time QuerySourcer has not intervened in, the placeholder class QueryableSource will be queried against, and exception will be thrown.
Call stack:
The text was updated successfully, but these errors were encountered: