Skip to main content

GraphQLObjectType <TSource, TContext>

Create and operate on GraphQL type definitions and schema.

Index

Constructors

constructor

Properties

astNode

astNode: Maybe<ObjectTypeDefinitionNode>

description

description: Maybe<string>

extensionASTNodes

extensionASTNodes: readonly ObjectTypeExtensionNode[]

extensions

extensions: Readonly<GraphQLObjectTypeExtensions<TSource, TContext>>

isTypeOf

isTypeOf: Maybe<GraphQLIsTypeOfFn<TSource, TContext>>

name

name: string

Accessors

[toStringTag]

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

Methods

getFields

getInterfaces

toConfig

  • toConfig(): GraphQLObjectTypeNormalizedConfig<TSource, TContext>
  • Returns GraphQLObjectTypeNormalizedConfig<TSource, TContext>

toJSON

  • toJSON(): string
  • Returns string

toString

  • toString(): string
  • Returns string