graphql-tools-monorepo / utils/src / 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:200


astNode

Optional astNode: FieldDefinitionNode

Defined in

packages/utils/src/Interfaces.ts:206


deprecationReason

Optional deprecationReason: string

Defined in

packages/utils/src/Interfaces.ts:204


description

Optional description: string

Defined in

packages/utils/src/Interfaces.ts:198


extensions

Optional extensions: Record<string, any>

Defined in

packages/utils/src/Interfaces.ts:205


isDeprecated

Optional isDeprecated: boolean

Defined in

packages/utils/src/Interfaces.ts:203


name

Optional name: string

Defined in

packages/utils/src/Interfaces.ts:197


resolve

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

Defined in

packages/utils/src/Interfaces.ts:201


selectionSet

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

Defined in

node_modules/@graphql-tools/stitch/dist/index.d.ts:76


subscribe

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

Defined in

packages/utils/src/Interfaces.ts:202


type

Optional type: GraphQLOutputType

Defined in

packages/utils/src/Interfaces.ts:199