p

caliban

package caliban

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. All

Type Members

  1. sealed trait CalibanError extends Throwable

    The base type for all Caliban errors.

  2. trait GraphQL[-R, -Q, -M, -S, +E] extends AnyRef

    A GraphQL[R, Q, M, S, E] represents a GraphQL interpreter for a query type Q, a mutation type M and a subscription type S, whose execution requires a ZIO environment of type R and can fail with an E.

    A GraphQL[R, Q, M, S, E] represents a GraphQL interpreter for a query type Q, a mutation type M and a subscription type S, whose execution requires a ZIO environment of type R and can fail with an E.

    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.

  3. case class GraphQLResponse[+E](data: ResponseValue, errors: List[E]) extends Product with Serializable

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

  4. sealed trait InputValue extends AnyRef
  5. sealed trait ResponseValue extends AnyRef
  6. 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.

  7. sealed trait Value extends InputValue with ResponseValue

Value Members

  1. object CalibanError extends Serializable
  2. object GraphQL
  3. object InputValue
  4. object Macros
  5. object Rendering
  6. object ResponseValue
  7. object RootResolver extends Serializable
  8. object Value

Ungrouped