UNPKG

@graphql-mesh/transport-odata

Version:
12 lines (11 loc) 357 B
import { createDefaultExecutor } from '@graphql-mesh/transport-common'; import { processDirectives } from '@omnigraph/odata'; const transport = { getSubgraphExecutor({ subgraph, fetch }) { return createDefaultExecutor(processDirectives({ schema: subgraph, fetchFn: fetch, })); }, }; export default transport;