Documentation
API Reference
Interfaces
MergedTypeResolverOptions

graphql-tools-monorepo / delegate/src / MergedTypeResolverOptions

Interface: MergedTypeResolverOptions<K, V>

delegate/src.MergedTypeResolverOptions

Type parameters

NameType
Kany
Vany

Hierarchy

Table of contents

Properties

Properties

args

Optional args: (originalResult: any) => Record<string, any>

Type declaration

▸ (originalResult): Record<string, any>

Parameters
NameType
originalResultany
Returns

Record<string, any>

Defined in

packages/delegate/src/types.ts:181


argsFromKeys

Optional argsFromKeys: (keys: readonly K[]) => Record<string, any>

Type declaration

▸ (keys): Record<string, any>

Parameters
NameType
keysreadonly K[]
Returns

Record<string, any>

Defined in

packages/delegate/src/types.ts:182


dataLoaderOptions

Optional dataLoaderOptions: Options<K, V, K>

Defined in

packages/delegate/src/types.ts:184


fieldName

Optional fieldName: string

Defined in

packages/delegate/src/types.ts:180


valuesFromResults

Optional valuesFromResults: (results: any, keys: readonly K[]) => V[]

Type declaration

▸ (results, keys): V[]

Parameters
NameType
resultsany
keysreadonly K[]
Returns

V[]

Defined in

packages/delegate/src/types.ts:183