TypeResolver

fun interface TypeResolver

A TypeResolver resolves concrete object types for abstract types.

Functions

Link copied to clipboard
abstract fun resolveType(obj: ResolverValue?, resolveTypeInfo: ResolveTypeInfo): String

Returns the GraphQL object typename of the given Kotlin instance.