graphql-engine/server/src-lib/Hasura/RQL/DDL/Schema
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
..
Cache Use an enum for EndpointMethod and fix incorrect response aggregation. 2022-03-13 07:41:02 +00:00
Cache.hs Use an enum for EndpointMethod and fix incorrect response aggregation. 2022-03-13 07:41:02 +00:00
Catalog.hs Metadata code cleanups 2022-02-18 12:47:56 +00:00
Diff.hs Customize column GraphQL schema descriptions 2022-03-09 06:35:46 +00:00
Enum.hs server, pro: actually reformat the code-base using ormolu 2021-09-23 22:57:37 +00:00
Function.hs server: add explicit export lists in OSS server and enforce with warning 2021-11-04 16:09:38 +00:00
LegacyCatalog.hs Customization of computed field GraphQL schema descriptions 2022-02-15 23:17:27 +00:00
Rename.hs Customize column GraphQL schema descriptions 2022-03-09 06:35:46 +00:00
Source.hs server: add explicit export lists in OSS server and enforce with warning 2021-11-04 16:09:38 +00:00
Table.hs Customize column GraphQL schema descriptions 2022-03-09 06:35:46 +00:00