graphql-engine/server
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
..
bench-wrk server, pro: actually reformat the code-base using ormolu 2021-09-23 22:57:37 +00:00
benchmarks ci: hide old benchmark reports for PRs with many comments 2022-02-24 20:09:17 +00:00
documentation server/tests: unify HASURA_BIGQUERY_SERVICE_KEY and HASURA_BIGQUERY_SERVICE_ACCOUNT env vars 2022-03-14 07:50:35 +00:00
packaging ci: use pg_dump from postgres 14 2022-04-18 06:25:02 +00:00
src-exec Remove RQL/Types.hs 2022-04-27 13:58:47 +00:00
src-gdw-api GDW Agent Test Suite [GDW-79] 2022-04-10 04:48:30 +00:00
src-lib Cut ties with RQL.DML.Internal 2022-04-27 15:37:23 +00:00
src-rsr ci: tag release v2.6.0 2022-04-27 10:12:15 +00:00
src-test Remove RQL/Types.hs 2022-04-27 13:58:47 +00:00
tests-gdw-api GDW Agent Test Suite [GDW-79] 2022-04-10 04:48:30 +00:00
tests-hspec Remove RQL/Types.hs 2022-04-27 13:58:47 +00:00
tests-py Remove all functions from RQL.Types.hs 2022-04-26 15:13:57 +00:00
.dockerignore update packages (#251) 2018-08-08 13:10:13 +05:30
.gitignore server: Clean up Cabal project files 2022-04-07 07:16:12 +00:00
commit_diff.txt Rewrite GraphQL schema generation and query parsing (close #2801) (#4111) 2020-08-21 12:27:01 -05:00
COMPILING-ON-M1.md Update COMPILING-ON-M1.md 2022-04-18 08:15:01 +00:00
CONTRIBUTING.md server: Clean up Cabal project files 2022-04-07 07:16:12 +00:00
graphql-engine.cabal Remove RQL/Types.hs 2022-04-27 13:58:47 +00:00
Makefile ci: misc. cleanup, naming 2022-01-03 06:26:39 +00:00
STYLE.md server, CI: use ormolu as a formatter for Haskell sources 2021-09-23 21:23:21 +00:00
testing-guidelines.md server: testing guidelines 2022-03-08 09:53:27 +00:00