graphql-engine-1.0.0: GraphQL API over Postgres
Safe HaskellNone
LanguageHaskell2010

Hasura.Cache.Bounded

Description

graphql-engine used to have a query plan cache, which cached the execution plan for a given graphql query (sans JSON variable values). After the PDV refactor (see hasura/graphql-engine#4111), this query plan cache was not needed anymore. For backwards compatibility reasons, we still need to parse the configuration options from the CLI, although the CLI option gets ignored.

Eventually, we can decide to stop parsing the CLI option --query-plan-cache-size, at which point this module can be removed.

Documentation

newtype CacheSize Source #

Constructors

CacheSize 

Fields

Instances

Instances details
Bounded CacheSize Source # 
Instance details

Defined in Hasura.Cache.Bounded

Enum CacheSize Source # 
Instance details

Defined in Hasura.Cache.Bounded

Eq CacheSize Source # 
Instance details

Defined in Hasura.Cache.Bounded

Integral CacheSize Source # 
Instance details

Defined in Hasura.Cache.Bounded

Num CacheSize Source # 
Instance details

Defined in Hasura.Cache.Bounded

Ord CacheSize Source # 
Instance details

Defined in Hasura.Cache.Bounded

Read CacheSize Source # 
Instance details

Defined in Hasura.Cache.Bounded

Real CacheSize Source # 
Instance details

Defined in Hasura.Cache.Bounded

Show CacheSize Source # 
Instance details

Defined in Hasura.Cache.Bounded

FromJSON CacheSize Source # 
Instance details

Defined in Hasura.Cache.Bounded

Methods

parseJSON :: Value -> Parser CacheSize

parseJSONList :: Value -> Parser [CacheSize]

ToJSON CacheSize Source # 
Instance details

Defined in Hasura.Cache.Bounded

Methods

toJSON :: CacheSize -> Value

toEncoding :: CacheSize -> Encoding

toJSONList :: [CacheSize] -> Value

toEncodingList :: [CacheSize] -> Encoding

FromEnv CacheSize Source # 
Instance details

Defined in Hasura.Server.Init.Env