@graphql-tools/stitch
Version:
A set of utils for faster development of GraphQL tools
4 lines (3 loc) • 322 B
TypeScript
import { GraphQLNamedType } from 'graphql';
import { MergeTypeCandidate, TypeMergingOptions } from './types.js';
export declare function mergeCandidates<TContext = Record<string, any>>(typeName: string, candidates: Array<MergeTypeCandidate<TContext>>, typeMergingOptions?: TypeMergingOptions<TContext>): GraphQLNamedType;