graphql-engine/server/src-lib
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
..
Control server: simplify interpretation of concrete monads into abstract arrows 2022-04-04 12:36:35 +00:00
Data Refactor insert mutations IR use of "default values" 2022-04-21 16:34:04 +00:00
Database/MSSQL (Fix #8267) Handle subscriptions in MSSQL when results exceed 2048 characters 2022-03-21 12:16:14 +00:00
GHC Yeet some default-extensions 2022-03-16 00:40:17 +00:00
Hasura Cut ties with RQL.DML.Internal 2022-04-27 15:37:23 +00:00
Network Yeet some default-extensions 2022-03-16 00:40:17 +00:00