Move Execute.Directive to Type.Directive

Just to roughly follow the structure of the reference implementation.
This commit is contained in:
Eugen Wissner 2019-12-17 09:03:18 +01:00
parent 4c0d226030
commit 0cbe69736b
4 changed files with 4 additions and 4 deletions

View File

@ -38,7 +38,7 @@ library:
source-dirs: src source-dirs: src
other-modules: other-modules:
- Language.GraphQL.Execute.Transform - Language.GraphQL.Execute.Transform
- Language.GraphQL.Execute.Directive - Language.GraphQL.Type.Directive
tests: tests:
tasty: tasty:

View File

@ -19,8 +19,8 @@ import qualified Data.List.NonEmpty as NonEmpty
import Data.Sequence (Seq, (<|), (><)) import Data.Sequence (Seq, (<|), (><))
import qualified Language.GraphQL.AST as Full import qualified Language.GraphQL.AST as Full
import qualified Language.GraphQL.AST.Core as Core import qualified Language.GraphQL.AST.Core as Core
import qualified Language.GraphQL.Execute.Directive as Directive
import qualified Language.GraphQL.Schema as Schema import qualified Language.GraphQL.Schema as Schema
import qualified Language.GraphQL.Type.Directive as Directive
-- | Associates a fragment name with a list of 'Core.Field's. -- | Associates a fragment name with a list of 'Core.Field's.
data Replacement = Replacement data Replacement = Replacement

View File

@ -1,6 +1,6 @@
{-# LANGUAGE OverloadedStrings #-} {-# LANGUAGE OverloadedStrings #-}
module Language.GraphQL.Execute.Directive module Language.GraphQL.Type.Directive
( selection ( selection
) where ) where

View File

@ -1,4 +1,4 @@
resolver: lts-14.16 resolver: lts-14.17
packages: packages:
- . - .