Hi,
We are delegating service calls to a remote service as described here:
https://github.com/sap-samples/cloud-cap-samples/blob/main/bookstore/srv/mashup.js
It is working if we navigate straight into the entity, e.g. by following patterns like "/Books(123)/reviews", but we get a local query to the database if we try an expansion like "/Books?$expand=reviews" or if we come into the association from some other association like "/OrderItem/Book/reviews" (does not exist in the sample code, but hope it is clear what I mean anyway)
Would appreciate if we can get some guidance on how to use (and when to not use this):
Thanks in advance for any input or clarification!
//Carl