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

Add $expand=*, $expand=*/$ref, $expand=*($levels=...) for expanding all navigation properties

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: V4.0_CSD01
    • Fix Version/s: V4.0_CSD02
    • Component/s: URL Conventions
    • Labels:
      None
    • Environment:

      [Applied]

      Description

      $select=* allows selecting all structural properties, including dynamic structural properties.
      $expand=* would allow expanding all navigation properties, including dynamic navigation properties.

      This is a not only a convenient shortcut, it also covers cases where metadata inspection wouldn't help: dynamic navigation properties.

      In combination with the suffix /$ref this includes entity references for all related entities.

      In combination with the $level operator this allows expanding an entity graph in all directions up to the given distance to the central entity.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: