summaryrefslogtreecommitdiff
path: root/src/Language/GraphQL/AST.hs
diff options
context:
space:
mode:
authorEugen Wissner <belka@caraus.de>2019-09-25 05:35:36 +0200
committerEugen Wissner <belka@caraus.de>2019-09-25 05:35:36 +0200
commit70f7e1bd8ec59b31b3ce11373eb8d35e117aa297 (patch)
treed9d756b3ea9080036de0bb22ac61f530203ffd1b /src/Language/GraphQL/AST.hs
parent2b5c719ab06b28aef8a242ffbbda256191e32655 (diff)
downloadgraphql-70f7e1bd8ec59b31b3ce11373eb8d35e117aa297.tar.gz
Document undocumented modules
Fixes #15.
Diffstat (limited to 'src/Language/GraphQL/AST.hs')
-rw-r--r--src/Language/GraphQL/AST.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Language/GraphQL/AST.hs b/src/Language/GraphQL/AST.hs
index 8f40c10..0c0ed89 100644
--- a/src/Language/GraphQL/AST.hs
+++ b/src/Language/GraphQL/AST.hs
@@ -68,6 +68,7 @@ data OperationType = Query | Mutation deriving (Eq, Show)
-- | "Top-level" selection, selection on a operation.
type SelectionSet = NonEmpty Selection
+-- | Field selection.
type SelectionSetOpt = [Selection]
-- | Single selection element.