Can the default set of properties change over time?

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major
    • V4.01_CS02
    • Affects Version/s: V4.01_CS01
    • Component/s: Protocol
    • None
    • 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.
    • Show
      https://www.oasis-open.org/committees/download.php/64647/odata-v4.01-wd06-part1-protocol-2019-02-01.docx

      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.

            Assignee:
            Unassigned
            Reporter:
            Michael Pizzo (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: