Enum

interface Enum : GRT(source)

Tagging interface for GraphQL enum types.

Codegen-produced Kotlin enums implement this interface so the framework can identify and handle them uniformly. Use Companion.enumFrom to look up an enum constant by its GraphQL string value when deserializing resolver arguments.

Types

Link copied to clipboard
object Companion