DocsReference@proto-kit/apiClassesResolverFactoryGraphqlModule

@proto-kit/apiDocs


Documentation / @proto-kit/api / ResolverFactoryGraphqlModule

Class: abstract ResolverFactoryGraphqlModule<Config>

Used by various module sub-types that may need to be configured

Extends

Extended by

Type Parameters

Config = NoConfig

Constructors

new ResolverFactoryGraphqlModule()

new ResolverFactoryGraphqlModule<Config>(): ResolverFactoryGraphqlModule<Config>

Returns

ResolverFactoryGraphqlModule<Config>

Inherited from

GraphqlModule.constructor

Defined in

packages/api/src/graphql/GraphqlModule.ts:11

Properties

currentConfig

protected currentConfig: undefined | Config

Store the config separately, so that we can apply additional checks when retrieving it via the getter

Inherited from

GraphqlModule.currentConfig

Defined in

packages/common/dist/config/ConfigurableModule.d.ts:17

Accessors

config

Get Signature

get config(): Config

Returns

Config

Set Signature

set config(config): void

Parameters

config: Config

Returns

void

Inherited from

GraphqlModule.config

Defined in

packages/common/dist/config/ConfigurableModule.d.ts:18

Methods

create()

create(childContainerProvider): void

Parameters

childContainerProvider: ChildContainerProvider

Returns

void

Inherited from

GraphqlModule.create

Defined in

packages/common/dist/config/ConfigurableModule.d.ts:20


resolvers()

abstract resolvers(): Promise<NonEmptyArray<Function>>

Returns

Promise<NonEmptyArray<Function>>

Defined in

packages/api/src/graphql/GraphqlModule.ts:33