[ 
https://issues.apache.org/jira/browse/OLINGO-1246?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16593800#comment-16593800
 ] 

Ralf Handl commented on OLINGO-1246:
------------------------------------

This is valid, seeĀ [11.2.5 Specifying Properties to 
Return|http://docs.oasis-open.org/odata/odata/v4.01/cs01/part1-protocol/odata-v4.01-cs01-part1-protocol.html#sec_SpecifyingPropertiestoReturn]
{quote}The $select and $expand system query options enable the client to 
specify the set of structural properties and navigation properties to include 
in a response. *{color:#14892c}The service MAY include additional properties 
not specified in $select{color}* and $expand, including properties not defined 
in the metadata document.
{quote}

> OData V4: Fixes for Context url when the URL has select clause and expand 
> clause having select
> ----------------------------------------------------------------------------------------------
>
>                 Key: OLINGO-1246
>                 URL: https://issues.apache.org/jira/browse/OLINGO-1246
>             Project: Olingo
>          Issue Type: Bug
>    Affects Versions: (Java) V4 4.4.0
>            Reporter: Ramya
>            Priority: Major
>
> If url is of the form 
> EntitySetA?$select=NavPropertyToMany&$expand=NavPropertyToMany
> then context url should be of the form 
> #EntitySetA(NavPropertyToMany,NavPropertyToMany())
> If url is of the form 
> EntitySetA?$select=NavPropertyToMany&$expand=NavPropertyToMany($select=Property)
>  then the context url should be of the form
> #EntitySetA(NavPropertyToMany,NavPropertyToMany(Property))
> If url is of the form 
> EntitySetA?$expand=NavPropertyToOne1($expand=NavPropertyToOne2), then the 
> context url should be 
> #EntitySetA(NavPropertyToOne1(NavPropertyToOne2()))
> If url is of the form 
> EntitySetA?$expand=NavPropertyToOne,NavPropertyToMany($select=Property), then 
> context url should be
> #EntitySetA(NavPropertyToOne(),NavPropertyToMany(Property))



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to