OData-URL 5.1.1.15 does not explain example 106 in 5.1.1.14.4

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major
    • V4.01_ERRATA01
    • Affects Version/s: V4.01_OS
    • Component/s: URL Conventions
    • None
    • Hide

      Rephrase section 5.1.1.15:

      Properties and navigation properties of the structured type on which a common expression is evaluated can be used as operands or function parameters, as shown in the preceding examples.

      Add note to 5.1.1.14.6 that example could use $this/ShipTo/City, which would be equivalent and longer.

      Show
      Rephrase section 5.1.1.15: Properties and navigation properties of the structured type on which a common expression is evaluated can be used as operands or function parameters, as shown in the preceding examples. Add note to 5.1.1.14.6 that example could use $this/ShipTo/City , which would be equivalent and longer.
    • Show
      https://github.com/oasis-tcs/odata-specs/pull/144

      Example 106 in OData-URL

      http://host/service/Customers?$expand=Orders($filter=$it/Address/City eq ShipTo/City)
      

      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:

      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.

            Assignee:
            handl
            Reporter:
            heiko.theissen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: