graphql-engine/server/src-lib/Hasura/Backends/Postgres
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
..
Connection Yeet some default-extensions 2022-03-16 00:40:17 +00:00
DDL Remove RQL/Types.hs 2022-04-27 13:58:47 +00:00
Execute Cut ties with RQL.DML.Internal 2022-04-27 15:37:23 +00:00
Instances Cut ties with RQL.DML.Internal 2022-04-27 15:37:23 +00:00
Schema Remove RQL/Types.hs 2022-04-27 13:58:47 +00:00
SQL Cut ties with RQL.DML.Internal 2022-04-27 15:37:23 +00:00
Translate Cut ties with RQL.DML.Internal 2022-04-27 15:37:23 +00:00
Types Yeet some default-extensions 2022-03-16 00:40:17 +00:00
Connection.hs server: split the Postgres Connection module 2022-03-09 07:15:17 +00:00
DDL.hs Evie/postgres/module docs 2022-02-08 09:25:35 +00:00