Configurator

caliban.Configurator$

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Concise view

Type members

Classlikes

case class ExecutionConfiguration(skipValidation: Boolean, enableIntrospection: Boolean, queryExecution: QueryExecution, validations: List[QueryValidation])

Configuration for the execution of a GraphQL query.

Configuration for the execution of a GraphQL query.

Attributes

enableIntrospection

if true, introspection queries are allowed. Default: true.

queryExecution

the execution strategy to use (sequential, parallel, batched). Default: parallel.

skipValidation

if true, the query will not be validated (in that case, the validations field is ignored). Default: false.

validations

the validations to run on the query during the validation phase. Default: all available validations.

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Concrete methods

def setEnableIntrospection(enable: Boolean): URIO[Scope, Unit]

Enable or disable introspection queries.

Enable or disable introspection queries.

Attributes

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).

Attributes

queryExecution

the execution strategy to use.

def setSkipValidation(skip: Boolean): URIO[Scope, Unit]

Skip validation of the query.

Skip validation of the query.

Attributes

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.

Attributes

validations

the validations to run on the query during the validation phase.