Skip to main content

GraphQLInterfaceTypeConfig <TSource, TContext>

Type parameters

  • TSource
  • TContext

Index

Properties

optionalastNode

optionaldescription

description?: Maybe<string>

optionalextensionASTNodes

extensionASTNodes?: Maybe<readonly InterfaceTypeExtensionNode[]>

optionalextensions

extensions?: Maybe<Readonly<GraphQLInterfaceTypeExtensions>>

fields

fields: ThunkObjMap<GraphQLFieldConfig<TSource, TContext, any>>

optionalinterfaces

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.