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

Can the default set of properties change over time?

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: V4.01_CS01
    • Fix Version/s: V4.01_CS02
    • Component/s: Protocol
    • Labels:
      None
    • Proposal:
      Hide

      Absent $select, the service is allowed to change the default set of properties returned. This includes returning new properties by default and omitting properties previously returned by default.

      Clients that rely on specific properties in the response MUST use $select, with the required properties or with "*", to ensure that properties are not omitted from the response.

      Show
      Absent $select, the service is allowed to change the default set of properties returned. This includes returning new properties by default and omitting properties previously returned by default. Clients that rely on specific properties in the response MUST use $select, with the required properties or with "*", to ensure that properties are not omitted from the response.
    • Resolution:
      Show
      https://www.oasis-open.org/committees/download.php/64647/odata-v4.01-wd06-part1-protocol-2019-02-01.docx

      Description

      Absent a $select, services are allowed to return a service-specific default set of properties.

      Can that service-specific default set of properties change over time?

      Adding new properties should be allowed, but what about removing properties from the default list. Unless we explicitly call out that services can remove properties from the default set, we could break apps that were expecting the same set of properties on each request.

      However, if an app is expecting certain properties then they should be using $select to ensure they get those properties.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              mikep Michael Pizzo
            • Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: