[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: [OASIS Issue Tracker] Created: (ODATA-280) Support cast segment in $expand
Support cast segment in $expand
-------------------------------
Key: ODATA-280
URL: http://tools.oasis-open.org/issues/browse/ODATA-280
Project: OASIS Open Data Protocol (OData) TC
Issue Type: Improvement
Components: OData ABNF Construction Rules, OData Protocol , OData URL Conventions
Affects Versions: V4.0_WD01
Environment: [Proposed]
Reporter: Michael Pizzo
Fix For: V4.0_WD01
In ODATA-32 we added the ability to do things like filtered expands. We also support filtering collections by type using a CAST segment, and should do the same for $expanded properties.
For example;
~Employees/hr.Managers?$expand=DirectReports
today returns only those employees that are managers, and their direct reports.
~Employees?$expand=hr.Managers/DirectReports
today returns all employees and, for those employees that are managers, all of their direct reports.
We would also support:
~Employees/hr.Managers?$expand=DirectReports/hr.Managers
to return only employees that were managers, and only those direct reports that were also managers.
and
~Employees?$expand=hr.Managers/DirectReports/hr.Managers
to return all employees and, for each employee that was a manager, only those direct reports that were also managers.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://tools.oasis-open.org/issues/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]