object Wrappers
- Alphabetic
- By Inheritance
- Wrappers
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
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
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def maxDepth(maxDepth: Int): ValidationWrapper[Any]
Returns a wrapper that checks that the query's depth is under a given max
Returns a wrapper that checks that the query's depth is under a given max
- maxDepth
the max allowed depth
- def maxFields(maxFields: Int): ValidationWrapper[Any]
Returns a wrapper that checks that the query has a limited number of fields
Returns a wrapper that checks that the query has a limited number of fields
- maxFields
the max allowed number of fields
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def onSlowQueries[R](duration: Duration)(f: (Duration, String) => URIO[R, Any]): OverallWrapper[R with Clock]
Returns a wrapper that runs a given function in case of slow queries
Returns a wrapper that runs a given function in case of slow queries
- duration
threshold above which queries are considered slow
- lazy val printErrors: OverallWrapper[Console]
Returns a wrapper that prints errors to the console
- def printSlowQueries(duration: Duration): OverallWrapper[Console with Clock]
Returns a wrapper that prints slow queries
Returns a wrapper that prints slow queries
- duration
threshold above which queries are considered slow
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def timeout(duration: Duration): OverallWrapper[Clock]
Returns a wrapper that times out queries taking more than a specified time.
Returns a wrapper that times out queries taking more than a specified time.
- duration
threshold above which queries should be timed out
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()