Skip to content

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

@Vinss85

Description

@Vinss85

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions