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

Define whether $select=* returns only structural properties or also navigation properties

    XMLWordPrintable

    Details

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

      [Applied]

      Description

      The URL conventions state that

      If the selectItem is a star, then all properties and navigation properties on the matching resources MUST be returned.

      This conflicts with the JSON format which by default does not return navigation properties and only includes them when odata.metadata=full is requested.

      The recent enhancements to $expand which allows nesting e.g. a $select further reduces the need for $select=*, so it's best to remove it altogether.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: