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

Support property annotation without property value #2785

Closed
xuzhg opened this issue Nov 6, 2023 · 0 comments · Fixed by #2786
Closed

Support property annotation without property value #2785

xuzhg opened this issue Nov 6, 2023 · 0 comments · Fixed by #2786
Assignees
Labels

Comments

@xuzhg
Copy link
Member

xuzhg commented Nov 6, 2023

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

OData spec supports the scenario where there's a property without value but instance annotations. For example:

{
      "age@custom.instance": 123
}

ODL should support:

  1. Can write property instance annotations without value.
  2. Can read property instance annotations without value.
@xuzhg xuzhg self-assigned this Nov 6, 2023
@xuzhg xuzhg added the feature label Nov 6, 2023
xuzhg added a commit that referenced this issue Dec 1, 2023
…lue (#2786)

* fixes #2785: support property instance annotation without property value

* Enable dynamic property without value

* Fixes the failing test cases

* Add the comments

* Add async test cases

* What scenario could be like a property in payload meets:
1) there's not value
2) there's no odata instance annotation
3) There's no custom instance annotation
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant