[
https://issues.apache.org/jira/browse/OLINGO-1009?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15476847#comment-15476847
]
Ralf Handl commented on OLINGO-1009:
------------------------------------
[~chrisam] $levels=max is optional, see
http://docs.oasis-open.org/odata/odata/v4.0/errata03/os/complete/part1-protocol/odata-v4.0-errata03-os-part1-protocol-complete.html#_Expand_Option_$levels:
Services MAY support the symbolic value max in addition to numeric values.
For collection-valued navigation properties there's an easy trick to stop
expansion: expand an empty collection with a next-link. The next-link simply is
the canonical URL of that navigation property.
Unfortunately no similar trick exists for single-valued navigation properties.
> Provide serilization support for $levels with $expand
> -----------------------------------------------------
>
> Key: OLINGO-1009
> URL: https://issues.apache.org/jira/browse/OLINGO-1009
> Project: Olingo
> Issue Type: New Feature
> Components: odata4-server
> Affects Versions: (Java) V4 4.0.0-beta-01
> Reporter: Ramesh Reddy
> Assignee: Ramesh Reddy
> Fix For: (Java) V4 4.3.0
>
>
> Currently Olingo parses the query with $expand with $levels construct,
> however if the payload contains the nesting of the entities, it does not
> serialize to the defined $levels
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)