GQLResult

class GQLResult<out V : Any>(val value: V?, val issues: List<Issue>)

The result of a parsing or validation operation. It's tri-state:

  • value and no-issue => success

  • no value and issues => failure

  • value and issues => partial success

  • no value and no issues => not possible

Constructors

Link copied to clipboard
fun <out V : Any> GQLResult(value: V?, issues: List<Issue>)

Functions

Link copied to clipboard
fun valueAssertNoErrors(): V

Properties

Link copied to clipboard
val issues: List<Issue>
Link copied to clipboard
val value: V?