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
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.
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.
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.
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.
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.
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.
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
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]
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]
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]
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]
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]
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]
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]
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
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
.
- Value Params
- 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
.
- Value Params
- 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
.
- Value Params
- 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
.
- Value Params
- 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
.
- Value Params
- 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
.
- Value Params
- 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
- Value Params
- 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
- Value Params
- 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
- Value Params
- 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
- Value Params
- 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
- Value Params
- 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
- Value Params
- 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
- Value Params
- fallback
The alternative
ArgBuilder
if this one fails