ArgBuilder

caliban.schema.ArgBuilder
See theArgBuilder companion object
trait ArgBuilder[T]

Typeclass that defines how to build an argument of type T from an input caliban.InputValue. Every type that can be passed as an argument needs an instance of ArgBuilder.

Attributes

Companion:
object
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait Auto[A]
Self type

Members list

Concise view

Value members

Abstract methods

def build(input: InputValue): Either[ExecutionError, T]
Implicitly added by chunk

Builds a value of type T from an input caliban.InputValue. Fails with an caliban.CalibanError.ExecutionError if it was impossible to build the value.

Builds a value of type T from an input caliban.InputValue. Fails with an caliban.CalibanError.ExecutionError if it was impossible to build the value.

Attributes

def build(input: InputValue): Either[ExecutionError, T]
Implicitly added by list

Builds a value of type T from an input caliban.InputValue. Fails with an caliban.CalibanError.ExecutionError if it was impossible to build the value.

Builds a value of type T from an input caliban.InputValue. Fails with an caliban.CalibanError.ExecutionError if it was impossible to build the value.

Attributes

def build(input: InputValue): Either[ExecutionError, T]
Implicitly added by option

Builds a value of type T from an input caliban.InputValue. Fails with an caliban.CalibanError.ExecutionError if it was impossible to build the value.

Builds a value of type T from an input caliban.InputValue. Fails with an caliban.CalibanError.ExecutionError if it was impossible to build the value.

Attributes

def build(input: InputValue): Either[ExecutionError, T]
Implicitly added by seq

Builds a value of type T from an input caliban.InputValue. Fails with an caliban.CalibanError.ExecutionError if it was impossible to build the value.

Builds a value of type T from an input caliban.InputValue. Fails with an caliban.CalibanError.ExecutionError if it was impossible to build the value.

Attributes

def build(input: InputValue): Either[ExecutionError, T]
Implicitly added by set

Builds a value of type T from an input caliban.InputValue. Fails with an caliban.CalibanError.ExecutionError if it was impossible to build the value.

Builds a value of type T from an input caliban.InputValue. Fails with an caliban.CalibanError.ExecutionError if it was impossible to build the value.

Attributes

def build(input: InputValue): Either[ExecutionError, T]
Implicitly added by vector

Builds a value of type T from an input caliban.InputValue. Fails with an caliban.CalibanError.ExecutionError if it was impossible to build the value.

Builds a value of type T from an input caliban.InputValue. Fails with an caliban.CalibanError.ExecutionError if it was impossible to build the value.

Attributes

def build(input: InputValue): Either[ExecutionError, T]

Builds a value of type T from an input caliban.InputValue. Fails with an caliban.CalibanError.ExecutionError if it was impossible to build the value.

Builds a value of type T from an input caliban.InputValue. Fails with an caliban.CalibanError.ExecutionError if it was impossible to build the value.

Attributes

Concrete methods

def buildMissing(default: Option[String]): Either[ExecutionError, T]
Implicitly added by chunk

Builds a value of type T from a missing input value. By default, this delegates to build, passing it NullValue. Fails with an caliban.CalibanError.ExecutionError if it was impossible to build the value.

Builds a value of type T from a missing input value. By default, this delegates to build, passing it NullValue. Fails with an caliban.CalibanError.ExecutionError if it was impossible to build the value.

Attributes

def buildMissing(default: Option[String]): Either[ExecutionError, T]
Implicitly added by list

Builds a value of type T from a missing input value. By default, this delegates to build, passing it NullValue. Fails with an caliban.CalibanError.ExecutionError if it was impossible to build the value.

Builds a value of type T from a missing input value. By default, this delegates to build, passing it NullValue. Fails with an caliban.CalibanError.ExecutionError if it was impossible to build the value.

Attributes

def buildMissing(default: Option[String]): Either[ExecutionError, T]
Implicitly added by option

Builds a value of type T from a missing input value. By default, this delegates to build, passing it NullValue. Fails with an caliban.CalibanError.ExecutionError if it was impossible to build the value.

Builds a value of type T from a missing input value. By default, this delegates to build, passing it NullValue. Fails with an caliban.CalibanError.ExecutionError if it was impossible to build the value.

Attributes

def buildMissing(default: Option[String]): Either[ExecutionError, T]
Implicitly added by seq

Builds a value of type T from a missing input value. By default, this delegates to build, passing it NullValue. Fails with an caliban.CalibanError.ExecutionError if it was impossible to build the value.

Builds a value of type T from a missing input value. By default, this delegates to build, passing it NullValue. Fails with an caliban.CalibanError.ExecutionError if it was impossible to build the value.

Attributes

def buildMissing(default: Option[String]): Either[ExecutionError, T]
Implicitly added by set

Builds a value of type T from a missing input value. By default, this delegates to build, passing it NullValue. Fails with an caliban.CalibanError.ExecutionError if it was impossible to build the value.

Builds a value of type T from a missing input value. By default, this delegates to build, passing it NullValue. Fails with an caliban.CalibanError.ExecutionError if it was impossible to build the value.

