mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-18 13:02:11 +03:00
8db9b77c77
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
15 lines
513 B
Haskell
15 lines
513 B
Haskell
-- | Re-exports everything from the sub-modules.
|
|
--
|
|
-- Submodules contain names relevant to the GraphQL specification, October 2021.
|
|
-- https://spec.graphql.org/October2021/
|
|
--
|
|
-- Each name is placed in a Haddock section corresponding to its section in the specification.
|
|
module Hasura.GraphQL.Parser.Name
|
|
( module Hasura.GraphQL.Parser.Name.Introspection,
|
|
module Hasura.GraphQL.Parser.Name.TypeSystem,
|
|
)
|
|
where
|
|
|
|
import Hasura.GraphQL.Parser.Name.Introspection
|
|
import Hasura.GraphQL.Parser.Name.TypeSystem
|