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:195


astNode

Optional astNode: FieldDefinitionNode

Defined in

packages/utils/src/Interfaces.ts:201


deprecationReason

Optional deprecationReason: string

Defined in

packages/utils/src/Interfaces.ts:199


description

Optional description: string

Defined in

packages/utils/src/Interfaces.ts:193


extensions

Optional extensions: Record<string, any>

Defined in

packages/utils/src/Interfaces.ts:200


isDeprecated

Optional isDeprecated: boolean

Defined in

packages/utils/src/Interfaces.ts:198


name

Optional name: string

Defined in

packages/utils/src/Interfaces.ts:192


resolve

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

Defined in

packages/utils/src/Interfaces.ts:196


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:197


type

Optional type: GraphQLOutputType

Defined in

packages/utils/src/Interfaces.ts:194