caliban
package caliban
- Alphabetic
- Public
- Protected
Package Members
- package execution
- package introspection
- package parsing
- package schema
- package validation
Type Members
- sealed trait CalibanError extends Throwable
The base type for all Caliban errors.
- class GraphQL[-R, -Q, -M, -S] extends AnyRef
A
GraphQL[R, Q, M, S]
represents a GraphQL interpreter for a query typeQ
, a mutation typeM
and a subscription typeS
, requiring a ZIO environment of typeR
to be ran.A
GraphQL[R, Q, M, S]
represents a GraphQL interpreter for a query typeQ
, a mutation typeM
and a subscription typeS
, requiring a ZIO environment of typeR
to be ran.It is intended to be created only once, typically when you start your server. The introspection schema will be generated when this class is instantiated.
- sealed trait ResponseValue extends AnyRef
- case class RootResolver[+Query, +Mutation, +Subscription](queryResolver: Query, mutationResolver: Option[Mutation], subscriptionResolver: Option[Subscription]) extends Product with Serializable
A
root resolver
contains resolvers for the 3 types of operations allowed in GraphQL: queries, mutations and subscriptions.A
root resolver
contains resolvers for the 3 types of operations allowed in GraphQL: queries, mutations and subscriptions.A
resolver
is a simple value of the case class describing the API.It's mandatory to have a query resolver, the 2 others are optional.
Value Members
- object CalibanError extends Serializable
- object GraphQL
- object Macros
- object Rendering
- object ResponseValue
- object RootResolver extends Serializable