graphql-engine/server
Antoine Leblanc e682868350 Remove app state reference in pro context
### Description

**This PR is on top of #8655. Its diff is [this commit](8dd6e8899e).**

This PR removes the app state reference in pro's context, allowing us to build the context _before_ building the firsts schema cache. It does so by introducing `MetricsConfigRef`, based on the very similar `TLSAllowListRef`.

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8665
Co-authored-by: Auke Booij <164426+abooij@users.noreply.github.com>
GitOrigin-RevId: d0a614f699f41cd50801b125c6b1e40bd2f629e2
2023-04-13 15:12:35 +00:00
..
benchmarks Revert "server/benchmarks: update the postgres version to 15" 2023-03-13 15:27:38 +00:00
documentation Fix haskell error in example code block 2023-04-04 11:28:35 +00:00
lib Create a schema dependency from logical models to their types 2023-04-13 09:56:29 +00:00
src-emit-metadata-openapi harmonize network manager handling 2023-02-22 15:55:54 +00:00
src-exec [feature branch] EE Lite Trials 2023-04-05 08:59:09 +00:00
src-lib Remove app state reference in pro context 2023-04-13 15:12:35 +00:00
src-rsr ci: tag release v2.23.0 2023-04-13 14:17:10 +00:00
src-test De-duplicate prepared logical model arguments 2023-04-12 09:05:48 +00:00
test-manual server/test-manual: A way to start PostgreSQL with a read replica. 2023-03-28 09:20:51 +00:00
test-mssql server: Split the integration tests out into their own directories. 2022-11-17 12:56:26 +00:00
test-postgres small cleanups of pro's init 2023-04-06 15:37:15 +00:00
tests-py server/tests-py: Run test_websocket_init_cookie.py in parallel. 2023-04-12 16:26:22 +00:00
.dockerignore update packages (#251) 2018-08-08 13:10:13 +05:30
.gitignore server: Clean up Cabal project files 2022-04-07 07:16:12 +00:00
.ormolu Upgrade Ormolu to v0.5. 2022-11-02 20:55:13 +00:00
commit_diff.txt Rewrite GraphQL schema generation and query parsing (close #2801) (#4111) 2020-08-21 12:27:01 -05:00
COMPILING-ON-MACOS.md frontend: switch cli and server to use the new nx assets 2023-01-25 12:07:01 +00:00
CONTRIBUTING.md nix: Switch to nixpkgs-unstable. 2023-03-24 20:36:48 +00:00
graphql-engine.cabal feature(server): Get _all_ source tables 2023-04-05 20:16:14 +00:00
Makefile ci: misc. cleanup, naming 2022-01-03 06:26:39 +00:00
STYLE.md Nix: Use nixpkgs-fmt to format everything. 2022-06-20 13:02:45 +00:00
testing-guidelines.md Extract the test harness from the Hspec tests 2022-10-04 08:31:26 +00:00
troubleshooting.md Create troubleshooting.md 2022-05-30 09:18:44 +00:00
VERSIONS.json nix: Switch to nixpkgs-unstable. 2023-03-24 20:36:48 +00:00