-
Notifications
You must be signed in to change notification settings - Fork 161
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
Nested $orderby in $select/$expand with built-in/custom function not working #1372
Comments
The correct syntax for this request is That said, we need to improve this error message to indicate what the issue actually is, especially since callers will likely want to surface this as a 4xx to let their client know to fix the syntax. |
I'm getting this exception now:
In this case |
Assemblies affected
ASP.NET Core OData 8.2.4
Describe the bug
When I try using a built-in or custom function in an $orderby expression inside a $select I get the following exception:
Inside an $expand the exception is a bit different:
Reproduce steps
A query like
$select=CollectionProperty($orderby=length(Code))
or$expand=CollectionNavigation($orderby=length(Code))
The text was updated successfully, but these errors were encountered: