p

caliban

schema

package schema

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. Protected

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 ArgBuilderDerivation extends AnyRef
  3. case class FieldAttributes(isInput: Boolean, isSubscription: Boolean) extends Product with Serializable
  4. trait GenericSchema[R] extends SchemaDerivation[R] with TemporalSchema
  5. case class Operation[-R](opType: __Type, plan: Step[R]) extends Product with Serializable
  6. case class PartiallyAppliedField[V](name: String, description: Option[String], directives: List[Directive]) extends PartiallyAppliedFieldBase[V] with Product with Serializable
  7. abstract class PartiallyAppliedFieldBase[V] extends AnyRef
  8. case class PartiallyAppliedFieldLazy[V](name: String, description: Option[String], directives: List[Directive]) extends PartiallyAppliedFieldBase[V] with Product with Serializable
  9. case class PartiallyAppliedFieldWithArgs[V, A](name: String, description: Option[String], directives: List[Directive]) extends Product with Serializable
  10. 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

  11. sealed trait ReducedStep[-R] extends AnyRef
  12. case class RootSchema[-R](query: Operation[R], mutation: Option[Operation[R]], subscription: Option[Operation[R]]) extends Product with Serializable
  13. case class RootSchemaBuilder[-R](query: Option[Operation[R]], mutation: Option[Operation[R]], subscription: Option[Operation[R]], additionalTypes: List[__Type] = Nil) extends Product with Serializable
  14. case class RootType(queryType: __Type, mutationType: Option[__Type], subscriptionType: Option[__Type], additionalDirectives: List[__Directive] = List.empty) extends Product with Serializable
  15. 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()
  16. trait SchemaDerivation[R] extends LowPriorityDerivedSchema
  17. sealed trait Step[-R] extends AnyRef
  18. 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.

  19. trait SubscriptionSchemaDerivation extends AnyRef
  20. trait TemporalSchema extends AnyRef

Value Members

  1. object Annotations
  2. object ArgBuilder extends ArgBuilderDerivation
  3. object ReducedStep
  4. object Schema extends GenericSchema[Any]
  5. object Step
  6. object SubscriptionSchema extends SubscriptionSchemaDerivation
  7. object Types

Ungrouped