OData / OData/AspNetCoreOData

Do we support the query option on property whose type is 'Edm.Untyped' or 'Collection(Edm.Untyped)'

Open
#916 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C#
Stars
505
Forks
186
PR merge metrics
No merged PRs in 30d

Description

Suppose we have a property whose type could be 'Edm.Untyped', or 'Collection(Edm.Untyped)'

Can we support the query option on such property?

~/people/1/data?$select=name

What will happen:

  1. If the value of 'data' is non-resource?
  2. If the value of 'data' is resource?

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.

Research direction

Start by reproducing ~/people/1/data?$select=name with a property typed as Edm.Untyped and then as Collection(Edm.Untyped). Investigate the expected query behavior separately when data is a non-resource and when it is a resource. Done means the supported behavior and resulting responses are defined for both cases.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
api, backend-api-design
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.