[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: [OASIS Issue Tracker] Commented: (ODATA-263) Remove $select=*
[ http://tools.oasis-open.org/issues/browse/ODATA-263?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=32603#action_32603 ] Ralf Handl commented on ODATA-263: ---------------------------------- We already say: - If the selectItem is a star, then all properties and navigation properties on the matching resources MUST be returned. Which was the sentence I wanted to quote above. So ~Customers?$select=* will also return the Orders navigation property. So let's: (A) Decide whether $select=* adds only (data) properties or also navigation properties (B) If the latter (current state of affairs), clean up the JSON spec to match its behavior with the defined expectation of $select=* > Remove $select=* > ---------------- > > Key: ODATA-263 > URL: http://tools.oasis-open.org/issues/browse/ODATA-263 > Project: OASIS Open Data Protocol (OData) TC > Issue Type: Improvement > Components: OData ABNF Construction Rules, OData URL Conventions > Affects Versions: V4.0_WD01 > Environment: [Proposed] > Reporter: Ralf Handl > Fix For: V4.0_WD01 > > > The URL conventions state that > If the selectItem is a star, then all properties and navigation properties on the matching resources MUST be returned. > This conflicts with the JSON format which by default does not return navigation properties and only includes them when odata.metadata=full is requested. > The recent enhancements to $expand which allows nesting e.g. a $select further reduces the need for $select=*, so it's best to remove it altogether. -- 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]