Attributes

def buildMissing(default: Option[String]): Either[ExecutionError, T]
Implicitly added by vector

Builds a value of type T from a missing input value. By default, this delegates to build, passing it NullValue. Fails with an caliban.CalibanError.ExecutionError if it was impossible to build the value.

Builds a value of type T from a missing input value. By default, this delegates to build, passing it NullValue. Fails with an caliban.CalibanError.ExecutionError if it was impossible to build the value.

Attributes

def buildMissing(default: Option[String]): Either[ExecutionError, T]

Builds a value of type T from a missing input value. By default, this delegates to build, passing it NullValue. Fails with an caliban.CalibanError.ExecutionError if it was impossible to build the value.

Builds a value of type T from a missing input value. By default, this delegates to build, passing it NullValue. Fails with an caliban.CalibanError.ExecutionError if it was impossible to build the value.

Attributes

def flatMap[A](f: T => Either[ExecutionError, A]): ArgBuilder[A]
Implicitly added by chunk

Builds a new ArgBuilder of A from an existing ArgBuilder of T and a function from T to Either[ExecutionError, A].

Builds a new ArgBuilder of A from an existing ArgBuilder of T and a function from T to Either[ExecutionError, A].

Attributes

f

a function from T to Either[ExecutionError, A]

def flatMap[A](f: T => Either[ExecutionError, A]): ArgBuilder[A]
Implicitly added by list

Builds a new ArgBuilder of A from an existing ArgBuilder of T and a function from T to Either[ExecutionError, A].

Builds a new ArgBuilder of A from an existing ArgBuilder of T and a function from T to Either[ExecutionError, A].

Attributes

f

a function from T to Either[ExecutionError, A]

def flatMap[A](f: T => Either[ExecutionError, A]): ArgBuilder[A]
Implicitly added by option

Builds a new ArgBuilder of A from an existing ArgBuilder of T and a function from T to Either[ExecutionError, A].

Builds a new ArgBuilder of A from an existing ArgBuilder of T and a function from T to Either[ExecutionError, A].

Attributes

f

a function from T to Either[ExecutionError, A]

def flatMap[A](f: T => Either[ExecutionError, A]): ArgBuilder[A]
Implicitly added by seq

Builds a new ArgBuilder of A from an existing ArgBuilder of T and a function from T to Either[ExecutionError, A].

Builds a new ArgBuilder of A from an existing ArgBuilder of T and a function from T to Either[ExecutionError, A].

Attributes

f

a function from T to Either[ExecutionError, A]

def flatMap[A](f: T => Either[ExecutionError, A]): ArgBuilder[A]
Implicitly added by set

Builds a new ArgBuilder of A from an existing ArgBuilder of T and a function from T to Either[ExecutionError, A].

Builds a new ArgBuilder of A from an existing ArgBuilder of T and a function from T to Either[ExecutionError, A].

Attributes

f

a function from T to Either[ExecutionError, A]

def flatMap[A](f: T => Either[ExecutionError, A]): ArgBuilder[A]
Implicitly added by vector

Builds a new ArgBuilder of A from an existing ArgBuilder of T and a function from T to Either[ExecutionError, A].

Builds a new ArgBuilder of A from an existing ArgBuilder of T and a function from T to Either[ExecutionError, A].

Attributes

f

a function from T to Either[ExecutionError, A]

def flatMap[A](f: T => Either[ExecutionError, A]): ArgBuilder[A]

Builds a new ArgBuilder of A from an existing ArgBuilder of T and a function from T to Either[ExecutionError, A].

Builds a new ArgBuilder of A from an existing ArgBuilder of T and a function from T to Either[ExecutionError, A].

Attributes

f

a function from T to Either[ExecutionError, A]

def map[A](f: T => A): ArgBuilder[A]
Implicitly added by chunk

Builds a new ArgBuilder of A from an existing ArgBuilder of T and a function from T to A.

Builds a new ArgBuilder of A from an existing ArgBuilder of T and a function from T to A.

Attributes

f

a function from T to A.

def map[A](f: T => A): ArgBuilder[A]
Implicitly added by list

Builds a new ArgBuilder of A from an existing ArgBuilder of T and a function from T to A.

Builds a new ArgBuilder of A from an existing ArgBuilder of T and a function from T to A.

Attributes

f

a function from T to A.

def map[A](f: T => A): ArgBuilder[A]
Implicitly added by option

Builds a new ArgBuilder of A from an existing ArgBuilder of T and a function from T to A.

Builds a new ArgBuilder of A from an existing ArgBuilder of T and a function from T to A.

Attributes

f

a function from T to A.

def map[A](f: T => A): ArgBuilder[A]
Implicitly added by seq

Builds a new ArgBuilder of A from an existing ArgBuilder of T and a function from T to A.

Builds a new ArgBuilder of A from an existing ArgBuilder of T and a function from T to A.

Attributes

f

a function from T to A.

def map[A](f: T => A): ArgBuilder[A]
Implicitly added by set

