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

null result with instance annotations #2019

Open
wants to merge 8 commits into
base: main
Choose a base branch
from
Open

Conversation

HeikoTheissen
Copy link
Contributor

Fixes #2018

`null` value does not have a representation provided that it carries no
[control information](#ControlInformation) other than
[`context`](#ControlInformationcontextodatacontext)
and no [instance annotations](#InstanceAnnotations); see [OData-Protocol](#ODataProtocol).
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you want to change something in Protocol to reflect this?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To be done later, once the changes to [OData-JSON] are agreed upon.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have now moved almost all changes to [OData-Protocol]. And that's where it belongs, I now see.

odata-json-format/10 Media Entity.md Outdated Show resolved Hide resolved
odata-json-format/10 Media Entity.md Outdated Show resolved Hide resolved
@@ -37,15 +37,15 @@ A single-valued property or operation response that has the
[OData-Protocol](#ODataProtocol).

A property or operation response that is of a primitive type is
represented as an object with a single name/value pair, whose name is
represented as an object with a name/value pair whose name is
Copy link
Contributor Author

@HeikoTheissen HeikoTheissen Oct 25, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Deleted "single", because the JSON object can also contain control information and instance annotations (as demonstrated by example 26).

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

Successfully merging this pull request may close these issues.

Instance annotations and control information for a null result
2 participants