odata-v4-parser icon indicating copy to clipboard operation
odata-v4-parser copied to clipboard

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

Open Vinss85 opened this issue 7 years ago • 0 comments

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?

Vinss85 avatar Feb 24 '18 18:02 Vinss85