ExecutionConfiguration

caliban.Configurator.ExecutionConfiguration
case class ExecutionConfiguration(skipValidation: Boolean = ..., enableIntrospection: Boolean = ..., allowMutationsOverGetRequests: Boolean = ..., queryExecution: QueryExecution = ..., validations: List[QueryValidation] = ..., queryCache: UIO[Cache] = ...)

Configuration for the execution of a GraphQL query.

Value parameters

allowMutationsOverGetRequests

if true, mutations are allowed for GET requests. Note that this is highly discouraged as it goes against the recommended practices. Default: false.

enableIntrospection

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

queryCache

An effect used to create a zio.query.Cache to use with zio.query.DataSource-backed ZQueries. The effect will be run for each query execution to create a new cache, so ensure that any side-effects are properly captured in the provided effect. Default: The default empty cache implementation from zio-query

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

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type

Members list

Value members

Concrete methods

Creates a ZLayer that can be used to set this configuration at the application level

Creates a ZLayer that can be used to set this configuration at the application level

Attributes

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product