[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: [OASIS Issue Tracker] (ODATA-1116) Introduce $this for referencing current item in $select/$expand options
Michael Pizzo created ODATA-1116:
------------------------------------
Summary: Introduce $this for referencing current item in $select/$expand options
Key: ODATA-1116
URL: https://issues.oasis-open.org/browse/ODATA-1116
Project: OASIS Open Data Protocol (OData) TC
Issue Type: Bug
Components: ABNF Construction Rules, Protocol, URL Conventions
Affects Versions: V4.01_CSD01
Environment: [Proposed]
Reporter: Michael Pizzo
Fix For: V4.01_CSD02
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.
--
This message was sent by Atlassian JIRA
(v6.2.2#6258)
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]