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 Objecttrait Matchableclass Any
- Known subtypes
- trait Auto[A]
- Self type
- ArgBuilder[T]
Members list
Value members
Abstract methods
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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]
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]
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]
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]
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]
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]
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]
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
toA
.
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
toA
.
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
toA
.
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
toA
.
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
toA
.
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
toA
.
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
toA
.
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
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
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
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
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
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
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
Attributes
- See also: