caliban.client

Members list

Concise view

Type members

Classlikes

trait ArgEncoder[-A]

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 of ArgEncoder.

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 of ArgEncoder.

Attributes

Companion:
object
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
object ArgEncoder

Attributes

Companion:
trait
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
case class Argument[+A](name: String, value: A, typeInfo: String)(implicit encoder: ArgEncoder[A])

Represents an argument in a GraphQL query. Requires an encoder for the argument type.

Represents an argument in a GraphQL query. Requires an encoder for the argument type.

Attributes

Companion:
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
object Argument

Attributes

Companion:
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
sealed trait CalibanClientError extends Throwable with Product with Serializable

The base type for all Caliban Client errors.

The base type for all Caliban Client errors.

Attributes

Companion:
object
Graph
Supertypes
trait Product
trait Equals
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Known subtypes

Attributes

Companion:
trait
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
trait FieldBuilder[+A]

Represents a single field that returns a result of type A.

Represents a single field that returns a result of type A.

Attributes

Companion:
object
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class ChoiceOf[A]
class ListOf[A]
object NullField.type
class Obj[Origin, A]
class OptionOf[A]
class Scalar[A]

Attributes

Companion:
trait
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
case class GraphQLRequest(query: String, variables: Map[String, `__Value`])

Represents a GraphQL request, containing a query and a map of variables.

Represents a GraphQL request, containing a query and a map of variables.

Attributes

Companion:
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Attributes

Companion:
class
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
case class GraphQLResponse(data: Option[`__Value`], errors: List[GraphQLResponseError], extensions: Option[`__ObjectValue`])

Represents the result of a GraphQL query, containing a data object and a list of errors.

Represents the result of a GraphQL query, containing a data object and a list of errors.

Attributes

Companion:
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Attributes

Companion:
class
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
case class GraphQLResponseError(message: String, locations: Option[List[Location]], path: Option[List[Either[String, Int]]], extensions: Option[`__Value`])

An GraphQL error as returned by the server.

An GraphQL error as returned by the server.

Attributes

locations

line and column that caused the error in the initial query

message

error message

path

path of the field that caused the error

Companion:
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Attributes

Companion:
class
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type
object Operations

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type
trait ScalarDecoder[+A]

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.

Attributes

Companion:
object
Graph
Supertypes
class Object
trait Matchable
class Any

Attributes

Companion:
trait
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
sealed trait Selection

Attributes

Companion:
object
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Selection

Attributes

Companion:
trait
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
sealed trait SelectionBuilder[-Origin, +A]

Represents a selection from parent type Origin that returns a result of type A.

Represents a selection from parent type Origin that returns a result of type A.

Attributes

Companion:
object
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class Field[Origin, A]
class Mapping[Origin, A, B]
class Pure[A]
Self type
SelectionBuilder[Origin, A]

Attributes

Companion:
trait
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
trait Zippable[-A, -B]

Implementation taken from https://github.com/zio/zio/blob/28a8b2d5cc1e361abc3bb3421bb015b2c063776b/core/shared/src/main/scala/zio/Zippable.scala

Attributes

Companion:
object
Graph
Supertypes
class Object
trait Matchable
class Any

Attributes

Companion:
trait
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Zippable.type
sealed trait `__Value`

Value that can be returned by the server or sent as an argument.

Value that can be returned by the server or sent as an argument.

Attributes

Companion:
object
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
Self type
object `__Value`

Attributes

Companion:
trait
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type