← Prev in month ← Prev in thread
Next in thread → Next in month →

[OASIS Issue Tracker] (ODATA-744) 11.2.3: representation of null for single-valued primitive properties

From
OASIS Issues Tracker <>
Date
2014-11-10T15:16:11+00:00
ID
Thread
[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)
← Prev in month ← Prev in thread
Next in thread → Next in month →