Skip to main content

GraphQLField <TSource, TContext, TArgs>

Implements

  • GraphQLSchemaElement

Index

Constructors

constructor

Properties

args

args: readonly GraphQLArgument[]

astNode

astNode: Maybe<FieldDefinitionNode>

deprecationReason

deprecationReason: Maybe<string>

description

description: Maybe<string>

extensions

extensions: Readonly<GraphQLFieldExtensions<TSource, TContext, TArgs>>

name

name: string

parentType

parentType: undefined | GraphQLObjectType<TSource, TContext> | GraphQLInterfaceType<TSource, TContext>

optionalresolve

resolve?: GraphQLFieldResolver<TSource, TContext, TArgs, unknown>

optionalsubscribe

subscribe?: GraphQLFieldResolver<TSource, TContext, TArgs, unknown>

type

Accessors

[toStringTag]

  • get [toStringTag](): string
  • Returns string

Methods

toConfig

  • toConfig(): GraphQLFieldNormalizedConfig<TSource, TContext, TArgs>
  • Returns GraphQLFieldNormalizedConfig<TSource, TContext, TArgs>

toJSON

  • toJSON(): string
  • Returns string

toString

  • toString(): string
  • Returns string