UNPKG

@graphql-tools/stitch

Version:

A set of utils for faster development of GraphQL tools

14 lines (13 loc) 471 B
import { GraphQLSchema } from 'graphql'; import { ExecutionRequest } from '@graphql-tools/utils'; /** * Creates an executor that uses the schema created by stitching together multiple subschemas. * Not ready for production * Breaking changes can be introduced in the meanwhile * * @experimental * */ export declare function createStitchingExecutor(stitchedSchema: GraphQLSchema): (executorRequest: ExecutionRequest) => Promise<{ data: Record<string, any>; }>;