FieldWrapper

abstract class FieldWrapper[-R](val wrapPureValues: Boolean) extends Wrapper[R]

Wrapper for each individual field. Takes a function from a ZQuery[R, Nothing, ResponseValue] and a FieldInfo and that returns a ZQuery[R, CalibanError, ResponseValue]. If wrapPureValues is true, every single field will be wrapped, which could have an impact on performances. If false, simple pure values will be ignored.

Wrapper for each individual field. Takes a function from a ZQuery[R, Nothing, ResponseValue] and a FieldInfo and that returns a ZQuery[R, CalibanError, ResponseValue]. If wrapPureValues is true, every single field will be wrapped, which could have an impact on performances. If false, simple pure values will be ignored.

trait Wrapper[R]
class Object
trait Matchable
class Any

Value members

Abstract methods

def wrap[R1 <: R](query: ZQuery[R1, ExecutionError, ResponseValue], info: FieldInfo): ZQuery[R1, ExecutionError, ResponseValue]

Inherited methods

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

Concrete fields

val wrapPureValues: Boolean