graphql-engine/server/src-lib/Hasura/GraphQL/Execute
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
..
Action Remove MetadataStorageT, clean up error handling. 2023-02-03 01:05:09 +00:00
RemoteJoin server/pro/multitenant: Postgres connection routing using kriti templates 2023-01-25 07:14:31 +00:00
Subscription server/pro/multitenant: Postgres connection routing using kriti templates 2023-01-25 07:14:31 +00:00
Action.hs Remove MetadataStorageT, clean up error handling. 2023-02-03 01:05:09 +00:00
Backend.hs Remove MetadataStorageT, clean up error handling. 2023-02-03 01:05:09 +00:00
Common.hs Remove MetadataStorageT, clean up error handling. 2023-02-03 01:05:09 +00:00
Inline.hs Upgrade Ormolu to v0.5. 2022-11-02 20:55:13 +00:00
Instances.hs Rename Data Wrapper to Data Connector [GDW-89] 2022-05-02 05:04:07 +00:00
Mutation.hs Remove MetadataStorageT, clean up error handling. 2023-02-03 01:05:09 +00:00
Query.hs add omit_request_id flag 2023-01-31 00:28:50 +00:00
Remote.hs ghc 9.2.5 2022-11-15 11:26:42 +00:00
RemoteJoin.hs server, pro: actually reformat the code-base using ormolu 2021-09-23 22:57:37 +00:00
Resolve.hs Upgrade Ormolu to v0.5. 2022-11-02 20:55:13 +00:00
Types.hs server, pro: actually reformat the code-base using ormolu 2021-09-23 22:57:37 +00:00