ArgBuilder

@implicitNotFound("Cannot find an ArgBuilder for type ${T}.\n \nCaliban derives an ArgBuilder automatically for basic Scala types, case classes and sealed traits, but\nyou need to manually provide an implicit ArgBuilder for other types that could be nested in ${T}.\nSee https://ghostdogpr.github.io/caliban/docs/schema.html for more information.\n") 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.

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.

Companion
object
class Object
trait Matchable
class Any

Value members

Abstract methods

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.

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.

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.

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.

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.

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.

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.

Concrete methods

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].

Value Params
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].

Value Params
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].

Value Params
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].

Value Params
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].

Value Params
f

a function from T to Either[ExecutionError, A]

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].

Value Params
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].

Value Params
f

a function from T to Either[ExecutionError, 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.

Value Params
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.

Value Params
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.

Value Params
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.

Value Params
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.

Value Params
f

a function from T to 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.

Value Params
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.

Value Params
f

a function from T to A.

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

Value Params
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

Value Params
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

Value Params
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

Value Params
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

Value Params
fallback

The alternative ArgBuilder if this one fails

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

Value Params
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

Value Params
fallback

The alternative ArgBuilder if this one fails

def ||(fallback: ArgBuilder[T]): ArgBuilder[T]
Implicitly added by option
See also
def ||(fallback: ArgBuilder[T]): ArgBuilder[T]
Implicitly added by list
See also
def ||(fallback: ArgBuilder[T]): ArgBuilder[T]
Implicitly added by seq
See also
def ||(fallback: ArgBuilder[T]): ArgBuilder[T]
Implicitly added by set
See also
def ||(fallback: ArgBuilder[T]): ArgBuilder[T]
Implicitly added by vector
See also
def ||(fallback: ArgBuilder[T]): ArgBuilder[T]
Implicitly added by chunk
See also
def ||(fallback: ArgBuilder[T]): ArgBuilder[T]
See also