graphql-engine-1.0.0: GraphQL API over Postgres
Safe HaskellSafe-Inferred
LanguageHaskell2010

Hasura.RQL.DDL.Schema.Cache.Config

Synopsis

Documentation

data CacheStaticConfig Source #

This type aggregates all of the "static" configuration of the cache build.

Static arguments are the ones that will not change during the execution of the engine. They are a subset of the environment of the engine (see AppEnv and Note [Hasura Application State] for more information).

While AppEnv has access to the union of *all* the static configuration of the engine, more specific parts of the code should avoid relying directly on it to avoid being tied to unrelated parts of the codebase. (See FIXME).

Constructors

CacheStaticConfig 

Fields

data CacheDynamicConfig Source #

This type aggregates all of the "dynamic" configuration of the cache build.

Dynamic arguments are the ones that might change during the execution of the engine. They are a subset of the AppContext (see Note [Hasura Application State] for more information).

While AppContext has access to the union of *all* the dynamic configuration of the engine, more specific parts of the code should avoid relying directly on it to avoid being tied to unrelated parts of the codebase. (See FIXME).