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] Commented: (ODATA-263) Remove $select=*


    [ http://tools.oasis-open.org/issues/browse/ODATA-263?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=32597#action_32597 ] 

Michael Pizzo commented on ODATA-263:
-------------------------------------

The thing we lose by dropping select=* is an easy way to select all properties of a type (including open properties) but exclude navigation properties and actions/functions.

> 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]