graphql-engine/server/src-lib/Hasura/RQL/DML
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
..
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 Cut ties with RQL.DML.Internal 2022-04-27 15:37:23 +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