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

Expand all containment navigation properties recursively

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: New
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: V4.01_OS
    • Fix Version/s: V5.0
    • Component/s: URL Conventions
    • Labels:
      None
    • Environment:

      Proposed

    • Proposal:
      Hide

      Add a new wildcard that recursively expands all containment navigation properties, for example

      • $expand=+

      Or add a "modifier" to the existing * operator, for example

      • $expand=*contained($levels=max)

      This would allow adding other modifiers in the future.

      Show
      Add a new wildcard that recursively expands all containment navigation properties, for example $expand=+ Or add a "modifier" to the existing * operator, for example $expand=*contained($levels=max) This would allow adding other modifiers in the future.

      Description

      Containment navigation properties are often used to model "structured documents" where each of the "parts" is identifiable within its "container".

      The proposed new expand syntax allows convenient retrieval of complete documents without having to inspect $metadata, and only retrieve the "composition" parts modeled via containment navigation, not the merely "associated" entities that are not contained in the requested entity.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated: