Thank you for contacting us.
The behavior you are experiencing is intended as per the design of the WEB API framework. The $expand
option does not specify another endpoint which should be called bur rather just modifies the behavior of the targeted endpoint. For this reason it is normal that the getAllChilds
endpoint is not called and the getAllParents endpoint is likely called instead.
With this in mind, in order to use a filter for the related Child objects we would recommend trying to modify the behavior of the getAllParents
endpoint to apply the desired filter when it receives the $expand option if this is a viable approach in the architecture of your project.
I hope this helps. If you have further questions feel free to get back to us.
Check out the latest announcement
about Telerik Data Access vNext as a powerful framework
able to solve core development problems.