Introduce $this for referencing current item in $select/$expand options

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major
    • V4.01_CSD03
    • Affects Version/s: V4.01_CSD02
    • Component/s: ABNF, URL Conventions
    • None
    • Environment:

      [Proposed]

      In OData-1105 we introduced $select options which enabled filtering a collection of structural properties. Where the collection is a collection of complex types, you can now do something like:

      Customers?$select=Addresses($filter=City eq 'Paris')

      However, we don't have a way to filter primitive types.

      We also don't have a way, in $select or $expand, to pass the current item into a function without binding the function to the type of the current item.

      We already have $it that references the resource identified by the last segment of the resource path, but in this case we want to reference the property on which the select/expand options are specified.

            Assignee:
            Unassigned
            Reporter:
            Michael Pizzo (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: