Skip to main content

GraphQLScalarType <TInternal, TExternal>

Create and operate on GraphQL type definitions and schema.

Index

Constructors

constructor

Properties

astNode

astNode: Maybe<ScalarTypeDefinitionNode>

description

description: Maybe<string>

extensionASTNodes

extensionASTNodes: readonly ScalarTypeExtensionNode[]

extensions

extensions: Readonly<GraphQLScalarTypeExtensions>

name

name: string

parseLiteral

parseLiteral: GraphQLScalarLiteralParser<TInternal>

parseValue

parseValue: GraphQLScalarValueParser<TInternal>

serialize

serialize: GraphQLScalarSerializer<TExternal>

specifiedByURL

specifiedByURL: Maybe<string>

Accessors

[toStringTag]

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

Methods

toConfig

  • toConfig(): GraphQLScalarTypeNormalizedConfig<TInternal, TExternal>
  • Returns GraphQLScalarTypeNormalizedConfig<TInternal, TExternal>

toJSON

  • toJSON(): string
  • Returns string

toString

  • toString(): string
  • Returns string