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

Represent nested deltas as an annotation

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: V4.01_WD01
    • Component/s: JSON Format
    • Labels:
      None
    • Environment:

      [Proposed]

    • Proposal:
      Hide

      Expose nested deltas as a delta representation on the property, rather than through a context url.

      Show
      Expose nested deltas as a delta representation on the property, rather than through a context url.

      Description

      In 4.01 CSD01 we have proposed that a nested collection within a delta payload can be represented either as a replacement of the collection (where omitted values are removed from the collection) or as a delta payload (where only enumerated values are changed, and removed entities are represented as tombstones).

      The way we differentiate between these two is, in the case of a nested delta, by annotating the collection property with a context url specifying a delta:

      "members@contextUrl":"#$delta",
      "members": [ ... ]

      Alternatively, we could just use a delta annotation prefixed with the property name, as in:

      "members@delta": [ ... ]

      Which wouldn't require using the contextUrl annotation to interpret the property.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: