graphql-engine/server/src-lib/Hasura/Server
Samir Talwar 8db9b77c77 server: Reorganize quasi-quoted names.
Pretty much all quasi-quoted names in the server code base have ended up in `Hasura.GraphQL.Parser.Constants`. I'm now finding this unpleasant for two reasons:

1. I would like to factor out the parser code into its own Cabal package, and I don't want to have to expose all these names.
2. Most of them really have nothing to do with the parsers.

In order to remedy this, I have:

1. moved the names used by parser code to `Hasura.GraphQL.Parser.DirectiveName`, as they're all related to directives;
2. moved `Hasura.GraphQL.Parser.Constants` to `Hasura.Name`, changing the qualified import name from `G` to `Name`;
3. moved names only used in tests to the appropriate test case;
4. removed unused items from `Hasura.Name`; and
5. grouped related names.

Most of the changes are simply changing `G` to `Name`, which I find much more meaningful.

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4777
GitOrigin-RevId: a77aa0aee137b2b5e6faec94495d3a9fbfa1348b
2022-06-23 09:15:31 +00:00
..
API server: add update_source API and extend add_source to edit source customization 2022-06-22 07:07:28 +00:00
Auth server: Fix a bunch of HLint suggestions 2022-06-21 11:12:42 +00:00
Init server: add default naming convention to TenantConfig 2022-06-14 09:18:20 +00:00
Migrate server: Fix a bunch of HLint suggestions 2022-06-21 11:12:42 +00:00
Telemetry server/telemetry: support multiple sources 2022-06-15 08:03:31 +00:00
App.hs server: add default naming convention to TenantConfig 2022-06-14 09:18:20 +00:00
Auth.hs server: assorted minor clean-up around HTTP managers 2022-02-16 07:09:47 +00:00
CheckUpdates.hs Yeet some default-extensions 2022-03-16 00:40:17 +00:00
Compression.hs server, pro: actually reformat the code-base using ormolu 2021-09-23 22:57:37 +00:00
Cors.hs Yeet some default-extensions 2022-03-16 00:40:17 +00:00
Init.hs Fixes asyncActionsFetchIntervalEnv help message. 2022-06-23 05:07:13 +00:00
Limits.hs server: add explicit export lists in OSS server and enforce with warning 2021-11-04 16:09:38 +00:00
Logging.hs server: Refactor TByteString to SerializableBlob 2022-06-17 09:57:38 +00:00
Metrics.hs server: add metric for the metadata resource version 2022-03-08 23:00:27 +00:00
Middleware.hs server: assorted minor clean-up around HTTP managers 2022-02-16 07:09:47 +00:00
Migrate.hs Added BackendConfig to allow sources to share configuration of Data Connectors [GDW-78] 2022-04-29 02:14:10 +00:00
Name.hs server: Reorganize quasi-quoted names. 2022-06-23 09:15:31 +00:00
OpenAPI.hs server: refactor Hasura.GraphQL.Analyse 2022-05-04 10:57:55 +00:00
Rest.hs server: Reorganize quasi-quoted names. 2022-06-23 09:15:31 +00:00
SchemaCacheRef.hs Add unless/when related hints 2022-05-27 13:34:42 +00:00
SchemaUpdate.hs Remove RQL/Types.hs 2022-04-27 13:58:47 +00:00
Telemetry.hs server/telemetry: support multiple sources 2022-06-15 08:03:31 +00:00
Types.hs server/telemetry: support multiple sources 2022-06-15 08:03:31 +00:00
Utils.hs Weeding (2/?) 2022-06-09 16:40:49 +00:00
Version.hs server/ci: rework version baking, and cache dist-newstyle in CI 2022-04-05 15:59:09 +00:00