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
Methods
canLoad
▸ canLoad(ptr
): Promise
<boolean
>
Parameters
Name | Type |
---|---|
ptr | string |
Returns
Promise
<boolean
>
Defined in
packages/loaders/apollo-engine/src/index.ts:49
canLoadSync
▸ canLoadSync(ptr
): ptr is “apollo-engine”
Parameters
Name | Type |
---|---|
ptr | string |
Returns
ptr is “apollo-engine”
Defined in
packages/loaders/apollo-engine/src/index.ts:53
load
▸ load(pointer
, options
): Promise
<Source
[]>
Parameters
Name | Type |
---|---|
pointer | string |
options | ApolloEngineOptions |
Returns
Promise
<Source
[]>
Implementation of
Defined in
packages/loaders/apollo-engine/src/index.ts:57
loadSync
▸ loadSync(pointer
, options
): Source
[]
Parameters
Name | Type |
---|---|
pointer | string |
options | ApolloEngineOptions |
Returns
Source
[]