graphql-engine/server/src-lib/Hasura/Backends/Postgres/Instances
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
..
API.hs Evie/postgres/module docs 2022-02-08 09:25:35 +00:00
Execute.hs Cut ties with RQL.DML.Internal 2022-04-27 15:37:23 +00:00
Metadata.hs Evie/postgres/module docs 2022-02-08 09:25:35 +00:00
Schema.hs Simplify getRolePermInfo 2022-04-27 12:17:15 +00:00
Transport.hs Remove RQL/Types.hs 2022-04-27 13:58:47 +00:00
Types.hs server: streaming subscriptions execution (Incremental PR - 2) 2022-04-07 14:43:01 +00:00