UNPKG

@graphql-tools/stitch

Version:

A set of utils for faster development of GraphQL tools

4 lines (3 loc) 451 B
import { GraphQLSchema, FieldNode, GraphQLObjectType, FragmentDefinitionNode } from 'graphql'; import { StitchingInfo } from '@graphql-tools/delegate'; export declare function getFieldsNotInSubschema(schema: GraphQLSchema, stitchingInfo: StitchingInfo, gatewayType: GraphQLObjectType, subschemaType: GraphQLObjectType, fieldNodes: FieldNode[], fragments: Record<string, FragmentDefinitionNode>, variableValues: Record<string, any>): Array<FieldNode>;