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

Feature gap: enable untyped for ODataResourceValue and ODataCollectionValue #2994

Open
xuzhg opened this issue Jun 6, 2024 · 0 comments
Open
Assignees

Comments

@xuzhg
Copy link
Member

xuzhg commented Jun 6, 2024

Short summary (3-5 sentences) describing the issue.

Assemblies affected

Which assemblies and versions are known to be affected e.g. OData .Net lib 7.x

Reproduce steps

Supposed we have an instance annotation, whose value is an ODataResourceValue, and its type name is null or 'Edm.Untyped'.

ODataResourceValue resourceValue = new ODataResourceValue {
    TypeName = "Edm.Untyped",
    Properties = ....
};

Supposed we have an instance annotation, whose value is an ODataCollectionValue, and its type name is null or 'Collection(Edm.Untyped)'.

ODataCollectionValue collectionValue = new ODataCollectionValue {
    TypeName = Collection("Edm.Untyped"),
    Items= ....
};

ODL should write those values correctly.

Expected result

ODL should write those values correctly.

Actual result

ODL can't write those values correctly.

Additional detail

Optional, details of the root cause if known. Delete this section if you have no additional details to add.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants