graphql-engine/server/src-lib/Hasura/Server
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
..
API Remove MetadataStorageT, clean up error handling. 2023-02-03 01:05:09 +00:00
Auth server: update the jwt refresh thread to poll 2023-01-06 06:40:40 +00:00
Init Refactor/move namingcase default into arg merging 2023-01-30 05:00:54 +00:00
Migrate server: provide an option to enable event triggers on logically replicated tables 2022-11-29 17:43:13 +00:00
Telemetry server/telemetry: add experimental feature list 2022-12-28 07:16:35 +00:00
App.hs Remove MetadataStorageT, clean up error handling. 2023-02-03 01:05:09 +00:00
Auth.hs server: update the jwt refresh thread to poll 2023-01-06 06:40:40 +00:00
CheckUpdates.hs Upgrade Ormolu to v0.5. 2022-11-02 20:55:13 +00:00
Compression.hs server: don't compress small responses 2022-12-13 17:50:01 +00:00
Cors.hs Upgrade Ormolu to v0.5. 2022-11-02 20:55:13 +00:00
Init.hs Re-enable Optimizations in Hasura.Server.Init Module 2023-01-31 00:28:58 +00:00
Limits.hs Remove MetadataStorageT, clean up error handling. 2023-02-03 01:05:09 +00:00
Logging.hs Remove MetadataStorageT, clean up error handling. 2023-02-03 01:05:09 +00:00
MetadataOpenAPI.hs server: codecs for TableMetadata, FunctionMetadata, and permissions 2022-09-12 20:31:07 +00:00
Metrics.hs server: add event_processing_time metric 2022-12-06 15:11:04 +00:00
Middleware.hs server: assorted minor clean-up around HTTP managers 2022-02-16 07:09:47 +00:00
Migrate.hs [server] metadata API for native access 2023-01-16 17:21:22 +00:00
Name.hs server: Reorganize quasi-quoted names. 2022-06-23 09:15:31 +00:00
OpenAPI.hs Rewrite OpenAPI 2022-06-30 12:57:09 +00:00
Prometheus.hs server: replicate log-based data transfer metrics as prometheus metrics 2022-12-28 03:49:33 +00:00
Rest.hs Remove MetadataStorageT, clean up error handling. 2023-02-03 01:05:09 +00:00
SchemaCacheRef.hs Upgrade Ormolu to v0.5. 2022-11-02 20:55:13 +00:00
SchemaUpdate.hs Remove MetadataStorageT, clean up error handling. 2023-02-03 01:05:09 +00:00
Telemetry.hs server/telemetry: add experimental feature list 2022-12-28 07:16:35 +00:00
Types.hs Refactor/move namingcase default into arg merging 2023-01-30 05:00:54 +00:00
Utils.hs Upgrade Ormolu to v0.5. 2022-11-02 20:55:13 +00:00
Version.hs Amend console assets versioning scheme for CE 2022-08-26 12:39:16 +00:00