FieldValue

sealed interface FieldValue<out T>(source)

Represents the value of a resolved GraphQL object field

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
abstract val isError: Boolean

Whether this is an error value or not

Functions

Link copied to clipboard
abstract fun get(): T

Returns the value on success, or throws an exception for an error value