Docs
API
Classes
GraphQLHandler

Class: GraphQLHandler

handlers/graphql/src.GraphQLHandler

Implements

Table of contents

Constructors

Methods

Constructors

constructor

new GraphQLHandler(__namedParameters)

Parameters

Methods

getCodeFirstSource

getCodeFirstSource(__namedParameters): Promise<MeshSource>

Parameters

NameType
__namedParametersGraphQLHandlerCodeFirstConfiguration

Returns

Promise<MeshSource>


getExecutorForHTTPSourceConfig

getExecutorForHTTPSourceConfig(httpSourceConfig): Promise<Executor<Record<string, any>, Record<string, any>>>

Parameters

NameType
httpSourceConfigGraphQLHandlerHTTPConfiguration

Returns

Promise<Executor<Record<string, any>, Record<string, any>>>


getFallbackExecutor

getFallbackExecutor(executors): Executor<Record<string, any>, Record<string, any>>

Parameters

NameType
executorsExecutor<Record<string, any>, Record<string, any>>[]

Returns

Executor<Record<string, any>, Record<string, any>>


getMeshSource

getMeshSource(): Promise<MeshSource>

Returns

Promise<MeshSource>

Implementation of

MeshHandler.getMeshSource


getNonExecutableSchemaForHTTPSource

getNonExecutableSchemaForHTTPSource(httpSourceConfig): Promise<GraphQLSchema>

Parameters

NameType
httpSourceConfigGraphQLHandlerHTTPConfiguration

Returns

Promise<GraphQLSchema>


getRaceExecutor

getRaceExecutor(executors): Executor<Record<string, any>, Record<string, any>>

Parameters

NameType
executorsExecutor<Record<string, any>, Record<string, any>>[]

Returns

Executor<Record<string, any>, Record<string, any>>