@graphql-tools/stitch

Functions

Functions

Const forwardArgsToSelectionSet

forwardArgsToSelectionSet(selectionSet: string, mapping?: Record‹string, string[]›): (Anonymous function)

Defined in packages/stitch/src/selectionSetArgs.ts:7

Parameters:

NameType
selectionSetstring
mapping?Record‹string, string[]›

Returns: (Anonymous function)


stitchSchemas

stitchSchemas(__namedParameters: object): GraphQLSchema

Defined in packages/stitch/src/stitchSchemas.ts:31

Parameters:

__namedParameters: object

NameTypeDefault
allowUndefinedInResolvebooleantrue
directiveResolversIDirectiveResolvers‹any, any›-
inheritResolversFromInterfacesbooleanfalse
loggerILogger-
mergeDirectivesboolean-
mergeTypesfalse | true | string[] | functionfalse
onTypeConflictfunction-
parseOptionsGraphQLParseOptions-
pruningOptionsPruneSchemaOptions-
resolverValidationOptionsIResolverValidationOptions-
resolversobject | object[]-
schemaDirectivesobject-
schemaTransformsfunction[][]
schemasstring | GraphQLSchema‹› | DocumentNode | SubschemaConfig | GraphQLScalarType‹› | GraphQLObjectType‹any, any› | GraphQLInterfaceType‹› | GraphQLUnionType‹› | GraphQLEnumType‹› | GraphQLInputObjectType‹›[][][]
subschemasGraphQLSchema‹› | SubschemaConfig[][]
typeDefsstring | function | DocumentNode | string | function | DocumentNode[]-
typesGraphQLScalarType‹› | GraphQLObjectType‹any, any› | GraphQLInterfaceType‹› | GraphQLUnionType‹› | GraphQLEnumType‹› | GraphQLInputObjectType‹›[][]

Returns: GraphQLSchema