package schema
- Alphabetic
- Public
- All
Type Members
-
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 ofArgBuilder
.- Annotations
- @implicitNotFound( ... )
- trait DerivationSchema[R] extends AnyRef
- trait GenericSchema[R] extends DerivationSchema[R]
-
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
- sealed trait ReducedStep[-R] extends AnyRef
- case class RootSchema[-R](query: Operation[R], mutation: Option[Operation[R]], subscription: Option[Operation[R]]) extends Product with Serializable
- case class RootType(queryType: __Type, mutationType: Option[__Type], subscriptionType: Option[__Type]) extends Product with Serializable
-
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( ... )
- sealed trait Step[-R] extends AnyRef
-
trait
SubscriptionSchema[-T] extends AnyRef
Typeclass used to guarantee that the Subscriptions type is either
Unit
or a case class withzio.stream.ZStream
for fields.
Value Members
- object Annotations
- object ArgBuilder
- object GenericSchema
- object ReducedStep
- object RootSchema extends Serializable
- object Schema extends GenericSchema[Any]
- object Step
- object SubscriptionSchema
- object Types