caliban
package caliban
- Alphabetic
- Public
- All
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 ResolvedValue extends AnyRef
- sealed trait ResponseValue extends ResolvedValue
-
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 Rendering
-
object
ResolvedValue
Resolved values that require more processing
-
object
ResponseValue
Resolved values fully processed, can be returned to client
- object RootResolver extends Serializable