Enum types

Open
#33 2 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Documentation
Clarity
Mostly clear
Activity status
Stale
Tech stack
csharp
Domain
documentation

Research direction

Start by reviewing the tutorial sample described in the issue and the existing OData examples. Determine whether the query using the integer representation of an enum is supported, then document a working enum example and the expected filter behavior so the sample answers this request.

Written by the indexing model from the issue text.

Description

Hello,

thank you for this great writeup on dev.to.

Could you maybe extend the sample of how to use it with enums?

I have a client which I cannot change which makes request like $filter=Type+eq+'0'
where '0' is the int representation of the enum.

Is this possible?

Dominant language
C#
Stars
7
Forks
4
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Similar issues

More C# issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.