graphql-engine/server/src-lib/Hasura
Antoine Leblanc 6c14a018e4 Run the reader context per schema block
### Description

This PR is a first step towards having a dedicated reader context per schema block. It adds the required Reader instance, and switches from a `SchemaT ReaderT` stack to a `ReaderT SchemaT` stack. Furthermore, it cleans up / harmonizes some of the top-level schema building functions.

Sources and remotes are now built each within their own run of `runReaderT`: for now, the reader context is the same in both cases, meaning no special care is required at the boundary of remote relationships.

Actions are explicitly run with the source context for now; we could envision creating a third and distinct context for them.

This PR is expected to be a no-op.

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5300
GitOrigin-RevId: a014e5b3504eb4ef740c820d305d6d2695f622f7
2022-08-08 13:05:51 +00:00
..
Backends server/nada: test mkUpdateCTE 2022-08-05 21:42:19 +00:00
Base server: Move ErrorMessage to its own package. 2022-07-27 04:38:12 +00:00
Cache server, pro: actually reformat the code-base using ormolu 2021-09-23 22:57:37 +00:00
Eventing Consolidate Arg/Env Parser Defaults and cleanup arg merging code 2022-08-05 00:29:52 +00:00
GraphQL Run the reader context per schema block 2022-08-08 13:05:51 +00:00
Incremental server: Move the schema parsers to their own library. 2022-08-05 13:53:39 +00:00
Metadata server: convert Metadata to DTO (smaller PR) 2022-08-01 12:50:00 +00:00
RQL Reformat instance declarations 2022-08-05 15:29:01 +00:00
Server multitenant: refactor config status updates 2022-08-05 06:31:07 +00:00
SQL Rewrite OpenAPI 2022-06-30 12:57:09 +00:00
App.hs multitenant: fix dubious config status updates during tenant start 2022-08-05 11:51:13 +00:00
EncJSON.hs Fix JSON encoding issue (fix hasura/graphql-engine#7543 and hasura/graphql-engine#8200) 2022-04-05 19:11:30 +00:00
GC.hs server: add explicit export lists in OSS server and enforce with warning 2021-11-04 16:09:38 +00:00
HTTP.hs Add Data Connector agent request logging, improve error messages, and add tracing support [GDW-83] 2022-07-11 08:05:40 +00:00
Incremental.hs server, pro: actually reformat the code-base using ormolu 2021-09-23 22:57:37 +00:00
Logging.hs Add Data Connector agent request logging, improve error messages, and add tracing support [GDW-83] 2022-07-11 08:05:40 +00:00
Name.hs server: support for Apollo federation 2022-07-25 15:54:41 +00:00
Prelude.hs Use witherable, remove catMaybes/mapMaybe 2022-07-29 14:53:16 +00:00
QueryTags.hs server: support query tags for MSSQL data sources 2022-04-28 19:34:45 +00:00
Session.hs Weeding (2/?) 2022-06-09 16:40:49 +00:00
Tracing.hs Add Data Connector agent request logging, improve error messages, and add tracing support [GDW-83] 2022-07-11 08:05:40 +00:00