object Configurator
- Alphabetic
- By Inheritance
- Configurator
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- case class ExecutionConfiguration(skipValidation: Boolean = false, enableIntrospection: Boolean = true, allowMutationsOverGetRequests: Boolean = false, queryExecution: QueryExecution = QueryExecution.Parallel, validations: List[QueryValidation] = AllValidations) extends Product with Serializable
Configuration for the execution of a GraphQL query.
Configuration for the execution of a GraphQL query.
- skipValidation
if true, the query will not be validated (in that case, the
validations
field is ignored). Default: false.- enableIntrospection
if true, introspection queries are allowed. Default: true.
- allowMutationsOverGetRequests
if true, mutations are allowed for GET requests. Note that this is highly discouraged as it goes against the recommended practices. Default: false.
- queryExecution
the execution strategy to use (sequential, parallel, batched). Default: parallel.
- validations
the validations to run on the query during the validation phase. Default: all available validations.
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]) @HotSpotIntrinsicCandidate() @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- 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
- @HotSpotIntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- def setAllowMutationsOverGetRequests(allow: Boolean): URIO[Scope, Unit]
Enable or disable mutations for GET requests.
Enable or disable mutations for GET requests. See ExecutionConfiguration for more details
- def setEnableIntrospection(enable: Boolean): URIO[Scope, Unit]
Enable or disable introspection queries.
Enable or disable introspection queries.
- enable
if true, introspection queries are allowed.
- def setQueryExecution(queryExecution: QueryExecution): URIO[Scope, Unit]
Set the execution strategy to use (sequential, parallel, batched).
Set the execution strategy to use (sequential, parallel, batched).
- queryExecution
the execution strategy to use.
- def setSkipValidation(skip: Boolean): URIO[Scope, Unit]
Skip validation of the query.
Skip validation of the query.
- skip
if true, the query will not be validated (in that case, the
validations
field is ignored).
- def setValidations(validations: List[QueryValidation]): URIO[Scope, Unit]
Set the validations to run on the query during the validation phase.
Set the validations to run on the query during the validation phase.
- validations
the validations to run on the query during the validation phase.
- 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(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)