summaryrefslogtreecommitdiff
path: root/src/Language/GraphQL/AST/Document.hs
diff options
context:
space:
mode:
authorEugen Wissner <belka@caraus.de>2021-03-14 12:19:30 +0100
committerEugen Wissner <belka@caraus.de>2021-03-14 12:19:30 +0100
commit4d762d635666a954000be76832303eb3170f4ee2 (patch)
treeb12e77888d7dc6d7f81b2be4311da56d8e96494d /src/Language/GraphQL/AST/Document.hs
parentcbccb9ed0b32167dbb4de16eb5143dd62f9f3159 (diff)
downloadgraphql-4d762d635666a954000be76832303eb3170f4ee2.tar.gz
Add location information to list values
Diffstat (limited to 'src/Language/GraphQL/AST/Document.hs')
-rw-r--r--src/Language/GraphQL/AST/Document.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Language/GraphQL/AST/Document.hs b/src/Language/GraphQL/AST/Document.hs
index 41b417c..a698d2e 100644
--- a/src/Language/GraphQL/AST/Document.hs
+++ b/src/Language/GraphQL/AST/Document.hs
@@ -263,7 +263,7 @@ data Value
| Boolean Bool
| Null
| Enum Name
- | List [Value]
+ | List [Node Value]
| Object [ObjectField Value]
deriving Eq
@@ -287,7 +287,7 @@ data ConstValue
| ConstBoolean Bool
| ConstNull
| ConstEnum Name
- | ConstList [ConstValue]
+ | ConstList [Node ConstValue]
| ConstObject [ObjectField ConstValue]
deriving Eq