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

Added/deleted links: "relationship" should be navigation property path

    XMLWordPrintable

    Details

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

      Use

      • relationship – The path to the navigation property on the source object (traversing zero or more complex properties and terminating on a navigation property).

      instead of

      • relationship – The name of the navigation property on the source object

      For ordered collection-valued complex properties use nested representation.

      Show
      Use relationship – The path to the navigation property on the source object (traversing zero or more complex properties and terminating on a navigation property). instead of relationship – The name of the navigation property on the source object For ordered collection-valued complex properties use nested representation.

      Description

      Sections 14.3 and 14.4 define the format for added/deleted links and state that the property "relationship" contains the name of the navigation property that is changed.

      The name alone isn't sufficient for navigation properties nested within complex properties, "relationship" should instead contain the path to the navigation property.

      Collection-valued complex properties with nested navigation properties need special attention.

      Maybe restrict change tracking to ordered collections of complex instances with nested navigation properties, or require "nested delta" format for these in V4.01

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              handl Ralf Handl
            • Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: