mirror of
https://github.com/zhigang1992/graphql-engine.git
synced 2026-06-13 01:08:19 +08:00
* add types to represent unparsed http gql requests
This will help when we add caching of frequently used ASTs
* query plan caching
* move livequery to execute
* add multiplexed module
* session variable can be customised depending on the context
Previously the value was always "current_setting('hasura.user')"
* get rid of typemap requirement in reusable plan
* subscriptions are multiplexed when possible
* use lazytx for introspection to avoid acquiring a pg connection
* refactor to make execute a completely decoupled module
* don't issue a transaction for a query
* don't use current setting for explained sql
* move postgres related types to a different module
* validate variableValues on postgres before multiplexing subs
* don't user current_setting for queries over ws
* plan_cache is only visible when developer flag is enabled
* introduce 'batch size' when multiplexing subscriptions
* bump stackage to 13.16
* fix schema_stitching test case error code
* store hashes instead of actual responses for subscriptions
* internal api to dump subscriptions state
* remove PlanCache from SchemaCacheRef
* allow live query options to be configured on server startup
* capture metrics for multiplexed subscriptions
* more metrics captured for multiplexed subs
* switch to tvar based hashmap for faster snapshotting
* livequery modules do not expose internal details
* fix typo in live query env vars
* switch to hasura's pg-client-hs
54 lines
1.5 KiB
YAML
54 lines
1.5 KiB
YAML
# For more information, see: http://docs.haskellstack.org/en/stable/yaml_configuration.html
|
|
|
|
# Specifies the GHC version and set of packages available (e.g., lts-3.5, nightly-2015-09-21, ghc-7.10.2)
|
|
# resolver: lts-10.8
|
|
resolver: lts-13.16
|
|
# Local packages, usually specified by relative directory name
|
|
packages:
|
|
- '.'
|
|
# - '../../../graphql-parser-hs'
|
|
# - extra-libs/aeson
|
|
# - extra-libs/logger/wai-logger
|
|
|
|
# Packages to be pulled from upstream that are not in the resolver (e.g., acme-missiles-0.3)
|
|
extra-deps:
|
|
- git: https://github.com/hasura/pg-client-hs.git
|
|
commit: 85f9c2c15e4fa09f2e2a86dbb23149b5256bdd34
|
|
- git: https://github.com/hasura/graphql-parser-hs.git
|
|
commit: ff95d9a96aa5ef9e5390f8712958e4118e3831f6
|
|
- ginger-0.8.4.0
|
|
|
|
# extra dep for pg-client-hs
|
|
- select-0.4.0.1
|
|
|
|
- primitive-extras-0.7.1
|
|
- stm-hamt-1.2.0.2
|
|
- stm-containers-1.1.0.2
|
|
|
|
- reroute-0.5.0.0
|
|
- Spock-core-0.13.0.0
|
|
|
|
# Override default flag values for local packages and extra-deps
|
|
flags: {}
|
|
|
|
# Extra package databases containing global packages
|
|
extra-package-dbs: []
|
|
|
|
# Control whether we use the GHC we find on the path
|
|
# system-ghc: true
|
|
|
|
# Require a specific version of stack, using version ranges
|
|
# require-stack-version: -any # Default
|
|
# require-stack-version: >= 1.0.0
|
|
|
|
# Override the architecture used by stack, especially useful on Windows
|
|
# arch: i386
|
|
# arch: x86_64
|
|
|
|
# Extra directories used by stack for building
|
|
# extra-include-dirs: [/path/to/dir]
|
|
# extra-lib-dirs: [/path/to/dir]
|
|
|
|
# Allow a newer minor version of GHC than the snapshot specifies
|
|
# compiler-check: newer-minor
|