Configurator

caliban.Configurator$
object Configurator

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

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.

Value parameters

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.

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Value members

Concrete methods

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

Enable or disable introspection queries.

Enable or disable introspection queries.

Value parameters

enable

if true, introspection queries are allowed.

Attributes

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

Value parameters

queryExecution

the execution strategy to use.

Attributes

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

Skip validation of the query.

Skip validation of the query.

Value parameters

skip

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

Attributes

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.

Value parameters

validations

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

Attributes