caliban.wrappers

Members list

Type members

Classlikes

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
object ApolloTracing

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
object Caching

Attributes

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

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
object DeferSupport

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
object FieldMetrics

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
sealed trait Wrapper[-R] extends GraphQLAspect[Nothing, 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.

Implementations can control the order at which this wrapper is executed by overriding the priority value. Setting a higher priority value will be executed first.

Attributes

Companion
object
Supertypes
trait GraphQLAspect[Nothing, R]
class Object
trait Matchable
class Any
Known subtypes
class CombinedWrapper[R]
class EffectfulWrapper[R]
object Empty.type
class FieldWrapper[R]
trait SimpleWrapper[R, E, A, Info]
trait ExecutionWrapper[R]
trait OverallWrapper[R]
trait ParsingWrapper[R]
Show all
Self type
Wrapper[R]
object Wrapper

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type
Wrapper.type
object Wrappers

Attributes

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

Deprecated classlikes

object ApolloCaching

Returns a wrapper which applies apollo caching response extensions

Returns a wrapper which applies apollo caching response extensions

Attributes

Deprecated
true
Supertypes
class Object
trait Matchable
class Any
Self type