FieldBuilder

caliban.client.FieldBuilder
See theFieldBuilder companion object
trait FieldBuilder[+A]

Represents a single field that returns a result of type A.

Attributes

Companion:
object
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class ChoiceOf[A]
class ListOf[A]
object NullField.type
class Obj[Origin, A]
class OptionOf[A]
class Scalar[A]

Members list

Concise view

Value members

Abstract methods

def fromGraphQL(value: `__Value`): Either[DecodingError, A]

Parses a GraphQL response into a value of type A, or fail with a DecodingError.

Parses a GraphQL response into a value of type A, or fail with a DecodingError.

Attributes

Returns a selection set from this field builder

Returns a selection set from this field builder

Attributes