graphql-engine/server/lib
Samir Talwar 8be01ae9aa server/api-tests: Use setupTablesAction everywhere.
This removes calls to `setup` and `teardown` in favor of `setupTablesAction`.

Because this action untracks and drops tables (at least until we figure out how to make throwaway databases), the teardown phase can fail. I have added a wrapper which logs and discards exceptions as a workaround for now.

In the future, when we can simply drop the database, it will probably be sensible to catch "table already untracked" exceptions specifically and let them slide, while still failing on all other exceptions.

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6769
GitOrigin-RevId: 12cb8f81dd6aced892fe83c49b9a0bdbef8cc1ac
2022-11-09 09:36:43 +00:00
..
aeson-ordered Upgrade Ormolu to v0.5. 2022-11-02 20:55:13 +00:00
api-tests server/api-tests: Use setupTablesAction everywhere. 2022-11-09 09:36:43 +00:00
dc-api Add support for ordering by related tables and aggregates to the SQLite agent [GDC-313] 2022-11-09 06:06:58 +00:00
error-message server: Move the schema parsers to their own library. 2022-08-05 13:53:39 +00:00
graphql-parser-hs Upgrade Ormolu to v0.5. 2022-11-02 20:55:13 +00:00
hasura-prelude Remove some unnecessary OPTIONS_GHC pragmas 2022-10-07 17:27:08 +00:00
pg-client-hs server: improve DX for heroku integration 2022-11-08 03:55:30 +00:00
schema-parsers Some inlining and bang patterns to improve memory residency 2022-11-08 03:55:38 +00:00
test-harness server/api-tests: Use setupTablesAction everywhere. 2022-11-09 09:36:43 +00:00
common.yaml server: Move the schema parsers to their own library. 2022-08-05 13:53:39 +00:00