graphql-engine/server/lib
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
..
aeson-ordered Fix all warnings in internal libraries and enable -WError everywhere 2023-02-01 23:32:19 +00:00
api-tests Allow pg_run_sql as well as run_sql to remove some string-bodging 2023-02-02 14:04:52 +00:00
arrows-extra server: fix cabal and warnings for arrows related packages 2023-02-02 19:53:13 +00:00
dc-api Gardening: Enable and fix warnings in dc-api package 2023-02-02 05:48:25 +00:00
error-message [ci] test the libraries in server/lib 2023-02-02 17:32:48 +00:00
graphql-parser [ci] test the libraries in server/lib 2023-02-02 17:32:48 +00:00
hasura-prelude Remove MetadataStorageT, clean up error handling. 2023-02-03 01:05:09 +00:00
incremental [ci] test the libraries in server/lib 2023-02-02 17:32:48 +00:00
pg-client [ci] test the libraries in server/lib 2023-02-02 17:32:48 +00:00
resource-pool [ci] test the libraries in server/lib 2023-02-02 17:32:48 +00:00
schema-parsers [ci] test the libraries in server/lib 2023-02-02 17:32:48 +00:00
test-harness Allow pg_run_sql as well as run_sql to remove some string-bodging 2023-02-02 14:04:52 +00:00