Skip to content

Are nested queries supported? #275

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

Open
tickingtime1 opened this issue Jun 25, 2020 · 0 comments
Open

Are nested queries supported? #275

tickingtime1 opened this issue Jun 25, 2020 · 0 comments

Comments

@tickingtime1
Copy link

I am not able to make nested queries work (esp $expand and $filter)? Not sure if I am not doing it right or the operations are not supported yet?

GET SERVICE/Shipments?$expand=itinerary($expand=origin)
This only expands itinerary and does not expand origin entity in it.
I have 4-5 levels of nested entities and would like to expand all of them and also apply filters on it. I was wondering how would I achieve that

Also, are 'any', 'all' operators supported?
GET SERVICE/Shipments?$filter=events/any(t:t/status eq 'completed')
This gives a parsing exception "string matching regex '\(\s*' expected but 't' found"

Can anyone please help?

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

No branches or pull requests

1 participant