graphql-engine/server/src-lib/Hasura/RQL/DDL
Antoine Leblanc cbe0479406 Remove unrelated functions from GraphQL.Schema.Common
### Description

There were several functions in `GraphQL.Schema.Common` that were unrelated to the schema building process, and were about metadata manipulation or dependency computation. Having those functions in the schema part of the code forces several places in the code to depend on the schema code, despite being completely unrelated.

This PR moves those functions where they make sense: alongside similar functions in `RQL.Types.*`, and rewrites `getRemoteDependencies` for clarity (it was using the term "indirect dependency" in a way that was inconsistent with the rest of the code).

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4568
GitOrigin-RevId: 948a18cebbb337a8bb6367c1f2d2ef5628209d96
2022-05-27 15:41:06 +00:00
..
Metadata Remove RQL/Types.hs 2022-04-27 13:58:47 +00:00
Permission server/bigquery: generate graphql schema for table computed fields 2022-05-25 10:25:38 +00:00
Relationship Remove RQL/Types.hs 2022-04-27 13:58:47 +00:00
RemoteRelationship Replaces litName splices with name quasiquotes 2022-04-18 19:44:04 +00:00
RemoteSchema Remove RQL/Types.hs 2022-04-27 13:58:47 +00:00
Schema Remove unrelated functions from GraphQL.Schema.Common 2022-05-27 15:41:06 +00:00
Webhook server: Rework internal webhook request transform components 2022-03-23 20:24:44 +00:00
Action.hs server: do not serialize env vars in logs or errors: PR II - Actions 2022-05-23 11:13:49 +00:00
ApiLimit.hs Remove RQL/Types.hs 2022-04-27 13:58:47 +00:00
ComputedField.hs Add unless/when related hints 2022-05-27 13:34:42 +00:00
CustomTypes.hs Remove RQL/Types.hs 2022-04-27 13:58:47 +00:00
Endpoint.hs Remove RQL/Types.hs 2022-04-27 13:58:47 +00:00
EventTrigger.hs Remove RQL/Types.hs 2022-04-27 13:58:47 +00:00
GraphqlSchemaIntrospection.hs Remove RQL/Types.hs 2022-04-27 13:58:47 +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 Remove RQL/Types.hs 2022-04-27 13:58:47 +00:00
Metadata.hs Added BackendConfig to allow sources to share configuration of Data Connectors [GDW-78] 2022-04-29 02:14:10 +00:00
Network.hs Remove RQL/Types.hs 2022-04-27 13:58:47 +00:00
Permission.hs server/bigquery: generate graphql schema for table computed fields 2022-05-25 10:25:38 +00:00
QueryCollection.hs Remove RQL/Types.hs 2022-04-27 13:58:47 +00:00
QueryTags.hs Remove RQL/Types.hs 2022-04-27 13:58:47 +00:00
Relationship.hs Fix a /= [] and add hint. 2022-05-27 12:28:24 +00:00
RemoteRelationship.hs Remove RQL/Types.hs 2022-04-27 13:58:47 +00:00
RemoteSchema.hs Remove unrelated functions from GraphQL.Schema.Common 2022-05-27 15:41:06 +00:00
ScheduledTrigger.hs Remove RQL/Types.hs 2022-04-27 13:58:47 +00:00
Schema.hs Yeet some default-extensions 2022-03-16 00:40:17 +00:00