Packages

o

caliban

Configurator

object Configurator

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Configurator
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. case class ExecutionConfiguration(skipValidation: Boolean = false, enableIntrospection: Boolean = true, allowMutationsOverGetRequests: Boolean = false, queryExecution: QueryExecution = QueryExecution.Parallel, validations: List[QueryValidation] = AllValidations, queryCache: UIO[Cache] = Cache.empty(Trace.empty)) 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.

    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

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  8. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  9. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  10. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  11. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  13. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  14. 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

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

    Enable or disable introspection queries.

    Enable or disable introspection queries.

    enable

    if true, introspection queries are allowed.

  16. def setQueryCache(mkCache: UIO[Cache]): URIO[Scope, Unit]

    Sets an effect which will be used to create a new ZQuery zio.query.Cache for each query execution.

    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.

    See also

    ExecutionConfiguration for more details

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

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

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

  20. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  21. def toString(): String
    Definition Classes
    AnyRef → Any
  22. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  23. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  24. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated
    Deprecated

Inherited from AnyRef

Inherited from Any

Ungrouped