OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

odata message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: [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)


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]