graphql-engine/server/src-test/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/postgres: test identifier uniqueness rewrite 2022-06-17 10:44:18 +00:00
Generator Rewrite ir generators 2022-04-05 22:09:40 +00:00
GraphQL server: Reorganize quasi-quoted names. 2022-06-23 09:15:31 +00:00
QuickCheck server: migrate to aeson-2 in preparation for ghc 9.2 upgrade 2022-06-08 15:32:27 +00:00
RQL server: Fix a bunch of HLint suggestions 2022-06-21 11:12:42 +00:00
Server server: Fix a bunch of HLint suggestions 2022-06-21 11:12:42 +00:00
SQL server, pro: actually reformat the code-base using ormolu 2021-09-23 22:57:37 +00:00
AppSpec.hs server: Fix a bunch of HLint suggestions 2022-06-21 11:12:42 +00:00
EventingSpec.hs Remove RQL/Types.hs 2022-04-27 13:58:47 +00:00
IncrementalSpec.hs server, pro: actually reformat the code-base using ormolu 2021-09-23 22:57:37 +00:00
SessionSpec.hs server: Splits QuickCheck extension and orphan instance modules 2022-02-22 15:33:37 +00:00
StreamingSubscriptionSpec.hs server: Reorganize quasi-quoted names. 2022-06-23 09:15:31 +00:00