[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: [OASIS Issue Tracker] (ODATA-744) 11.2.3: representation of null for single-valued primitive properties
Ralf Handl created ODATA-744:
--------------------------------
Summary: 11.2.3: representation of null for single-valued primitive properties
Key: ODATA-744
URL: https://issues.oasis-open.org/browse/ODATA-744
Project: OASIS Open Data Protocol (OData) TC
Issue Type: Bug
Components: OData Protocol
Affects Versions: V4.0_ERRATA02
Reporter: Ralf Handl
Fix For: V4.0_ERRATA03
Section 11.2.3 states that
"If the property is single-valued and has the null value, the service responds with 204 No Content."
This is understandable for complex properties, but somewhat odd for primitive properties as the obvious representation for a null value would be
{
"@odata.context":"$metadata#SomeThings(1)/SomeProperty",
"value":null
}
The benefit of this representation is that it may contain instance annotations for the property.
--
This message was sent by Atlassian JIRA
(v6.2.2#6258)
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]