graphql-engine/server/src-lib/Hasura/Server
Auke Booij 4c8ea8e865 Import pg-client-hs as PG
Result of executing the following commands:
```shell
# replace "as Q" imports with "as PG" (in retrospect this didn't need a regex)
git grep -lE 'as Q($|[^a-zA-Z])' -- '*.hs' | xargs sed -i -E 's/as Q($|[^a-zA-Z])/as PG\1/'
# replace " Q." with " PG."
git grep -lE ' Q\.' -- '*.hs' | xargs sed -i 's/ Q\./ PG./g'
# replace "(Q." with "(PG."
git grep -lE '\(Q\.' -- '*.hs' | xargs sed -i 's/(Q\./(PG./g'
# ditto, but for [, |, { and !
git grep -lE '\[Q\.' -- '*.hs' | xargs sed -i 's/\[Q\./\[PG./g'
git grep -l '|Q\.' -- '*.hs' | xargs sed -i 's/|Q\./|PG./g'
git grep -l '{Q\.' -- '*.hs' | xargs sed -i 's/{Q\./{PG./g'
git grep -l '!Q\.' -- '*.hs' | xargs sed -i 's/!Q\./!PG./g'
```
(Doing the `grep -l` before the `sed`, instead of `sed` on the entire codebase, reduces the number of `mtime` updates, and so reduces how many times a file gets recompiled while checking intermediate results.)

Finally, I manually removed a broken and unused `Arbitrary` instance in `Hasura.RQL.Network`. (It used an `import Test.QuickCheck.Arbitrary as Q` statement, which was erroneously caught by the first find-replace command.)

After this PR, `Q` is no longer used as an import qualifier. That was not the goal of this PR, but perhaps it's a useful fact for future efforts.

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5933
GitOrigin-RevId: 8c84c59d57789111d40f5d3322c5a885dcfbf40e
2022-09-20 19:55:51 +00:00
..
API Import pg-client-hs as PG 2022-09-20 19:55:51 +00:00
Auth multitenant: refactor config status updates 2022-08-05 06:31:07 +00:00
Init Parse dont validate dangerous boolean collapse 2022-08-26 04:38:41 +00:00
Migrate Import pg-client-hs as PG 2022-09-20 19:55:51 +00:00
Telemetry server/telemetry: support multiple sources 2022-06-15 08:03:31 +00:00
App.hs server: support 128-bit trace ids 2022-09-20 02:50:06 +00:00
Auth.hs Monomorphize AuthHookG 2022-08-04 02:25:41 +00:00
CheckUpdates.hs Yeet some default-extensions 2022-03-16 00:40:17 +00:00
Compression.hs benchmarks: Add Accept-Encoding: gzip headers (NO REGRESSION) 2022-08-25 06:43:18 +00:00
Cors.hs Yeet some default-extensions 2022-03-16 00:40:17 +00:00
Init.hs Use NonNegative types for arg/env parsing 2022-08-17 01:09:19 +00:00
Limits.hs server/pro: log when rate limits and time limits are hit 2022-07-27 06:40:21 +00:00
Logging.hs PLAT-75: Log uncompressed_response_size 2022-09-13 15:37:14 +00:00
MetadataOpenAPI.hs server: codecs for TableMetadata, FunctionMetadata, and permissions 2022-09-12 20:31:07 +00:00
Metrics.hs server: add active_livequeries, active_streaming_subscriptions EKG metrics 2022-08-25 15:52:22 +00:00
Middleware.hs server: assorted minor clean-up around HTTP managers 2022-02-16 07:09:47 +00:00
Migrate.hs Import pg-client-hs as PG 2022-09-20 19:55:51 +00:00
Name.hs server: Reorganize quasi-quoted names. 2022-06-23 09:15:31 +00:00
OpenAPI.hs Rewrite OpenAPI 2022-06-30 12:57:09 +00:00
Prometheus.hs server: add event trigger metrics for Prometheus 2022-08-15 05:34:04 +00:00
Rest.hs Use witherable, remove catMaybes/mapMaybe 2022-07-29 14:53:16 +00:00
SchemaCacheRef.hs server, pro server, console: provide an option to not include rows count while fetching scheduled events 2022-09-15 19:12:04 +00:00
SchemaUpdate.hs Import pg-client-hs as PG 2022-09-20 19:55:51 +00:00
Telemetry.hs Amend console assets versioning scheme for CE 2022-08-26 12:39:16 +00:00
Types.hs Import pg-client-hs as PG 2022-09-20 19:55:51 +00:00
Utils.hs Import pg-client-hs as PG 2022-09-20 19:55:51 +00:00
Version.hs Amend console assets versioning scheme for CE 2022-08-26 12:39:16 +00:00