diff options
| author | Eugen Wissner <belka@caraus.de> | 2020-08-22 06:39:52 +0200 |
|---|---|---|
| committer | Eugen Wissner <belka@caraus.de> | 2020-08-22 06:39:52 +0200 |
| commit | 54dbf1df16038c9f583c1b53ab4fac1d71b194fd (patch) | |
| tree | d6a112c10e5537a1530196aa4e8951e6fce6e464 /src/Language | |
| parent | 1a788a62611fcb3b044f37880a68147989dc5e18 (diff) | |
| download | graphql-54dbf1df16038c9f583c1b53ab4fac1d71b194fd.tar.gz | |
Remove encoder test based on old external files
Diffstat (limited to 'src/Language')
| -rw-r--r-- | src/Language/GraphQL/AST.hs | 4 | ||||
| -rw-r--r-- | src/Language/GraphQL/AST/DirectiveLocation.hs | 10 | ||||
| -rw-r--r-- | src/Language/GraphQL/Execute/Coerce.hs | 4 | ||||
| -rw-r--r-- | src/Language/GraphQL/Type/In.hs | 4 | ||||
| -rw-r--r-- | src/Language/GraphQL/Type/Schema.hs | 4 | ||||
| -rw-r--r-- | src/Language/GraphQL/Validate/Rules.hs | 2 |
6 files changed, 24 insertions, 4 deletions
diff --git a/src/Language/GraphQL/AST.hs b/src/Language/GraphQL/AST.hs index 3d368d4..c7ceee8 100644 --- a/src/Language/GraphQL/AST.hs +++ b/src/Language/GraphQL/AST.hs @@ -1,3 +1,7 @@ +{- This Source Code Form is subject to the terms of the Mozilla Public License, + v. 2.0. If a copy of the MPL was not distributed with this file, You can + obtain one at https://mozilla.org/MPL/2.0/. -} + -- | Target AST for parser. module Language.GraphQL.AST ( module Language.GraphQL.AST.Document diff --git a/src/Language/GraphQL/AST/DirectiveLocation.hs b/src/Language/GraphQL/AST/DirectiveLocation.hs index 5b7a36f..c38c9ff 100644 --- a/src/Language/GraphQL/AST/DirectiveLocation.hs +++ b/src/Language/GraphQL/AST/DirectiveLocation.hs @@ -1,5 +1,9 @@ +{- This Source Code Form is subject to the terms of the Mozilla Public License, + v. 2.0. If a copy of the MPL was not distributed with this file, You can + obtain one at https://mozilla.org/MPL/2.0/. -} + -- | Various parts of a GraphQL document can be annotated with directives. --- This module describes locations in a document where directives can appear. +-- This module describes locations in a document where directives can appear. module Language.GraphQL.AST.DirectiveLocation ( DirectiveLocation(..) , ExecutableDirectiveLocation(..) @@ -7,8 +11,8 @@ module Language.GraphQL.AST.DirectiveLocation ) where -- | All directives can be splitted in two groups: directives used to annotate --- various parts of executable definitions and the ones used in the schema --- definition. +-- various parts of executable definitions and the ones used in the schema +-- definition. data DirectiveLocation = ExecutableDirectiveLocation ExecutableDirectiveLocation | TypeSystemDirectiveLocation TypeSystemDirectiveLocation diff --git a/src/Language/GraphQL/Execute/Coerce.hs b/src/Language/GraphQL/Execute/Coerce.hs index 60fb71d..08a2fc0 100644 --- a/src/Language/GraphQL/Execute/Coerce.hs +++ b/src/Language/GraphQL/Execute/Coerce.hs @@ -1,3 +1,7 @@ +{- This Source Code Form is subject to the terms of the Mozilla Public License, + v. 2.0. If a copy of the MPL was not distributed with this file, You can + obtain one at https://mozilla.org/MPL/2.0/. -} + {-# LANGUAGE ExplicitForAll #-} {-# LANGUAGE OverloadedStrings #-} {-# LANGUAGE ViewPatterns #-} diff --git a/src/Language/GraphQL/Type/In.hs b/src/Language/GraphQL/Type/In.hs index 36e0e2c..8b08041 100644 --- a/src/Language/GraphQL/Type/In.hs +++ b/src/Language/GraphQL/Type/In.hs @@ -1,3 +1,7 @@ +{- This Source Code Form is subject to the terms of the Mozilla Public License, + v. 2.0. If a copy of the MPL was not distributed with this file, You can + obtain one at https://mozilla.org/MPL/2.0/. -} + {-# LANGUAGE PatternSynonyms #-} {-# LANGUAGE ViewPatterns #-} diff --git a/src/Language/GraphQL/Type/Schema.hs b/src/Language/GraphQL/Type/Schema.hs index c5cc6fd..581d9b2 100644 --- a/src/Language/GraphQL/Type/Schema.hs +++ b/src/Language/GraphQL/Type/Schema.hs @@ -1,3 +1,7 @@ +{- This Source Code Form is subject to the terms of the Mozilla Public License, + v. 2.0. If a copy of the MPL was not distributed with this file, You can + obtain one at https://mozilla.org/MPL/2.0/. -} + -- | This module provides a representation of a @GraphQL@ Schema in addition to -- functions for defining and manipulating schemas. module Language.GraphQL.Type.Schema diff --git a/src/Language/GraphQL/Validate/Rules.hs b/src/Language/GraphQL/Validate/Rules.hs index a3314e7..9faaedd 100644 --- a/src/Language/GraphQL/Validate/Rules.hs +++ b/src/Language/GraphQL/Validate/Rules.hs @@ -17,7 +17,7 @@ import Language.GraphQL.AST.Document newtype Rule = DefinitionRule (Definition -> Maybe String) --- | Default reules given in the specification. +-- | Default rules given in the specification. specifiedRules :: [Rule] specifiedRules = [ executableDefinitionsRule |
