graphql-engine/server/src-lib/Hasura
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
..
Backends server: Reorganize quasi-quoted names. 2022-06-23 09:15:31 +00:00
Base server: migrate to aeson-2 in preparation for ghc 9.2 upgrade 2022-06-08 15:32:27 +00:00
Cache server, pro: actually reformat the code-base using ormolu 2021-09-23 22:57:37 +00:00
Eventing server: Refactor TByteString to SerializableBlob 2022-06-17 09:57:38 +00:00
GraphQL server: Reorganize quasi-quoted names. 2022-06-23 09:15:31 +00:00
Incremental server: migrate to aeson-2 in preparation for ghc 9.2 upgrade 2022-06-08 15:32:27 +00:00
Metadata server/telemetry: support multiple sources 2022-06-15 08:03:31 +00:00
RQL server: Reorganize quasi-quoted names. 2022-06-23 09:15:31 +00:00
Server server: Reorganize quasi-quoted names. 2022-06-23 09:15:31 +00:00
SQL server: Fix a bunch of HLint suggestions 2022-06-21 11:12:42 +00:00
App.hs Updates arg parser HGE header 2022-06-23 01:28:30 +00:00
EncJSON.hs Fix JSON encoding issue (fix hasura/graphql-engine#7543 and hasura/graphql-engine#8200) 2022-04-05 19:11:30 +00:00
GC.hs server: add explicit export lists in OSS server and enforce with warning 2021-11-04 16:09:38 +00:00
HTTP.hs server: Fix a bunch of HLint suggestions 2022-06-21 11:12:42 +00:00
Incremental.hs server, pro: actually reformat the code-base using ormolu 2021-09-23 22:57:37 +00:00
Logging.hs server: Refactor TByteString to SerializableBlob 2022-06-17 09:57:38 +00:00
Name.hs server: Reorganize quasi-quoted names. 2022-06-23 09:15:31 +00:00
Prelude.hs server: migrate to aeson-2 in preparation for ghc 9.2 upgrade 2022-06-08 15:32:27 +00:00
QueryTags.hs server: support query tags for MSSQL data sources 2022-04-28 19:34:45 +00:00
Session.hs Weeding (2/?) 2022-06-09 16:40:49 +00:00
Tracing.hs server: Clean up some deriving statements 2022-05-24 07:22:55 +00:00