caliban.client

package caliban.client

Members list

Packages

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
Supertypes
class Object
trait Matchable
class Any
Self type
object ArgEncoder

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type
ArgEncoder.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
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object Argument

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
Argument.type
sealed trait CalibanClientError extends Throwable, Product, Serializable

The base type for all Caliban Client errors.

The base type for all Caliban Client errors.

Attributes

Companion
object
Supertypes
trait Product
trait Equals
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
Known subtypes

Attributes

Companion
trait
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
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]
Show all
object FieldBuilder

Attributes

Companion
trait
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
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Attributes

Companion
class
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
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Attributes

Companion
class
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.

Value parameters

locations

line and column that caused the error in the initial query

message

error message

path

path of the field that caused the error

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Attributes

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

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
object Operations

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
Operations.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
Supertypes
class Object
trait Matchable
class Any
object ScalarDecoder

Attributes

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

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class Field
object Selection

Attributes

Companion
trait
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
Selection.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
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
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
Supertypes
class Object
trait Matchable
class Any
object Zippable extends ZippableLowPriority

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type
Zippable.type

Attributes

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
Supertypes
class Object
trait Matchable
class Any
Known subtypes
Self type
object `__Value`

Attributes

Companion
trait
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
`__Value`.type