Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
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
Instances
FromJSON CacheSize Source # | |
ToJSON CacheSize Source # | |
Bounded CacheSize Source # | |
Enum CacheSize Source # | |
Defined in Hasura.Cache.Bounded succ :: CacheSize -> CacheSize # pred :: CacheSize -> CacheSize # fromEnum :: CacheSize -> Int # enumFrom :: CacheSize -> [CacheSize] # enumFromThen :: CacheSize -> CacheSize -> [CacheSize] # enumFromTo :: CacheSize -> CacheSize -> [CacheSize] # enumFromThenTo :: CacheSize -> CacheSize -> CacheSize -> [CacheSize] # | |
Num CacheSize Source # | |
Defined in Hasura.Cache.Bounded | |
Read CacheSize Source # | |
Integral CacheSize Source # | |
Defined in Hasura.Cache.Bounded | |
Real CacheSize Source # | |
Defined in Hasura.Cache.Bounded toRational :: CacheSize -> Rational # | |
Show CacheSize Source # | |
Eq CacheSize Source # | |
Ord CacheSize Source # | |
Defined in Hasura.Cache.Bounded | |
FromEnv CacheSize Source # | |