Skip to Content
GraphQL Tools
DocumentationAPI@graphql-tools/loadsrcfunctionsloadSchemaSync

Function: loadSchemaSync()

loadSchemaSync(schemaPointers, options): GraphQLSchema

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

Synchronously 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

GraphQLSchema