Configurator
Attributes
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
Configurator.type
Members list
Type members
Classlikes
Configuration for the execution of a GraphQL query.
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
- Supertypes
Value members
Concrete methods
Enable or disable mutations for GET requests. See ExecutionConfiguration for more details
Enable or disable mutations for GET requests. See ExecutionConfiguration for more details
Attributes
Enable or disable introspection queries.
Enable or disable introspection queries.
Value parameters
- enable
-
if true, introspection queries are allowed.
Attributes
Sets an effect which will be used to create a new ZQuery zio.query.Cache for each query execution. This allows customizing the initial cache parameters or providing a custom implementation.
Sets an effect which will be used to create a new ZQuery zio.query.Cache for each query execution. This allows customizing the initial cache parameters or providing a custom implementation.
Attributes
- See also
-
ExecutionConfiguration for more details
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
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
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.