[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: [OASIS Issue Tracker] (ODATA-1506) Allow index segments in path expressions
Ralf Handl created ODATA-1506: --------------------------------- Summary: Allow index segments in path expressions Key: ODATA-1506 URL: https://issues.oasis-open.org/browse/ODATA-1506 Project: OASIS Open Data Protocol (OData) TC Issue Type: New Feature Components: ABNF, URL Conventions Affects Versions: V4.01_OS Environment: Proposed Reporter: Ralf Handl Fix For: V4.02_WD01 OData already allows numeric index segments for ordered collections in the path part of the URL, see ODATA-820. Allow this also inÂ[Path Expressions|https://docs.oasis-open.org/odata/odata/v4.01/os/part2-url-conventions/odata-v4.01-os-part2-url-conventions.html#sec_PathExpressions]: {code:java} GET Entries?$expand=components($orderby=name))&$orderby=components/0/name {code} Note: the index in {{$orderby}} is evaluated on the implicit server-defined order of the {{components}} as {{$orderby}} has to be evaluated _before_ {{$expand}}. This is somewhat counter-intuitive. -- 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]