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

Unable to create filter for Enum value #90

Open
omniavincitlabor opened this issue May 2, 2017 · 2 comments
Open

Unable to create filter for Enum value #90

omniavincitlabor opened this issue May 2, 2017 · 2 comments
Labels

Comments

@omniavincitlabor
Copy link

Hi,

I tried to compose a filter for an enum value, but was not successful.

How do I correctly filter for an enum value?

I tried sth. like:
http://localhost:8080/example.svc/Schools?$filter=type eq 'SECONDARY'
and
http://localhost:8080/example.svc/Schools?$filter=type eq SDL.OData.Example.SchoolType'SECONDARY'
but I always get "The URI contains an incorrectly specified $filter option"

What am I doing wrong?

@iDash
Copy link

iDash commented Sep 19, 2017

Does anybody found a workaround? (except change type to String)

@iDash
Copy link

iDash commented Oct 23, 2017

@vinayknl may I ask you to add bug label to this issue?
Seems, this is one of major limitation of using SDL.

@ben-gineer ben-gineer added the bug label Oct 23, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants