caliban.schema

package caliban.schema

Members list

Packages

Type members

Classlikes

object Annotations

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
trait ArgBuilder[T]

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.

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.

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait Auto[A]
Self type

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Show all
Self type
ArgBuilder.type

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
object ArgBuilder.type
object auto.type

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
object ArgBuilder.type
object auto.type

Attributes

Supertypes
class Object
trait Matchable
class Any
Show all
Known subtypes
object auto.type
trait AutoSchemaDerivation[R] extends GenericSchema[R]

Attributes

Supertypes
trait GenericSchema[R]
trait SchemaDerivation[R]
class Object
trait Matchable
class Any
Show all

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait SchemaDerivation[R]
trait GenericSchema[R]
object Schema.type
case class FieldAttributes(isInput: Boolean, isSubscription: Boolean)

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Attributes

Supertypes
trait SchemaDerivation[R]
class Object
trait Matchable
class Any
Show all
Known subtypes
object Schema.type
case class Operation[-R](opType: `__Type`, plan: Step[R])

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class PartiallyAppliedField[V](name: String, description: Option[String], directives: List[Directive]) extends PartiallyAppliedFieldBase[V]

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
abstract class PartiallyAppliedFieldBase[V](name: String, description: Option[String], directives: List[Directive])

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
case class PartiallyAppliedFieldLazy[V](name: String, description: Option[String], directives: List[Directive]) extends PartiallyAppliedFieldBase[V]

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class PartiallyAppliedFieldWithArgs[V, A](name: String, description: Option[String], directives: List[Directive])

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object PrintDerived

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
case class PureStep(value: ResponseValue) extends Step[Any], ReducedStep[Any]

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.

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 parameters

value

the response value to return for that step

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait ReducedStep[Any]
trait Step[Any]
class Object
trait Matchable
class Any
Show all
sealed trait ReducedStep[-R]

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class PureStep
class DeferStep[R]
class ListStep[R]
class ObjectStep[R]
class QueryStep[R]
class StreamStep[R]
Show all
Self type
object ReducedStep

Attributes

Companion
trait
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
case class RootSchema[-R](query: Operation[R], mutation: Option[Operation[R]], subscription: Option[Operation[R]])

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class RootSchemaBuilder[-R](query: Option[Operation[R]], mutation: Option[Operation[R]], subscription: Option[Operation[R]], additionalTypes: List[`__Type`], schemaDirectives: List[Directive], schemaDescription: Option[String])

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class RootType(queryType: `__Type`, mutationType: Option[`__Type`], subscriptionType: Option[`__Type`], additionalTypes: List[`__Type`], additionalDirectives: List[`__Directive`], description: Option[String])

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
trait Schema[-R, T]

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).

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).

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait Auto[A]
trait SemiAuto[A]
Self type
Schema[R, T]
object Schema extends GenericSchema[Any]

Attributes

Companion
trait
Supertypes
trait GenericSchema[Any]
trait SchemaDerivation[Any]
class Object
trait Matchable
class Any
Show all
Self type
Schema.type

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait GenericSchema[R]
object Schema.type
sealed trait Step[-R]

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class PureStep
class FunctionStep[R]
class ListStep[R]
class ObjectStep[R]
class QueryStep[R]
class StreamStep[R]
Show all
object Step

Attributes

Companion
trait
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
Step.type

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

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

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
object SubscriptionSchema.type

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait GenericSchema[R]
object Schema.type
object Types

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
Types.type