graphql-engine/server/src-lib/Hasura
Antoine Leblanc f684fecc6c Cut ties with RQL.DML.Internal
## Description

As the name suggests, `DML.Internal` contains internal implementation details of RQL's DML. However, a lot of unrelated parts of the codebase still use some of the code it contains. This PR fixes this, and removes all imports of `RQL.DML.Internal` from outside of `RQL.DML`. Most of the time, this involves moving a function out of `DML.Internal` to an underlying module (see `getRolePermInfo`) or moving a function _back_ into it (see `checkRetCols`).

This PR also clarifies a bit the situation with `withTyAnn` and `withTypeAnn` by renaming the former into `withScalarTypeAnn` and moving them together. Worth noting: there might be a bug lurking in that function, as it doesn't seem to use the proper type annotations for some extension types!

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4380
GitOrigin-RevId: c8ae5b4e8378fefc0bcccf778d97813df727d3cb
2022-04-27 15:37:23 +00:00
..
Backends Cut ties with RQL.DML.Internal 2022-04-27 15:37:23 +00:00
Base multitenant: fix concurrent metadata init (closes #3819) 2022-03-24 11:51:59 +00:00
Cache server, pro: actually reformat the code-base using ormolu 2021-09-23 22:57:37 +00:00
Eventing Remove RQL/Types.hs 2022-04-27 13:58:47 +00:00
GraphQL Cut ties with RQL.DML.Internal 2022-04-27 15:37:23 +00:00
Incremental Yeet some default-extensions 2022-03-16 00:40:17 +00:00
Metadata Remove RQL/Types.hs 2022-04-27 13:58:47 +00:00
RQL Cut ties with RQL.DML.Internal 2022-04-27 15:37:23 +00:00
Server Remove RQL/Types.hs 2022-04-27 13:58:47 +00:00
SQL Yeet some default-extensions 2022-03-16 00:40:17 +00:00
App.hs Remove RQL/Types.hs 2022-04-27 13:58:47 +00:00
EncJSON.hs Fix JSON encoding issue (fix hasura/graphql-engine#7543 and hasura/graphql-engine#8200) 2022-04-05 19:11:30 +00:00
GC.hs server: add explicit export lists in OSS server and enforce with warning 2021-11-04 16:09:38 +00:00
HTTP.hs server: http ip blocklist (closes #2449) 2022-02-25 13:30:57 +00:00
Incremental.hs server, pro: actually reformat the code-base using ormolu 2021-09-23 22:57:37 +00:00
Logging.hs Yeet some default-extensions 2022-03-16 00:40:17 +00:00
Prelude.hs Initial GDW Query Generation 2022-04-08 06:49:40 +00:00
QueryTags.hs server: add explicit export lists in OSS server and enforce with warning 2021-11-04 16:09:38 +00:00
Session.hs Add remote relationships from remote schemas in schema parser generators 2022-03-14 16:22:50 +00:00
Tracing.hs Remove Unique from Definition 2021-12-01 16:21:35 +00:00