-
Notifications
You must be signed in to change notification settings - Fork 5
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
ODATA-1506: allow indexing into a collection in a specific order #61
base: v4.02-release-candidate
Are you sure you want to change the base?
ODATA-1506: allow indexing into a collection in a specific order #61
Conversation
@@ -560,11 +560,14 @@ complexColPathExpr = collectionPathExpr | |||
|
|||
collectionPathExpr = count [ OPEN expandCountOption *( SEMI expandCountOption ) CLOSE ] | |||
/ filterExpr [ collectionPathExpr ] | |||
/ OPEN collectionOption *( SEMI collectionOption ) CLOSE [ complexPathExpr ] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since the index
is not mandatory, the complexPathExpr
may come after a collection with more than one entry. Is this OK?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, we have to call that out in the prose specification.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I prefer that over #59.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
This is an alternative to #59 and fixes oasis-tcs/odata-specs#342