caliban.wrappers.Wrapper
See theWrapper companion object
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:
OverallWrapperto wrap the whole query processingParsingWrapperto wrap the query parsing onlyValidationWrapperto wrap the query validation onlyExecutionWrapperto wrap the query execution onlyFieldWrapperto 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
- Graph
-
- Supertypes
- Known subtypes
-
class CombinedWrapper[R]class EffectfulWrapper[R]object Emptyclass FieldWrapper[R]trait IntrospectionWrapper[R]trait ExecutionWrapper[R]trait OverallWrapper[R]trait ParsingWrapper[R]trait ValidationWrapper[R]
- Self type
-
Wrapper[R]
Members list
In this article