caliban.wrappers
package caliban.wrappers
Members list
Type members
Classlikes
object ApolloPersistedQueries
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
object ApolloTracing
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
ApolloTracing.type
object CostEstimation
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
CostEstimation.type
object DeferSupport
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
DeferSupport.type
object FieldMetrics
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
FieldMetrics.type
object IncrementalDelivery
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
IncrementalDelivery.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:
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
- 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]Show all
- Self type
-
Wrapper[R]
object Wrapper
Deprecated classlikes
object ApolloCaching
Returns a wrapper which applies apollo caching response extensions
Returns a wrapper which applies apollo caching response extensions
Attributes
- Deprecated
-
[Since version 2.4.0]Use `caliban.wrappers.Caching` for a more flexible implementation - Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
ApolloCaching.type
In this article