Wrapper

sealed trait Wrapper[-R]

A Wrapper[-R] represents an extra layer of computation that can be applied on top of Caliban's query handling. There are different base types of wrappers:

A Wrapper[-R] represents an extra layer of computation that can be applied on top of Caliban's query handling. There are different base types of wrappers:

  • OverallWrapper to wrap the whole query processing
  • ParsingWrapper to wrap the query parsing only
  • ValidationWrapper to wrap the query validation only
  • ExecutionWrapper to wrap the query execution only
  • FieldWrapper to wrap each field execution

It is also possible to combine wrappers using |+| and to build a wrapper effectfully with EffectfulWrapper.

Companion
object
class Object
trait Matchable
class Any
trait SimpleWrapper[R, E, A, Info]
class FieldWrapper[R]

Value members

Concrete methods

def |+|[R1 <: R](that: Wrapper[R1]): Wrapper[R1]