package schema
- Alphabetic
- Public
- All
Type Members
- trait AnnotationsVersionSpecific extends AnyRef
-
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 ArgBuilderDerivation extends CommonArgBuilderDerivation
- trait ArgBuilderInstances extends ArgBuilderDerivation
- trait AutoArgBuilderDerivation extends ArgBuilderInstances with LowPriorityDerivedArgBuilder
- trait AutoSchemaDerivation[R] extends GenericSchema[R] with LowPriorityDerivedSchema
- trait CommonArgBuilderDerivation extends AnyRef
- trait CommonSchemaDerivation[R] extends AnyRef
- case class FieldAttributes(isInput: Boolean, isSubscription: Boolean) extends Product with Serializable
- trait GenericSchema[R] extends SchemaDerivation[R] with TemporalSchema
- case class Operation[-R](opType: __Type, plan: Step[R]) extends Product with Serializable
- case class PartiallyAppliedField[V](name: String, description: Option[String], directives: List[Directive]) extends PartiallyAppliedFieldBase[V] with Product with Serializable
- abstract class PartiallyAppliedFieldBase[V] extends AnyRef
- case class PartiallyAppliedFieldLazy[V](name: String, description: Option[String], directives: List[Directive]) extends PartiallyAppliedFieldBase[V] with Product with Serializable
- case class PartiallyAppliedFieldWithArgs[V, A](name: String, description: Option[String], directives: List[Directive]) extends Product with Serializable
-
final
case class
PureStep(value: ResponseValue) extends ReducedStep[Any] with Step[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 abstract class 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 RootSchemaBuilder[-R](query: Option[Operation[R]], mutation: Option[Operation[R]], subscription: Option[Operation[R]], additionalTypes: List[__Type] = Nil, schemaDirectives: List[Directive] = Nil, schemaDescription: Option[String] = None) extends Product with Serializable
- case class RootType(queryType: __Type, mutationType: Option[__Type], subscriptionType: Option[__Type], additionalTypes: List[__Type] = List.empty, additionalDirectives: List[__Directive] = List.empty, description: Option[String] = None) 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( ... )
- trait SchemaDerivation[R] extends CommonSchemaDerivation[R]
- 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. - trait SubscriptionSchemaDerivation extends AnyRef
- trait TemporalSchema extends AnyRef
Value Members
- object Annotations extends AnnotationsVersionSpecific
- object ArgBuilder extends ArgBuilderInstances
- object InvalidInputArgument extends Throwable with NoStackTrace with Product with Serializable
- object ReducedStep
- object Schema extends GenericSchema[Any]
- object Step
- object SubscriptionSchema extends SubscriptionSchemaDerivation
- object Types