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

Can't provide metadata to correctly parse an odata filter clause #13

Open
Vinss85 opened this issue Feb 24, 2018 · 0 comments
Open

Can't provide metadata to correctly parse an odata filter clause #13

Vinss85 opened this issue Feb 24, 2018 · 0 comments

Comments

@Vinss85
Copy link

Vinss85 commented Feb 24, 2018

Hi,
I'm using 'odata-v4-parser' as a library but i'm missing the possibility to provide a valid metadata context so that when createQuery or createFilter takes place, it could handle nested Odata indentifier correctly.

E.g: 'TypeA/RelatedTypeB/PropertyOfB eq 12) and (TypeA/PropertyOfA eq 'someValue')'

It seemed to me that providing a metadataContext, build with the ServiceMetadata, could do the trick but either I did not create a proper metadata document or I did not understand how to pass it.
Is there anything I could do? Do you have any suggestions on how I could achieve this goal?

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