caliban.schema

Members list

Concise view

Type members

Classlikes

Attributes

Graph
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
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait Auto[A]
Self type

Attributes

Companion:
trait
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Attributes

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

Attributes

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

Attributes

Graph
Supertypes
trait GenericSchema[R]
class Object
trait Matchable
class Any

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Attributes

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

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Attributes

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

Attributes

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

Attributes

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

Attributes

Graph
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

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

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type
case class PureStep(value: ResponseValue) extends Step[Any] with 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.

Attributes

value

the response value to return for that step

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

Attributes

Companion:
object
Graph
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]
Self type

Attributes

Companion:
trait
Graph
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

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

Attributes

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

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
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
Graph
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
Graph
Supertypes
trait GenericSchema[Any]
trait SchemaDerivation[Any]
class Object
trait Matchable
class Any
Self type
Schema.type

Attributes

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

Attributes

Companion:
object
Graph
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]
object Step

Attributes

Companion:
trait
Graph
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
Graph
Supertypes
class Object
trait Matchable
class Any

Attributes

Companion:
trait
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

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

Attributes

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

Attributes

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