graphql-engine/server/src-lib/Hasura/GraphQL
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
..
Execute Remove MetadataStorageT, clean up error handling. 2023-02-03 01:05:09 +00:00
Schema Integrating Native Query metadata and schema 2023-01-30 16:06:34 +00:00
Transport Remove MetadataStorageT, clean up error handling. 2023-02-03 01:05:09 +00:00
Analyse.hs Upgrade Ormolu to v0.5. 2022-11-02 20:55:13 +00:00
ApolloFederation.hs server: remove built-in scalars from graphql schema printer 2022-11-10 18:53:05 +00:00
Context.hs server: runParse returns QErr 2022-06-16 12:22:30 +00:00
Execute.hs Remove MetadataStorageT, clean up error handling. 2023-02-03 01:05:09 +00:00
Explain.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
Namespace.hs Move MkTypename and NamingCase into their own modules. 2022-07-12 14:01:28 +00:00
ParameterizedQueryHash.hs Implement HLint suggestions and turn warnings into errors 2022-07-01 10:50:33 +00:00
RemoteServer.hs server: plumb StoredIntrospection while building the Schema Cache 2023-01-20 14:52:36 +00:00
Schema.hs Integrating Native Query metadata and schema 2023-01-30 16:06:34 +00:00