package client
- Alphabetic
- Public
- All
Type Members
-
trait
ArgEncoder[-A] extends AnyRef
Typeclass that defines how to encode an argument of type
A
into a valid caliban.client.__Value.Typeclass that defines how to encode an argument of type
A
into a valid caliban.client.__Value. Every type that can be passed as an argument needs an instance ofArgEncoder
.- Annotations
- @implicitNotFound( ... )
-
case class
Argument[+A](name: String, value: A, typeInfo: String)(implicit encoder: ArgEncoder[A]) extends Product with Serializable
Represents an argument in a GraphQL query.
Represents an argument in a GraphQL query. Requires an encoder for the argument type.
-
sealed
trait
CalibanClientError extends Throwable with Product with Serializable
The base type for all Caliban Client errors.
-
trait
FieldBuilder[+A] extends AnyRef
Represents a single field that returns a result of type
A
. -
case class
GraphQLRequest(query: String, variables: Map[String, __Value]) extends Product with Serializable
Represents a GraphQL request, containing a query and a map of variables.
-
case class
GraphQLResponse(data: Option[__Value], errors: List[GraphQLResponseError] = Nil, extensions: Option[__ObjectValue] = None) extends Product with Serializable
Represents the result of a GraphQL query, containing a data object and a list of errors.
-
case class
GraphQLResponseError(message: String, locations: Option[List[Location]], path: Option[List[Either[String, Int]]], extensions: Option[__Value]) extends Product with Serializable
An GraphQL error as returned by the server.
An GraphQL error as returned by the server.
- message
error message
- locations
line and column that caused the error in the initial query
- path
path of the field that caused the error
-
trait
ScalarDecoder[+A] extends AnyRef
Typeclass that defines how to decode a scalar from a GraphQL response into a proper value of type
A
.Typeclass that defines how to decode a scalar from a GraphQL response into a proper value of type
A
.- Annotations
- @implicitNotFound( ... )
- sealed trait Selection extends AnyRef
-
sealed
trait
SelectionBuilder[-Origin, +A] extends AnyRef
Represents a selection from parent type
Origin
that returns a result of typeA
. -
trait
Zippable[-A, -B] extends AnyRef
Implementation taken from https://github.com/zio/zio/blob/28a8b2d5cc1e361abc3bb3421bb015b2c063776b/core/shared/src/main/scala/zio/Zippable.scala
- trait ZippableLowPriority extends AnyRef
-
sealed
trait
__Value extends AnyRef
Value that can be returned by the server or sent as an argument.
Value Members
- object ArgEncoder
- object Argument extends Serializable
- object CalibanClientError extends Serializable
- object FieldBuilder
- object GraphQLRequest extends Serializable
- object GraphQLResponse extends Serializable
- object GraphQLResponseError extends Serializable
- object IntrospectionClient
- object Operations
- object ScalarDecoder
- object Selection
- object SelectionBuilder
- object Zippable extends ZippableLowPriority
- object __Value