graphql-engine/server/src-lib
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
..
Autodocodec server: codecs for backend configs 2023-03-30 15:53:55 +00:00
Control server: refactor Hasura.Metadata.Class 2023-04-03 13:36:50 +00:00
Data server: codecs for backend configs 2023-03-30 15:53:55 +00:00
Database/MSSQL Source catalog migrations minor enhancements 2022-11-01 22:42:40 +00:00
GHC Add allocation counter to trace spans and trace metadata 2022-08-18 21:57:59 +00:00
Hasura Remove app state reference in pro context 2023-04-13 15:12:35 +00:00
Net server: vendor used bits of 'ip' package to cut dependencies 2022-06-20 23:16:51 +00:00
Network Simplify Transformable Requests Module 2023-03-22 00:01:07 +00:00