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-1105) Simplify selection of properties of complex type


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

Michael Pizzo updated ODATA-1105:
---------------------------------

    Description: 
Currently, properties of complex types are individually selected, as in:
$select=Name,Address/City,Address/State,Address/Zip

We could simplify the syntax for selecting individual properties of a complex type, similar to expand options.  Something like:
$select=Name, Address($select=City,State,Zip)
or
$select=Name, Address(City,State,Zip)

The first syntax would support adding the ability, for example, to $filter or $sort a collection of complex types.

We could put $compute (or an inline expression) in the $select in as a scoped value (couldn't be used in filter/sort).

Putting $expand in $select brings in all the issues of combining $expand and $select and results in two ways of doing expand.  

  was:
Currently, properties of complex types are individually selected, as in:
$select=Name,Address/City,Address/State,Address/Zip

We could simplify the syntax for selecting individual properties of a complex type, similar to expand options.  Something like:
$select=Name, Address($select=City,State,Zip)
or
$select=Name, Address(City,State,Zip)

The first syntax would support adding the ability, for example, to $filter or $sort a collection of complex types.


> Simplify selection of properties of complex type
> ------------------------------------------------
>
>                 Key: ODATA-1105
>                 URL: https://issues.oasis-open.org/browse/ODATA-1105
>             Project: OASIS Open Data Protocol (OData) TC
>          Issue Type: Bug
>          Components: URL Conventions
>    Affects Versions: V4.01_CSD02
>            Reporter: Michael Pizzo
>             Fix For: V4.01_CS01
>
>
> Currently, properties of complex types are individually selected, as in:
> $select=Name,Address/City,Address/State,Address/Zip
> We could simplify the syntax for selecting individual properties of a complex type, similar to expand options.  Something like:
> $select=Name, Address($select=City,State,Zip)
> or
> $select=Name, Address(City,State,Zip)
> The first syntax would support adding the ability, for example, to $filter or $sort a collection of complex types.
> We could put $compute (or an inline expression) in the $select in as a scoped value (couldn't be used in filter/sort).
> Putting $expand in $select brings in all the issues of combining $expand and $select and results in two ways of doing expand.  



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