We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The payload could be:
{ "@odata.context": ...., "Id":1, .... "[email protected]": 5 }
The above scenario is valid, then it should be valid to do the same thing to non-navigation property. So, Need to support:
{ "@odata.context": ...., "[email protected]": 5 }
Be noted, from OData ABNF (Part):
select = ( "$select" / "select" ) EQ selectItem *( COMMA selectItem ) selectItem = STAR / allOperationsInSchema / [ ( qualifiedEntityTypeName / qualifiedComplexTypeName ) "/" ] ( selectProperty / qualifiedActionName / qualifiedFunctionName ) selectProperty = primitiveProperty / primitiveColProperty [ OPEN selectOptionPC *( SEMI selectOptionPC ) CLOSE ] / navigationProperty / selectPath [ OPEN selectOption *( SEMI selectOption ) CLOSE / "/" selectProperty ] propertyPath = entityColNavigationProperty [ collectionNavigation ] / entityNavigationProperty [ singleNavigation ] / complexColProperty [ complexColPath ] / complexProperty [ complexPath ] / primitiveColProperty [ primitiveColPath ] / primitiveProperty [ primitivePath ] / streamProperty [ boundOperation ] primitiveColPath = count / boundOperation / ordinalIndex
The text was updated successfully, but these errors were encountered:
However, from OData ABNF, we can see the difference between $expand and $select
For $expand, it explicitly mentions "/$count" after the expand path, but, there's no such "$count" after the select path?
Sorry, something went wrong.
Fixes #3174: Enable $select=colProperty/$count query option parser
f21c86e
xuzhg
Successfully merging a pull request may close this issue.
1.
/$count
can append to collection navigation property within $expandThe payload could be:
The above scenario is valid, then it should be valid to do the same thing to non-navigation property.
So, Need to support:
2.
/$count
can append to primitive/complex collection property within $selectThe payload could be:
Be noted, from OData ABNF (Part):
The text was updated successfully, but these errors were encountered: