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
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 processingParsingWrapper
to wrap the query parsing onlyValidationWrapper
to wrap the query validation onlyExecutionWrapper
to wrap the query execution onlyFieldWrapper
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
- Known subtypes
-
class CombinedWrapper[R]class EffectfulWrapper[R]object Empty.typeclass 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
- true
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
ApolloCaching.type
In this article