Skip to main content

GraphQLScalarTypeConfig <TInternal, TExternal>

Index

Properties

optionalastNode

astNode?: Maybe<ScalarTypeDefinitionNode>

optionaldescription

description?: Maybe<string>

optionalextensionASTNodes

extensionASTNodes?: Maybe<readonly ScalarTypeExtensionNode[]>

optionalextensions

extensions?: Maybe<Readonly<GraphQLScalarTypeExtensions>>

name

name: string

optionalparseLiteral

parseLiteral?: GraphQLScalarLiteralParser<TInternal>

Parses an externally provided literal value to use as an input.

optionalparseValue

parseValue?: GraphQLScalarValueParser<TInternal>

Parses an externally provided value to use as an input.

optionalserialize

serialize?: GraphQLScalarSerializer<TExternal>

Serializes an internal value to include in a response.

optionalspecifiedByURL

specifiedByURL?: Maybe<string>