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

Explicitly disallow existing nested items in Deep Insert

    XMLWordPrintable

    Details

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

      [Proposed]

      Description

      In OData-666 we deprecated @odata.bind in favor of just using references in the related collection. This allows us to create a new entity that either creates nested entities (if the entire resource is new) or relates to existing entities (by providing just the reference).

      We should be clear that it is an error to include the content of an existing resource (not just its reference) in a POST.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: