Interface: FieldOrOperation<TParent, TOutput, TInput, TType>

Operation or Field for resolver.

Extends

Extended by

Type Parameters

TParent extends undefined | GraphQLSilk

TOutput extends GraphQLSilk

TInput extends InputSchema<GraphQLSilk> | undefined = undefined

TType extends FieldOrOperationType = FieldOrOperationType

Properties

deprecationReason?

optional deprecationReason: Maybe<string>

Inherited from

GraphQLFieldOptions.deprecationReason

Defined in

node_modules/.pnpm/graphql@16.8.1_patch_hash=2p6wc42resg5at2p4utt5idamq/node_modules/graphql/type/definition.d.ts:535


description?

optional description: Maybe<string>

Inherited from

GraphQLFieldOptions.description

Defined in

node_modules/.pnpm/graphql@16.8.1_patch_hash=2p6wc42resg5at2p4utt5idamq/node_modules/graphql/type/definition.d.ts:530


extensions?

optional extensions: Maybe<Readonly<GraphQLFieldExtensions<any, any, any>>>

Inherited from

GraphQLFieldOptions.extensions

Defined in

node_modules/.pnpm/graphql@16.8.1_patch_hash=2p6wc42resg5at2p4utt5idamq/node_modules/graphql/type/definition.d.ts:536


input

input: TInput

Defined in

packages/core/src/resolver/types.ts:104


output

output: TOutput

Defined in

packages/core/src/resolver/types.ts:105


resolve

resolve: TType extends "field" ? (parent, input, options?) => Promise<InferOutput<TOutput>> : TType extends "subscription" ? (value, input) => Promise<InferOutput<TOutput>> : (input, options?) => Promise<InferOutput<TOutput>>

Defined in

packages/core/src/resolver/types.ts:106


subscribe?

optional subscribe: TType extends "subscription" ? (input, options?) => MayPromise<AsyncIterator<any, any, undefined>> : undefined

Defined in

packages/core/src/resolver/types.ts:122


type

type: TType

Defined in

packages/core/src/resolver/types.ts:103