graphql-engine/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
..
bench-wrk frontend: switch cli and server to use the new nx assets 2023-01-25 12:07:01 +00:00
benchmarks Add benchmarks for allowlist operations 2022-11-01 17:28:15 +00:00
documentation Add a "roles and permissions" deep dive 2023-01-17 09:41:36 +00:00
lib Remove MetadataStorageT, clean up error handling. 2023-02-03 01:05:09 +00:00
src-emit-metadata-openapi server: initial set of DTO types for metadata 2022-06-27 16:33:31 +00:00
src-exec [server] allow feature flags to be overwritten by env vars 2023-01-26 09:41:39 +00:00
src-lib Remove MetadataStorageT, clean up error handling. 2023-02-03 01:05:09 +00:00
src-rsr ci: tag release v2.18.0-beta.1 2023-01-30 13:45:59 +00:00
src-test Extract Hasura.Incremental into lib/hasura-incremental 2023-02-01 12:25:33 +00:00
test-manual Document and automate spinning up AlloyDB for testing. 2022-11-24 14:16:21 +00:00
test-mssql server: Split the integration tests out into their own directories. 2022-11-17 12:56:26 +00:00
test-postgres Remove MetadataStorageT, clean up error handling. 2023-02-03 01:05:09 +00:00
tests-py [server] re-add native sql output 2023-01-27 14:38:07 +00:00
.dockerignore update packages (#251) 2018-08-08 13:10:13 +05:30
.gitignore server: Clean up Cabal project files 2022-04-07 07:16:12 +00:00
.ormolu Upgrade Ormolu to v0.5. 2022-11-02 20:55:13 +00:00
commit_diff.txt Rewrite GraphQL schema generation and query parsing (close #2801) (#4111) 2020-08-21 12:27:01 -05:00
COMPILING-ON-MACOS.md frontend: switch cli and server to use the new nx assets 2023-01-25 12:07:01 +00:00
CONTRIBUTING.md frontend: switch cli and server to use the new nx assets 2023-01-25 12:07:01 +00:00
graphql-engine.cabal [ci] test the libraries in server/lib 2023-02-02 17:32:48 +00:00
Makefile ci: misc. cleanup, naming 2022-01-03 06:26:39 +00:00
STYLE.md Nix: Use nixpkgs-fmt to format everything. 2022-06-20 13:02:45 +00:00
testing-guidelines.md Extract the test harness from the Hspec tests 2022-10-04 08:31:26 +00:00
troubleshooting.md Create troubleshooting.md 2022-05-30 09:18:44 +00:00
VERSIONS.json ghc 9.2.5 2022-11-15 11:26:42 +00:00