Pure

case class Pure[A](a: A) extends SelectionBuilder[Any, A]
trait Serializable
trait Product
trait Equals
trait SelectionBuilder[Any, A]
class Object
trait Matchable
class Any

Value members

Concrete methods

override def withAlias(alias: String): SelectionBuilder[Any, A]

Use the given alias for this selection

Use the given alias for this selection

Definition Classes
override def withDirective(directive: Directive): SelectionBuilder[Any, A]

Add the given directive to the selection

Add the given directive to the selection

Definition Classes

Inherited methods

def map[B](f: A => B): SelectionBuilder[Any, B]

Maps the result of this selection to a new type B

Maps the result of this selection to a new type B

Inherited from
SelectionBuilder
def mapEither[B](f: A => Either[DecodingError, B]): SelectionBuilder[Any, B]

Maps the result of this selection to a new type B or make the decoding fail with a DecodingError

Maps the result of this selection to a new type B or make the decoding fail with a DecodingError

Inherited from
SelectionBuilder
def mapN[B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, Res](f: (B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W) => Res)(ev: A <:< (((((((((((((((((((((B, C), D), E), F), G), H), I), J), K), L), M), N), O), P), Q), R), S), T), U), V), W)): SelectionBuilder[Any, Res]

Maps a tupled result to a type Res using a function f with 22 parameters

Maps a tupled result to a type Res using a function f with 22 parameters

Inherited from
SelectionBuilder
def mapN[B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, Res](f: (B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V) => Res)(ev: A <:< ((((((((((((((((((((B, C), D), E), F), G), H), I), J), K), L), M), N), O), P), Q), R), S), T), U), V)): SelectionBuilder[Any, Res]

Maps a tupled result to a type Res using a function f with 21 parameters

Maps a tupled result to a type Res using a function f with 21 parameters

Inherited from
SelectionBuilder
def mapN[B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, Res](f: (B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U) => Res)(ev: A <:< (((((((((((((((((((B, C), D), E), F), G), H), I), J), K), L), M), N), O), P), Q), R), S), T), U)): SelectionBuilder[Any, Res]

Maps a tupled result to a type Res using a function f with 20 parameters

Maps a tupled result to a type Res using a function f with 20 parameters

Inherited from
SelectionBuilder
def mapN[B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, Res](f: (B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T) => Res)(ev: A <:< ((((((((((((((((((B, C), D), E), F), G), H), I), J), K), L), M), N), O), P), Q), R), S), T)): SelectionBuilder[Any, Res]

Maps a tupled result to a type Res using a function f with 19 parameters

Maps a tupled result to a type Res using a function f with 19 parameters

Inherited from
SelectionBuilder
def mapN[B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, Res](f: (B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S) => Res)(ev: A <:< (((((((((((((((((B, C), D), E), F), G), H), I), J), K), L), M), N), O), P), Q), R), S)): SelectionBuilder[Any, Res]

Maps a tupled result to a type Res using a function f with 18 parameters

Maps a tupled result to a type Res using a function f with 18 parameters

Inherited from
SelectionBuilder
def mapN[B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, Res](f: (B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R) => Res)(ev: A <:< ((((((((((((((((B, C), D), E), F), G), H), I), J), K), L), M), N), O), P), Q), R)): SelectionBuilder[Any, Res]

Maps a tupled result to a type Res using a function f with 17 parameters

Maps a tupled result to a type Res using a function f with 17 parameters

Inherited from
SelectionBuilder
def mapN[B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, Res](f: (B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q) => Res)(ev: A <:< (((((((((((((((B, C), D), E), F), G), H), I), J), K), L), M), N), O), P), Q)): SelectionBuilder[Any, Res]

Maps a tupled result to a type Res using a function f with 16 parameters

Maps a tupled result to a type Res using a function f with 16 parameters

Inherited from
SelectionBuilder
def mapN[B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Res](f: (B, C, D, E, F, G, H, I, J, K, L, M, N, O, P) => Res)(ev: A <:< ((((((((((((((B, C), D), E), F), G), H), I), J), K), L), M), N), O), P)): SelectionBuilder[Any, Res]

Maps a tupled result to a type Res using a function f with 15 parameters

Maps a tupled result to a type Res using a function f with 15 parameters

Inherited from
SelectionBuilder
def mapN[B, C, D, E, F, G, H, I, J, K, L, M, N, O, Res](f: (B, C, D, E, F, G, H, I, J, K, L, M, N, O) => Res)(ev: A <:< (((((((((((((B, C), D), E), F), G), H), I), J), K), L), M), N), O)): SelectionBuilder[Any, Res]

Maps a tupled result to a type Res using a function f with 14 parameters

Maps a tupled result to a type Res using a function f with 14 parameters

Inherited from
SelectionBuilder
def mapN[B, C, D, E, F, G, H, I, J, K, L, M, N, Res](f: (B, C, D, E, F, G, H, I, J, K, L, M, N) => Res)(ev: A <:< ((((((((((((B, C), D), E), F), G), H), I), J), K), L), M), N)): SelectionBuilder[Any, Res]

Maps a tupled result to a type Res using a function f with 13 parameters

Maps a tupled result to a type Res using a function f with 13 parameters

Inherited from
SelectionBuilder
def mapN[B, C, D, E, F, G, H, I, J, K, L, M, Res](f: (B, C, D, E, F, G, H, I, J, K, L, M) => Res)(ev: A <:< (((((((((((B, C), D), E), F), G), H), I), J), K), L), M)): SelectionBuilder[Any, Res]

Maps a tupled result to a type Res using a function f with 12 parameters

