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-1116) Introduce $this for referencing current item in $select/$expand options


     [ https://issues.oasis-open.org/browse/ODATA-1116?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ralf Handl updated ODATA-1116:
------------------------------

    Resolution: 
https://tools.oasis-open.org/version-control/browse/wsvn/odata/trunk/4.01%20spec/ABNF/odata-abnf-construction-rules.txt?op=diff&rev=1092
https://tools.oasis-open.org/version-control/browse/wsvn/odata/trunk/4.01%20spec/ABNF/odata-abnf-testcases.xml?op=diff&rev=1092

https://tools.oasis-open.org/version-control/browse/wsvn/odata/trunk/4.01%20spec/ABNF/odata-abnf-construction-rules.txt?op=diff&rev=1093
https://tools.oasis-open.org/version-control/browse/wsvn/odata/trunk/4.01%20spec/ABNF/odata-abnf-testcases.xml?op=diff&rev=1093

  was:
https://tools.oasis-open.org/version-control/browse/wsvn/odata/trunk/4.01%20spec/ABNF/odata-abnf-construction-rules.txt?op=diff&rev=1092
https://tools.oasis-open.org/version-control/browse/wsvn/odata/trunk/4.01%20spec/ABNF/odata-abnf-testcases.xml?op=diff&rev=1092


> 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, URL Conventions
>    Affects Versions: V4.01_CSD02
>         Environment: [Proposed]
>            Reporter: Michael Pizzo
>             Fix For: V4.01_CS01
>
>
> 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]