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-1493) OData-URL 5.1.1.15 does not explain example 106


Heiko Theissen created ODATA-1493:
-------------------------------------

             Summary: OData-URL 5.1.1.15 does not explain example 106
                 Key: ODATA-1493
                 URL: https://issues.oasis-open.org/browse/ODATA-1493
             Project: OASIS Open Data Protocol (OData) TC
          Issue Type: Bug
          Components: URL Conventions
         Environment: Proposed
            Reporter: Heiko Theissen


Example 106 in [OData-URL|https://docs.oasis-open.org/odata/odata/v4.01/os/part2-url-conventions/odata-v4.01-os-part2-url-conventions.html#sec_it]
{code}
http://host/service/Customers?$expand=Orders($filter=$it/Address/City eq ShipTo/City)
{code}
uses the navigation property {{ShipTo}} of the {{Orders}} navigation target. According to section 5.1.1.15, however, {{ShipTo}} should be equivalent to {{$it/ShipTo}}, a property of the addressed resource {{Customers}}:
{quote}
Properties and navigation properties of the entity type of the set of resources that are addressed by the request URL can be used as operands or function parameters, as shown in the preceding examples.
{quote}



--
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]