You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@olingo.apache.org by Jérôme BAROTIN <je...@gmail.com> on 2019/08/02 07:35:27 UTC

Fwd: Nested select in expand with olingo/ODATA4

No answer on user for this question, maybee on dev, there somebody ?

---------- Forwarded message ---------

Hi Everyone,

I'd like to implement such kind of request in my odata service:
http://myservice/Products?$expand=Categories($select=ID,Name,Type)

If we consider the example provided in the odata source :
https://github.com/apache/olingo-odata4/tree/master/samples/tutorials/p0_all,
we can see a "validateNestedExpxandSystemQueryOptions" method in the file
https://github.com/apache/olingo-odata4/blob/master/samples/tutorials/p0_all/src/main/java/myservice/mynamespace/service/DemoEntityCollectionProcessor.java
that throw a Exception with the following text : "Nested expand system
query options are not implemented".

Have you got any idea, how should I change code of
DemoEntityCollectionProcessor.java to handle this kind of query ?

-- 
Jérôme


-- 
Jérôme BAROTIN