caliban.schema

package caliban.schema

Members list

Packages

Type members

Classlikes

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Annotations
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
class 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

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes

Attributes

Supertypes
class Object
trait Matchable
class Any
Show all
Known subtypes
object auto
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
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
case object InvalidInputArgument extends NoStackTrace

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Product
trait Equals
trait NoStackTrace
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
Self 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
final case class PureStep(value: ResponseValue) extends ReducedStep[Any], Step[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 Step[Any]
class ReducedStep[Any]
class Object
trait Matchable
class Any
Show all
sealed abstract class ReducedStep[-R]

Attributes

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

Attributes

Companion
class
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
class Auto[A]
class SemiAuto[A]
Self type
Schema[R, T]

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
transparent trait SchemaVersionSpecific extends GenericSchema[Any]

Attributes

Supertypes
trait GenericSchema[Any]
trait SchemaDerivation[Any]
class Object
trait Matchable
class Any
Show all
Known subtypes
object Schema
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

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
object Types

Attributes

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