graphql-engine/server/src-lib/Hasura/Backends/Postgres/SQL
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
..
DML.hs Cut ties with RQL.DML.Internal 2022-04-27 15:37:23 +00:00
Error.hs multitenant: fix concurrent metadata init (closes #3819) 2022-03-24 11:51:59 +00:00
IdentifierUniqueness.hs Evie/postgres/module docs 2022-02-08 09:25:35 +00:00
Types.hs Replaces litName splices with name quasiquotes 2022-04-18 19:44:04 +00:00
Value.hs Cut ties with RQL.DML.Internal 2022-04-27 15:37:23 +00:00