DocumentationAPI ReferenceClassesApolloEngineLoader

graphql-tools-monorepo / loaders/apollo-engine/src / ApolloEngineLoader

Class: ApolloEngineLoader

loaders/apollo-engine/src.ApolloEngineLoader

This loader loads a schema from Apollo Engine

Implements

Table of contents

Constructors

Methods

Constructors

constructor

new ApolloEngineLoader(): ApolloEngineLoader

Returns

ApolloEngineLoader

Methods

canLoad

canLoad(ptr): Promise<boolean>

Parameters

NameType
ptrstring

Returns

Promise<boolean>

Defined in

packages/loaders/apollo-engine/src/index.ts:49


canLoadSync

canLoadSync(ptr): ptr is “apollo-engine”

Parameters

NameType
ptrstring

Returns

ptr is “apollo-engine”

Defined in

packages/loaders/apollo-engine/src/index.ts:53


load

load(pointer, options): Promise<Source[]>

Parameters

NameType
pointerstring
optionsApolloEngineOptions

Returns

Promise<Source[]>

Implementation of

Loader.load

Defined in

packages/loaders/apollo-engine/src/index.ts:57


loadSync

loadSync(pointer, options): Source[]

Parameters

NameType
pointerstring
optionsApolloEngineOptions

Returns

Source[]

Implementation of

Loader.loadSync

Defined in

packages/loaders/apollo-engine/src/index.ts:78