Maps a tupled result to a type Res using a function f with 12 parameters

Inherited from
SelectionBuilder
def mapN[B, C, D, E, F, G, H, I, J, K, L, Res](f: (B, C, D, E, F, G, H, I, J, K, L) => Res)(ev: A <:< ((((((((((B, C), D), E), F), G), H), I), J), K), L)): SelectionBuilder[Any, Res]

Maps a tupled result to a type Res using a function f with 11 parameters

Maps a tupled result to a type Res using a function f with 11 parameters

Inherited from
SelectionBuilder
def mapN[B, C, D, E, F, G, H, I, J, K, Res](f: (B, C, D, E, F, G, H, I, J, K) => Res)(ev: A <:< (((((((((B, C), D), E), F), G), H), I), J), K)): SelectionBuilder[Any, Res]

Maps a tupled result to a type Res using a function f with 10 parameters

Maps a tupled result to a type Res using a function f with 10 parameters

Inherited from
SelectionBuilder
def mapN[B, C, D, E, F, G, H, I, J, Res](f: (B, C, D, E, F, G, H, I, J) => Res)(ev: A <:< ((((((((B, C), D), E), F), G), H), I), J)): SelectionBuilder[Any, Res]

Maps a tupled result to a type Res using a function f with 9 parameters

Maps a tupled result to a type Res using a function f with 9 parameters

Inherited from
SelectionBuilder
def mapN[B, C, D, E, F, G, H, I, Res](f: (B, C, D, E, F, G, H, I) => Res)(ev: A <:< (((((((B, C), D), E), F), G), H), I)): SelectionBuilder[Any, Res]

Maps a tupled result to a type Res using a function f with 8 parameters

Maps a tupled result to a type Res using a function f with 8 parameters

Inherited from
SelectionBuilder
def mapN[B, C, D, E, F, G, H, Res](f: (B, C, D, E, F, G, H) => Res)(ev: A <:< ((((((B, C), D), E), F), G), H)): SelectionBuilder[Any, Res]

Maps a tupled result to a type Res using a function f with 7 parameters

Maps a tupled result to a type Res using a function f with 7 parameters

Inherited from
SelectionBuilder
def mapN[B, C, D, E, F, G, Res](f: (B, C, D, E, F, G) => Res)(ev: A <:< (((((B, C), D), E), F), G)): SelectionBuilder[Any, Res]

Maps a tupled result to a type Res using a function f with 6 parameters

Maps a tupled result to a type Res using a function f with 6 parameters

Inherited from
SelectionBuilder
def mapN[B, C, D, E, F, Res](f: (B, C, D, E, F) => Res)(ev: A <:< ((((B, C), D), E), F)): SelectionBuilder[Any, Res]

Maps a tupled result to a type Res using a function f with 5 parameters

Maps a tupled result to a type Res using a function f with 5 parameters

Inherited from
SelectionBuilder
def mapN[B, C, D, E, Res](f: (B, C, D, E) => Res)(ev: A <:< (((B, C), D), E)): SelectionBuilder[Any, Res]

Maps a tupled result to a type Res using a function f with 4 parameters

Maps a tupled result to a type Res using a function f with 4 parameters

Inherited from
SelectionBuilder
def mapN[B, C, D, Res](f: (B, C, D) => Res)(ev: A <:< ((B, C), D)): SelectionBuilder[Any, Res]

Maps a tupled result to a type Res using a function f with 3 parameters

Maps a tupled result to a type Res using a function f with 3 parameters

Inherited from
SelectionBuilder
def mapN[B, C, Res](f: (B, C) => Res)(ev: A <:< (B, C)): SelectionBuilder[Any, Res]

Maps a tupled result to a type Res using a function f with 2 parameters

Maps a tupled result to a type Res using a function f with 2 parameters

Inherited from
SelectionBuilder
def productElementNames: Iterator[String]
Inherited from
Product
def productIterator: Iterator[Any]
Inherited from
Product
def toGraphQL[A1 >: A, Origin1](useVariables: Boolean, queryName: Option[String])(ev: IsOperation[Origin1]): GraphQLRequest

Transforms a root selection into a GraphQL request.

Transforms a root selection into a GraphQL request.

Value Params
useVariables

if true, all arguments will be passed as variables (default: false)

Inherited from
SelectionBuilder
def toRequest[A1 >: A, Origin1](uri: Uri, useVariables: Boolean, queryName: Option[String])(ev: IsOperation[Origin1]): Request[Either[CalibanClientError, A1], Any]

Transforms a root selection into an STTP request ready to be run.

Transforms a root selection into an STTP request ready to be run.

Value Params
uri

the URL of the GraphQL server

useVariables

if true, all arguments will be passed as variables (default: false)

Returns

an STTP request

Inherited from
SelectionBuilder
def toRequestWithExtensions[A1 >: A, Origin1](uri: Uri, useVariables: Boolean, queryName: Option[String])(ev: IsOperation[Origin1]): Request[Either[CalibanClientError, (A1, Option[Json])], Any]

Transforms a root selection into an STTP request ready to be run.

Transforms a root selection into an STTP request ready to be run.

Value Params
uri

the URL of the GraphQL server

useVariables

if true, all arguments will be passed as variables (default: false)

Returns

an STTP request

Inherited from
SelectionBuilder
def ~[Origin1, B](that: SelectionBuilder[Origin1, B]): SelectionBuilder[Origin1, (A, B)]

Combines this selection with another selection, returning a tuple of both results. To be combines, selections needs to have the same origin.

Combines this selection with another selection, returning a tuple of both results. To be combines, selections needs to have the same origin.

Inherited from
SelectionBuilder