On this page

loadSchema

The loadSchema function exported by @graphql-tools/load.

loadSchema(schemaPointers, options): Promise<GraphQLSchema>

Defined in: packages/load/src/schema.ts:44

Asynchronously loads a schema from the provided pointers.

Parameters

schemaPointers

UnnormalizedTypeDefPointer | UnnormalizedTypeDefPointer[]

Pointers to the sources to load the schema from

options

LoadSchemaOptions

Additional options

Returns

Promise<GraphQLSchema>