Skip to main content

GraphQLUnionTypeConfig <TSource, TContext>

Index

Properties

optionalastNode

astNode?: Maybe<UnionTypeDefinitionNode>

optionaldescription

description?: Maybe<string>

optionalextensionASTNodes

extensionASTNodes?: Maybe<readonly UnionTypeExtensionNode[]>

optionalextensions

extensions?: Maybe<Readonly<GraphQLUnionTypeExtensions>>

name

name: string

optionalresolveType

resolveType?: Maybe<GraphQLTypeResolver<TSource, TContext>>

Optionally provide a custom type resolver function. If one is not provided, the default implementation will call isTypeOf on each implementing Object type.

types