Packages

case class Pure[A](a: A) extends SelectionBuilder[Any, A] with Product with Serializable

Self Type
Pure[A]
Linear Supertypes
Serializable, Product, Equals, SelectionBuilder[Any, A], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Pure
  2. Serializable
  3. Product
  4. Equals
  5. SelectionBuilder
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new Pure(a: A)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. val a: A
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @HotSpotIntrinsicCandidate() @native()
  7. def decode(payload: String): Either[CalibanClientError, (A, List[GraphQLResponseError], Option[__ObjectValue])]

    Parse the given response payload into the expected return type, with an potential list of partial errors and an optional extensions object

    Parse the given response payload into the expected return type, with an potential list of partial errors and an optional extensions object

    Definition Classes
    SelectionBuilder
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  10. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  11. 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

    Definition Classes
    SelectionBuilder
  12. 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

    Definition Classes
    SelectionBuilder
  13. 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)(implicit 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

    Definition Classes
    SelectionBuilder
  14. 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)(implicit 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

    Definition Classes
    SelectionBuilder
  15. 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)(implicit 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

    Definition Classes
    SelectionBuilder
  16. 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)(implicit 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

    Definition Classes
    SelectionBuilder
  17. 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)(implicit 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

    Definition Classes
    SelectionBuilder
  18. 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)(implicit 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

    Definition Classes
    SelectionBuilder
  19. 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)(implicit 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

    Definition Classes
    SelectionBuilder
  20. 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)(implicit 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

    Definition Classes
    SelectionBuilder
  21. 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)(implicit 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

    Definition Classes
    SelectionBuilder
  22. 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)(implicit 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

    Definition Classes
    SelectionBuilder
  23. 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)(implicit 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

    Definition Classes
    SelectionBuilder
  24. 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)(implicit 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

    Definition Classes
    SelectionBuilder
  25. 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)(implicit 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

    Definition Classes
    SelectionBuilder
  26. def mapN[B, C, D, E, F, G, H, I, J, Res](f: (B, C, D, E, F, G, H, I, J) => Res)(implicit 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

    Definition Classes
    SelectionBuilder
  27. def mapN[B, C, D, E, F, G, H, I, Res](f: (B, C, D, E, F, G, H, I) => Res)(implicit 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

    Definition Classes
    SelectionBuilder
  28. def mapN[B, C, D, E, F, G, H, Res](f: (B, C, D, E, F, G, H) => Res)(implicit 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

    Definition Classes
    SelectionBuilder
  29. def mapN[B, C, D, E, F, G, Res](f: (B, C, D, E, F, G) => Res)(implicit 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

    Definition Classes
    SelectionBuilder
  30. def mapN[B, C, D, E, F, Res](f: (B, C, D, E, F) => Res)(implicit 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

    Definition Classes
    SelectionBuilder
  31. def mapN[B, C, D, E, Res](f: (B, C, D, E) => Res)(implicit 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

    Definition Classes
    SelectionBuilder
  32. def mapN[B, C, D, Res](f: (B, C, D) => Res)(implicit 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

    Definition Classes
    SelectionBuilder
  33. def mapN[B, C, Res](f: (B, C) => Res)(implicit 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

    Definition Classes
    SelectionBuilder
  34. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  35. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  36. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  37. def productElementNames: Iterator[String]
    Definition Classes
    Product
  38. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  39. def toGraphQL[A1 >: A, Origin1 <: Any](useVariables: Boolean = false, queryName: Option[String] = None, dropNullInputValues: Boolean = false)(implicit ev: IsOperation[Origin1]): GraphQLRequest

    Transforms a root selection into a GraphQL request.

    Transforms a root selection into a GraphQL request.

    useVariables

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

    queryName

    if specified, use the given query name

    dropNullInputValues

    if true, drop all null values from input object arguments (default: false)

    Definition Classes
    SelectionBuilder
  40. def toRequest[A1 >: A, Origin1 <: Any](uri: Uri, useVariables: Boolean = false, queryName: Option[String] = None, dropNullInputValues: Boolean = false)(implicit 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. To access partial errors and extensions, use toRequestWith.

    uri

    the URL of the GraphQL server

    useVariables

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

    queryName

    if specified, use the given query name

    dropNullInputValues

    if true, drop all null values from input object arguments (default: false)

    returns

    an STTP request

    Definition Classes
    SelectionBuilder
  41. def toRequestWith[B, Origin1 <: Any](uri: Uri, useVariables: Boolean = false, queryName: Option[String] = None, dropNullInputValues: Boolean = false)(mapResponse: (A, List[GraphQLResponseError], Option[__ObjectValue]) => B)(implicit ev: IsOperation[Origin1]): Request[Either[CalibanClientError, B], 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. More powerful than toRequest, it gives you access to partial errors and extensions.

    uri

    the URL of the GraphQL server

    useVariables

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

    queryName

    if specified, use the given query name

    dropNullInputValues

    if true, drop all null values from input object arguments (default: false)

    returns

    an STTP request

    Definition Classes
    SelectionBuilder
  42. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  43. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  44. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  45. def withAlias(alias: String): SelectionBuilder[Any, A]

    Use the given alias for this selection

    Use the given alias for this selection

    Definition Classes
    PureSelectionBuilder
  46. def withDirective(directive: Directive): SelectionBuilder[Any, A]

    Add the given directive to the selection

    Add the given directive to the selection

    Definition Classes
    PureSelectionBuilder
  47. def ~[Origin1 <: Any, B](that: SelectionBuilder[Origin1, B])(implicit zippable: Zippable[A, B]): SelectionBuilder[Origin1, Out]

    Combines this selection with another selection, returning a tuple of both results.

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

    Definition Classes
    SelectionBuilder

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from SelectionBuilder[Any, A]

Inherited from AnyRef

Inherited from Any

Ungrouped