Open
Description
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:
const FlightEsTC = composeWithElastic({
graphqlTypeName: 'fl',
elasticIndex: 'kibana_sample_data_flights',
elasticType: '_doc',
elasticMapping: ecommerceMapping,
elasticClient: elasticClient,
schemaComposer: schemaComposer
});
And You wanna add relays to internal sub query:
let EcommerceecommerceGeoipTC = schemaComposer.getOTC('ecommerceecommerceGeoip');
schemaComposer.getOTC('ecommerceecommerce').addFields({
geoipConnection: composeWithRelay(EcommerceecommerceGeoipTC)
How can we do this?
Metadata
Metadata
Assignees
Labels
No labels