Docs
API Reference
Interfaces
IFieldResolverOptions

Interface: IFieldResolverOptions<TSource, TContext, TArgs>

utils/src.IFieldResolverOptions

Type parameters

NameType
TSourceany
TContextany
TArgsany

Table of contents

Properties

Properties

args

Optional args: GraphQLArgument[]

Defined in

packages/utils/src/Interfaces.ts:193 (opens in a new tab)


astNode

Optional astNode: FieldDefinitionNode

Defined in

packages/utils/src/Interfaces.ts:199 (opens in a new tab)


deprecationReason

Optional deprecationReason: string

Defined in

packages/utils/src/Interfaces.ts:197 (opens in a new tab)


description

Optional description: string

Defined in

packages/utils/src/Interfaces.ts:191 (opens in a new tab)


extensions

Optional extensions: Record<string, any>

Defined in

packages/utils/src/Interfaces.ts:198 (opens in a new tab)


isDeprecated

Optional isDeprecated: boolean

Defined in

packages/utils/src/Interfaces.ts:196 (opens in a new tab)


name

Optional name: string

Defined in

packages/utils/src/Interfaces.ts:190 (opens in a new tab)


resolve

Optional resolve: IFieldResolver<TSource, TContext, TArgs, any>

Defined in

packages/utils/src/Interfaces.ts:194 (opens in a new tab)


selectionSet

Optional selectionSet: string | (node: FieldNode) => SelectionSetNode

Defined in

packages/stitch/src/types.ts:108 (opens in a new tab)


subscribe

Optional subscribe: IFieldResolver<TSource, TContext, TArgs, any>

Defined in

packages/utils/src/Interfaces.ts:195 (opens in a new tab)


type

Optional type: GraphQLOutputType

Defined in

packages/utils/src/Interfaces.ts:192 (opens in a new tab)