Open amarflybot opened 4 years ago
You need to use composeWithRelay(EcommerceecommerceGeoipTC).getReolver('...').wrapResolve()
.
And inside wrapper get entity id from source
and pass them as some arg
to the elastic resolver.
Please search issues about wrapResolve
in graphql-compose repo. Also it may be usefult to use addRelation
method which does this and also may remove args from resolver.
When you'll be done, please post here a working solution for further googlers.
Tnx.
Hi @nodkz , Do you have a way to support relay/connection for internal or nested data?
So lets say you have a root defined by:
And You wanna add relays to internal sub query:
How can we do this?