graphql-engine/server/src-lib/Hasura/RQL/DDL
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
..
Metadata Feature/improved webhook debug endpoint errors 2022-03-10 23:23:55 +00:00
Permission Replace "identity column" with "column mutability" data for all backends 2022-02-03 14:15:35 +00:00
Relationship server, pro: actually reformat the code-base using ormolu 2021-09-23 22:57:37 +00:00
RemoteRelationship Replace all occurrences of mapMaybe id by catMaybes. 2022-03-03 20:13:10 +00:00
RemoteSchema Changed RemoteSchemaIntrospection's internal representation from a list to a hashmap. 2021-11-30 14:47:50 +00:00
Schema Use an enum for EndpointMethod and fix incorrect response aggregation. 2022-03-13 07:41:02 +00:00
Webhook Feature/improved webhook debug endpoint errors 2022-03-10 23:23:55 +00:00
Action.hs Feature/improved webhook debug endpoint errors 2022-03-10 23:23:55 +00:00
ApiLimit.hs server: add explicit export lists in OSS server and enforce with warning 2021-11-04 16:09:38 +00:00
ComputedField.hs Customization of computed field GraphQL schema descriptions 2022-02-15 23:17:27 +00:00
CustomTypes.hs server: add support for nested object type in action 2021-12-15 23:52:43 +00:00
Endpoint.hs Use an enum for EndpointMethod and fix incorrect response aggregation. 2022-03-13 07:41:02 +00:00
EventTrigger.hs Feature/improved webhook debug endpoint errors 2022-03-10 23:23:55 +00:00
GraphqlSchemaIntrospection.hs server: add explicit export lists in OSS server and enforce with warning 2021-11-04 16:09:38 +00:00
Headers.hs server: add explicit export lists in OSS server and enforce with warning 2021-11-04 16:09:38 +00:00
InheritedRoles.hs server: enable inherited roles by default 2021-10-05 12:29:32 +00:00
Metadata.hs Use an enum for EndpointMethod and fix incorrect response aggregation. 2022-03-13 07:41:02 +00:00
Network.hs server: add explicit export lists in OSS server and enforce with warning 2021-11-04 16:09:38 +00:00
Permission.hs Replace "identity column" with "column mutability" data for all backends 2022-02-03 14:15:35 +00:00
QueryCollection.hs server, pro: add support for per-role allowlists 2022-02-08 16:54:49 +00:00
QueryTags.hs server: add explicit export lists in OSS server and enforce with warning 2021-11-04 16:09:38 +00:00
Relationship.hs server/mssql: add cascade to mssql_run_sql 2021-10-22 14:50:13 +00:00
RemoteRelationship.hs Build schema cache for relationships from remote schemas 2022-02-03 18:59:32 +00:00
RemoteSchema.hs Build schema cache for relationships from remote schemas 2022-02-03 18:59:32 +00:00
ScheduledTrigger.hs Feature/improved webhook debug endpoint errors 2022-03-10 23:23:55 +00:00
Schema.hs server, pro: actually reformat the code-base using ormolu 2021-09-23 22:57:37 +00:00