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:
- 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.
- Self Type
- Wrapper[R]
Linear Supertypes
Known Subclasses
Ordering
- Alphabetic
- By Inheritance
Inherited
- Wrapper
- GraphQLAspect
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
@@[LowerR1 >: Nothing, UpperR1 <: R](other: GraphQLAspect[LowerR1, UpperR1]): GraphQLAspect[LowerR1, UpperR1]
- Definition Classes
- GraphQLAspect
-
def
apply[R1 <: R](that: GraphQL[R1]): GraphQL[R1]
- Definition Classes
- Wrapper → GraphQLAspect
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- val priority: Int
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
- def |+|[R1 <: R](that: Wrapper[R1]): Wrapper[R1]