ValidationWrapper

caliban.wrappers.Wrapper.ValidationWrapper

Wrapper for the query validation stage. Wraps a function from a Document to a ZIO[R, ValidationError, ExecutionRequest].

Attributes

Graph
Supertypes
trait Wrapper[R]
trait GraphQLAspect[Nothing, R]
class Object
trait Matchable
class Any
Show all
Self type

Members list

Value members

Concrete methods

Returns a new wrapper which skips the wrap function if the query is an introspection query.

Returns a new wrapper which skips the wrap function if the query is an introspection query.

Attributes

Inherited methods

def @@[LowerR1, UpperR1 <: R](other: GraphQLAspect[LowerR1, UpperR1]): GraphQLAspect[LowerR1, UpperR1]

Attributes

Inherited from:
GraphQLAspect
def apply[R1 <: R](that: GraphQL[R1]): GraphQL[R1]

Attributes

Inherited from:
Wrapper
def wrap[R1 <: R](f: Document => ZIO[R1, ValidationError, ExecutionRequest]): Info => ZIO[R1, E, A]

Attributes

Inherited from:
SimpleWrapper
def |+|[R1 <: R](that: Wrapper[R1]): Wrapper[R1]

Attributes

Inherited from:
Wrapper

Inherited fields

val priority: Int

Attributes

Inherited from:
Wrapper