graphql-engine/server
Antoine Leblanc dfe9a046f6 Factor backends' metadata in hspec tests.
## Description

This PR adds a `defaultSourceMetadata` expression to each backend's harness file, and introduces `setSource` and `setSources` to factor out all the calls to `replace_metadata` in the tests.

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/3425
GitOrigin-RevId: 5eacb156ffa198123262759eb2bbdebe8ab09fd7
2022-01-25 16:35:44 +00:00
..
bench-wrk server, pro: actually reformat the code-base using ormolu 2021-09-23 22:57:37 +00:00
benchmarks bump python test suite dependencies 2022-01-17 07:40:56 +00:00
documentation Add documentation scaffolding for first sync-up. 2022-01-25 13:18:22 +00:00
packaging ci: add support for linux/arm64 docker image 2021-12-09 09:34:22 +00:00
src-exec server/tests: initial work on a test suite for DB-to-DB joins 2021-10-20 20:02:34 +00:00
src-lib Fix REST endpoints with path segments not showing correctly in the OpenAPI spec 2022-01-25 06:28:47 +00:00
src-rsr tag release v2.1.1 2021-12-17 12:38:06 +00:00
src-test server: add tests for transaction commit/rollback 2022-01-21 12:49:12 +00:00
tests/integration server/mssql: support read replicas 2022-01-04 11:54:56 +00:00
tests-hspec Factor backends' metadata in hspec tests. 2022-01-25 16:35:44 +00:00
tests-py Fix REST endpoints with path segments not showing correctly in the OpenAPI spec 2022-01-25 06:28:47 +00:00
.dockerignore update packages (#251) 2018-08-08 13:10:13 +05:30
.gitignore server/citus: feature branch 2021-05-21 02:47:51 +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-M1.md update contributing and compiling on m1 2022-01-21 11:21:49 +00:00
CONTRIBUTING.md update contributing and compiling on m1 2022-01-21 11:21:49 +00:00
graphql-engine.cabal Add README.md to tests-hspec and reorganize module namespace 2022-01-21 07:49:31 +00:00
Makefile ci: misc. cleanup, naming 2022-01-03 06:26:39 +00:00
Setup.hs server, pro: actually reformat the code-base using ormolu 2021-09-23 22:57:37 +00:00
STYLE.md server, CI: use ormolu as a formatter for Haskell sources 2021-09-23 21:23:21 +00:00