Packages

p

caliban

schema

package schema

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. All

Type Members

  1. trait ArgBuilder[T] extends AnyRef

    Typeclass that defines how to build an argument of type T from an input caliban.InputValue.

    Typeclass that defines how to build an argument of type T from an input caliban.InputValue. Every type that can be passed as an argument needs an instance of ArgBuilder.

    Annotations
    @implicitNotFound( ... )
  2. trait DerivationSchema[R] extends AnyRef
  3. trait GenericSchema[R] extends DerivationSchema[R]
  4. case class PureStep(value: ResponseValue) extends Step[Any] with ReducedStep[Any] with Product with Serializable

    Represents the step of getting a pure response value without any effect.

    Represents the step of getting a pure response value without any effect. PureStep is both a Step and a ReducedStep to avoid boxing/unboxing pure values during step reduction.

    value

    the response value to return for that step

  5. sealed trait ReducedStep[-R] extends AnyRef
  6. case class RootSchema[-R](query: Operation[R], mutation: Option[Operation[R]], subscription: Option[Operation[R]]) extends Product with Serializable
  7. case class RootType(queryType: __Type, mutationType: Option[__Type], subscriptionType: Option[__Type]) extends Product with Serializable
  8. trait Schema[-R, T] extends AnyRef

    Typeclass that defines how to map the type T to the according GraphQL concepts: how to introspect it and how to resolve it.

    Typeclass that defines how to map the type T to the according GraphQL concepts: how to introspect it and how to resolve it. R is the ZIO environment required by the effects in the schema (Any if nothing required).

    Annotations
    @implicitNotFound( ... )
  9. sealed trait Step[-R] extends AnyRef
  10. trait SubscriptionSchema[-T] extends AnyRef

    Typeclass used to guarantee that the Subscriptions type is either Unit or a case class with zio.stream.ZStream for fields.

Value Members

  1. object Annotations
  2. object ArgBuilder
  3. object GenericSchema
  4. object ReducedStep
  5. object RootSchema extends Serializable
  6. object Schema extends GenericSchema[Any]
  7. object Step
  8. object SubscriptionSchema
  9. object Types

Ungrouped