OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

odata message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: [OASIS Issue Tracker] (ODATA-1251) Should annotated null/default values be omitted/restored?


Michael Pizzo created ODATA-1251:
------------------------------------

             Summary: Should annotated null/default values be omitted/restored?
                 Key: ODATA-1251
                 URL: https://issues.oasis-open.org/browse/ODATA-1251
             Project: OASIS Open Data Protocol (OData) TC
          Issue Type: Bug
          Components: Protocol
    Affects Versions: V4.01_CS01
         Environment: [Proposed]
            Reporter: Michael Pizzo
             Fix For: V4.01_CS02


In ODATA-818 we added the ability to omit null or default values based on a preference request header. If this preference was specified in the preference-applied response header, the client could assume that any missing properties had the null/default value.

We had to call out certain cases in which nulls/defaults could not be omitted, such as delta and request payloads.

We did not specify, though, if a property has annotations, but default/null value, whether it could be omitted.  Indeed, in many cases the annotation may be describing *why* the property was value was omitted, and restoring it to a null/default may violate the intention of annotating the value as being missing.




--
This message was sent by Atlassian JIRA
(v7.7.2#77003)


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]