graphql-engine/server/src-lib/Hasura
Antoine Leblanc e99f9a2f57 Remove MetadataStorageT, clean up error handling.
## Description

This PR removes `MetadataStorageT`, and cleans up all top-level error handling. In short: this PR changes `MonadMetadataStorage` to explicitly return a bunch of `Either QErr a`, instead of relying on the stack providing a `MonadError QErr`. Since we implement that class on the base monad *below any ExceptT*, this removes a lot of very complicated instances that make assumptions about the shape of the stack.

On the back of this, we can remove several layers of ExceptT from the core of the code, including the one in `RunT`, which allows us to remove several instances of `liftEitherM . runExceptT`.

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7689
GitOrigin-RevId: 97d600154d690f58c0b93fb4cc2d30fd383fd8b8
2023-02-03 01:05:09 +00:00
..
Backends Fixing issues with SQLite FKs in Schema and Suggest Relationships API Docs 2023-02-02 11:37:32 +00:00
Base server/pro/multitenant: Postgres connection routing using kriti templates 2023-01-25 07:14:31 +00:00
Cache server, pro: actually reformat the code-base using ormolu 2021-09-23 22:57:37 +00:00
Eventing Remove MetadataStorageT, clean up error handling. 2023-02-03 01:05:09 +00:00
GraphQL Remove MetadataStorageT, clean up error handling. 2023-02-03 01:05:09 +00:00
Metadata Remove MetadataStorageT, clean up error handling. 2023-02-03 01:05:09 +00:00
NativeQuery Bump autodocodec to 0.2.0.3, ditch Data.Voidable 2023-02-02 10:54:59 +00:00
RemoteSchema server: fix tracing bug where some errors prevent spans from being emitted 2023-01-25 03:38:21 +00:00
RQL Remove MetadataStorageT, clean up error handling. 2023-02-03 01:05:09 +00:00
Server Remove MetadataStorageT, clean up error handling. 2023-02-03 01:05:09 +00:00
SQL server: plumb StoredIntrospection while building the Schema Cache 2023-01-20 14:52:36 +00:00
Tracing server: support 128-bit trace ids 2022-09-20 02:50:06 +00:00
App.hs Remove MetadataStorageT, clean up error handling. 2023-02-03 01:05:09 +00:00
EncJSON.hs server: plumb StoredIntrospection while building the Schema Cache 2023-01-20 14:52:36 +00:00
GC.hs Upgrade Ormolu to v0.5. 2022-11-02 20:55:13 +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
Logging.hs server: log when events of scheduled & event triggers are fetched from database for delivery 2023-01-30 06:08:08 +00:00
Name.hs server/postgres: fix the schema types conflict between aggregation predicates and table selection aggregates 2022-10-21 13:28:43 +00:00
PingSources.hs [server] regularly ping selected sources 2022-11-23 16:41:46 +00:00
QueryTags.hs add omit_request_id flag 2023-01-31 00:28:50 +00:00
Session.hs server/pro/multitenant: Postgres connection routing using kriti templates 2023-01-25 07:14:31 +00:00
ShutdownLatch.hs multitenant: make shutdown logic more abstract 2022-11-23 07:53:19 +00:00
Tracing.hs server: fix tracing bug where some errors prevent spans from being emitted 2023-01-25 03:38:21 +00:00