Builds a new ArgBuilder of A from an existing ArgBuilder of T and a function from T to A.

Builds a new ArgBuilder of A from an existing ArgBuilder of T and a function from T to A.

Attributes

f

a function from T to A.

def map[A](f: T => A): ArgBuilder[A]
Implicitly added by vector

Builds a new ArgBuilder of A from an existing ArgBuilder of T and a function from T to A.

Builds a new ArgBuilder of A from an existing ArgBuilder of T and a function from T to A.

Attributes

f

a function from T to A.

def map[A](f: T => A): ArgBuilder[A]

Builds a new ArgBuilder of A from an existing ArgBuilder of T and a function from T to A.

Builds a new ArgBuilder of A from an existing ArgBuilder of T and a function from T to A.

Attributes

f

a function from T to A.

def orElse(fallback: ArgBuilder[T]): ArgBuilder[T]
Implicitly added by chunk

Builds a new ArgBuilder of T from two ArgBuilders of T where the second ArgBuilder is a fallback if the first one fails In the case that both fail, the error from the second will be returned

Builds a new ArgBuilder of T from two ArgBuilders of T where the second ArgBuilder is a fallback if the first one fails In the case that both fail, the error from the second will be returned

Attributes

fallback

The alternative ArgBuilder if this one fails

def orElse(fallback: ArgBuilder[T]): ArgBuilder[T]
Implicitly added by list

Builds a new ArgBuilder of T from two ArgBuilders of T where the second ArgBuilder is a fallback if the first one fails In the case that both fail, the error from the second will be returned

Builds a new ArgBuilder of T from two ArgBuilders of T where the second ArgBuilder is a fallback if the first one fails In the case that both fail, the error from the second will be returned

Attributes

fallback

The alternative ArgBuilder if this one fails

def orElse(fallback: ArgBuilder[T]): ArgBuilder[T]
Implicitly added by option

Builds a new ArgBuilder of T from two ArgBuilders of T where the second ArgBuilder is a fallback if the first one fails In the case that both fail, the error from the second will be returned

Builds a new ArgBuilder of T from two ArgBuilders of T where the second ArgBuilder is a fallback if the first one fails In the case that both fail, the error from the second will be returned

Attributes

fallback

The alternative ArgBuilder if this one fails

def orElse(fallback: ArgBuilder[T]): ArgBuilder[T]
Implicitly added by seq

Builds a new ArgBuilder of T from two ArgBuilders of T where the second ArgBuilder is a fallback if the first one fails In the case that both fail, the error from the second will be returned

Builds a new ArgBuilder of T from two ArgBuilders of T where the second ArgBuilder is a fallback if the first one fails In the case that both fail, the error from the second will be returned

Attributes

fallback

The alternative ArgBuilder if this one fails

def orElse(fallback: ArgBuilder[T]): ArgBuilder[T]
Implicitly added by set

Builds a new ArgBuilder of T from two ArgBuilders of T where the second ArgBuilder is a fallback if the first one fails In the case that both fail, the error from the second will be returned

Builds a new ArgBuilder of T from two ArgBuilders of T where the second ArgBuilder is a fallback if the first one fails In the case that both fail, the error from the second will be returned

Attributes

fallback

The alternative ArgBuilder if this one fails

def orElse(fallback: ArgBuilder[T]): ArgBuilder[T]
Implicitly added by vector

Builds a new ArgBuilder of T from two ArgBuilders of T where the second ArgBuilder is a fallback if the first one fails In the case that both fail, the error from the second will be returned

Builds a new ArgBuilder of T from two ArgBuilders of T where the second ArgBuilder is a fallback if the first one fails In the case that both fail, the error from the second will be returned

Attributes

fallback

The alternative ArgBuilder if this one fails

def orElse(fallback: ArgBuilder[T]): ArgBuilder[T]

Builds a new ArgBuilder of T from two ArgBuilders of T where the second ArgBuilder is a fallback if the first one fails In the case that both fail, the error from the second will be returned

Builds a new ArgBuilder of T from two ArgBuilders of T where the second ArgBuilder is a fallback if the first one fails In the case that both fail, the error from the second will be returned

Attributes

fallback

The alternative ArgBuilder if this one fails

def ||(fallback: ArgBuilder[T]): ArgBuilder[T]
Implicitly added by chunk

Attributes

See also:
def ||(fallback: ArgBuilder[T]): ArgBuilder[T]
Implicitly added by list

Attributes

See also:
def ||(fallback: ArgBuilder[T]): ArgBuilder[T]
Implicitly added by option

Attributes

See also:
def ||(fallback: ArgBuilder[T]): ArgBuilder[T]
Implicitly added by seq

Attributes

See also:
def ||(fallback: ArgBuilder[T]): ArgBuilder[T]
Implicitly added by set

Attributes

See also:
def ||(fallback: ArgBuilder[T]): ArgBuilder[T]
Implicitly added by vector

Attributes

See also:
def ||(fallback: ArgBuilder[T]): ArgBuilder[T]

Attributes

See also: