graphql-tools-monorepo / utils/src / Loader
Interface: Loader<TOptions>
utils/src.Loader
Type parameters
Name | Type |
---|---|
TOptions | extends BaseLoaderOptions = BaseLoaderOptions |
Implemented by
ApolloEngineLoader
CodeFileLoader
GitLoader
GithubLoader
GraphQLFileLoader
JsonFileLoader
ModuleLoader
UrlLoader
Table of contents
Methods
Methods
load
▸ load(pointer
, options?
): Promise
<null
| Source
[]>
Parameters
Name | Type |
---|---|
pointer | string |
options? | TOptions |
Returns
Promise
<null
| Source
[]>
Defined in
packages/utils/src/loaders.ts:22
loadSync
▸ loadSync(pointer
, options?
): null
| Source
[]
Parameters
Name | Type |
---|---|
pointer | string |
options? | TOptions |
Returns
null
| Source
[]