Skip to content
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

Draft
wants to merge 9 commits into
base: v4.02-release-candidate
Choose a base branch
from

Conversation

ralfhandl
Copy link
Contributor

@ralfhandl ralfhandl commented Jan 19, 2022

This is an alternative to #59 and fixes oasis-tcs/odata-specs#342

@@ -560,11 +560,14 @@ complexColPathExpr = collectionPathExpr

collectionPathExpr = count [ OPEN expandCountOption *( SEMI expandCountOption ) CLOSE ]
/ filterExpr [ collectionPathExpr ]
/ OPEN collectionOption *( SEMI collectionOption ) CLOSE [ complexPathExpr ]
Copy link
Contributor

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?

Copy link
Contributor Author

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.

Copy link
Contributor

@HeikoTheissen HeikoTheissen left a 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.

@ralfhandl ralfhandl changed the base branch from main to v4.02-release-candidate October 27, 2023 09:39
Copy link

@sthagen sthagen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Allow index segments in path expressions
3 participants