Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- data CacheStaticConfig = CacheStaticConfig {}
- class Monad m => HasCacheStaticConfig m where
- data CacheDynamicConfig = CacheDynamicConfig {
- _cdcFunctionPermsCtx :: InferFunctionPermissions
- _cdcRemoteSchemaPermsCtx :: RemoteSchemaPermissions
- _cdcSQLGenCtx :: SQLGenCtx
- _cdcExperimentalFeatures :: HashSet ExperimentalFeature
- _cdcDefaultNamingConvention :: NamingCase
- _cdcMetadataDefaults :: MetadataDefaults
- _cdcApolloFederationStatus :: ApolloFederationStatus
- _cdcCloseWebsocketsOnMetadataChangeStatus :: CloseWebsocketsOnMetadataChangeStatus
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).
CacheStaticConfig | |
|
class Monad m => HasCacheStaticConfig m where Source #
Instances
HasCacheStaticConfig AppM Source # | |
Defined in Hasura.App | |
HasCacheStaticConfig CacheBuild Source # | |
HasCacheStaticConfig m => HasCacheStaticConfig (Handler m) Source # | |
Defined in Hasura.Server.App | |
HasCacheStaticConfig m => HasCacheStaticConfig (ExceptT e m) Source # | |
Defined in Hasura.RQL.DDL.Schema.Cache.Config | |
HasCacheStaticConfig m => HasCacheStaticConfig (ReaderT r m) Source # | |
Defined in Hasura.RQL.DDL.Schema.Cache.Config | |
HasCacheStaticConfig m => HasCacheStaticConfig (StateT s m) Source # | |
Defined in Hasura.RQL.DDL.Schema.Cache.Config |
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).
Instances
Eq CacheDynamicConfig Source # | |
Defined in Hasura.RQL.DDL.Schema.Cache.Config (==) :: CacheDynamicConfig -> CacheDynamicConfig -> Bool # (/=) :: CacheDynamicConfig -> CacheDynamicConfig -> Bool # |