graphql-engine/server/src-lib/Hasura/RQL/DML
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
..
Count.hs Remove RQL/Types.hs 2022-04-27 13:58:47 +00:00
Delete.hs Remove RQL/Types.hs 2022-04-27 13:58:47 +00:00
Insert.hs Remove RQL/Types.hs 2022-04-27 13:58:47 +00:00
Internal.hs Remove unrelated functions from GraphQL.Schema.Common 2022-05-27 15:41:06 +00:00
Select.hs Remove RQL/Types.hs 2022-04-27 13:58:47 +00:00
Types.hs Yeet some default-extensions 2022-03-16 00:40:17 +00:00
Update.hs Remove RQL/Types.hs 2022-04-27 13:58:47 +00:00