• 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


astNode

Optional astNode: FieldDefinitionNode

Defined in

packages/utils/src/Interfaces.ts:199


deprecationReason

Optional deprecationReason: string

Defined in

packages/utils/src/Interfaces.ts:197


description

Optional description: string

Defined in

packages/utils/src/Interfaces.ts:191


extensions

Optional extensions: Record<string, any>

Defined in

packages/utils/src/Interfaces.ts:198


isDeprecated

Optional isDeprecated: boolean

Defined in

packages/utils/src/Interfaces.ts:196


name

Optional name: string

Defined in

packages/utils/src/Interfaces.ts:190


resolve

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

Defined in

packages/utils/src/Interfaces.ts:194


selectionSet

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

Defined in

packages/stitch/src/types.ts:108


subscribe

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

Defined in

packages/utils/src/Interfaces.ts:195


type

Optional type: GraphQLOutputType

Defined in

packages/utils/src/Interfaces.ts:192