← Prev in month ← Prev in thread
Next in thread → Next in month →

[OASIS Issue Tracker] (ODATA-1410) $expand: clarify that property *paths* must not appear twice

From
OASIS Issues Tracker <>
Date
2020-11-04T15:40:06+00:00
ID
Thread
[OASIS Issue Tracker] (ODATA-1410) $expand: clarify that property *paths* must not appear twice
Ralf Handl created ODATA-1410:
---------------------------------

             Summary: $expand: clarify that property *paths* must not appear twice
                 Key: ODATA-1410
                 URL: https://issues.oasis-open.org/browse/ODATA-1410
             Project: OASIS Open Data Protocol (OData) TC
          Issue Type: Improvement
          Components: URL Conventions
         Environment: Proposed
            Reporter: Ralf Handl


Current text on $expand in https://docs.oasis-open.org/odata/odata/v4.01/os/part2-url-conventions/odata-v4.01-os-part2-url-conventions.html#sec_SystemQueryOptionexpand says that

{quote}A property MUST NOT appear in more than one expand item.{quote}

This is misleading if e.g. a complex type is used multiple times.

The option {{$expand=billToAddress/country,shipToAddress/country}} should be valid even though the {{country}} navigation property of the {{Address}} complex type appears twice, but within different property paths.



--
This message was sent by Atlassian Jira
(v8.3.3#803004)
← Prev in month ← Prev in thread
Next in thread → Next in month →