Uploaded image for project: 'OASIS Open Data Protocol (OData) TC'
  1. OASIS Open Data Protocol (OData) TC
  2. ODATA-1621

Clarify annotations on unavailable properties

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: New
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: V4.01_OS
    • Fix Version/s: V4.02
    • Component/s: Protocol
    • Labels:
      None
    • Proposal:
      Hide

      Mandate instance annotations for unavailable properties in all cases where the omit-values preference is applied.

      Show
      Mandate instance annotations for unavailable properties in all cases where the omit-values preference is applied.

      Description

      OData-Protocol, section 11.2.2 states

      Properties that are not available, for example due to permissions, are not returned. In this case, the Core.Permissions annotation, defined in OData-VocCore MUST be returned for the property with a value of None.

      In this case refers to the case of missing permissions. Properties that are unavailable for some other reason must also have their omission explained by an annotation, lest the client wrongly assumes null or default values for them.

        Attachments

          Activity

            People

            • Assignee:
              heiko.theissen Heiko Theissen
              Reporter:
              heiko.theissen Heiko Theissen
            • Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: