graphql-engine/server
Antoine Leblanc 74513e351f Use an enum for EndpointMethod and fix incorrect response aggregation.
### Description

This small PR improves the representation of an endpoint method from `Text` to an enum of the supported methods. Additionally, it cleans some of the instances defined on surrounding types (such as Postgres-specific instances on Endpoint types).

Due to a name conflict, this makes `RQL.Types.Endpoint` impossible to re-export from `RQL.Types`, which in turn forces several other modules to import it explicitly, which I think is fine since we want to ultimately get rid of `RQL.Types`.

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/3965
GitOrigin-RevId: 33869007d0d818ddf486fb61d1f6099f9dad7570
2022-03-13 07:41:02 +00:00
..
bench-wrk server, pro: actually reformat the code-base using ormolu 2021-09-23 22:57:37 +00:00
benchmarks ci: hide old benchmark reports for PRs with many comments 2022-02-24 20:09:17 +00:00
documentation Enable remote joins from remote schemas in the execution engine. 2022-03-09 03:18:22 +00:00
packaging ci: add support for linux/arm64 docker image 2021-12-09 09:34:22 +00:00
src-exec server: add metric for the metadata resource version 2022-03-08 23:00:27 +00:00
src-lib Use an enum for EndpointMethod and fix incorrect response aggregation. 2022-03-13 07:41:02 +00:00
src-rsr server/postgres: improve fetching tables' and functions' metadata (from database) 2022-03-08 13:03:14 +00:00
src-test Reduce the size of SelectSpec test to reduce memory usage. 2022-03-10 03:06:55 +00:00
tests/integration server: add metric for the metadata resource version 2022-03-08 23:00:27 +00:00
tests-hspec Migrate all HSpec tests to unified setup/teardown 2022-03-10 11:19:13 +00:00
tests-py Use an enum for EndpointMethod and fix incorrect response aggregation. 2022-03-13 07:41:02 +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 server: testing guidelines 2022-03-08 09:53:27 +00:00
graphql-engine.cabal Feature/improved webhook debug endpoint errors 2022-03-10 23:23:55 +00:00
Makefile ci: misc. cleanup, naming 2022-01-03 06:26:39 +00:00
STYLE.md server, CI: use ormolu as a formatter for Haskell sources 2021-09-23 21:23:21 +00:00
testing-guidelines.md server: testing guidelines 2022-03-08 09:53:27 +00:00