summaryrefslogtreecommitdiff
path: root/src/Language/GraphQL/AST/Encoder.hs
diff options
context:
space:
mode:
authorEugen Wissner <belka@caraus.de>2019-12-28 07:07:58 +0100
committerEugen Wissner <belka@caraus.de>2019-12-28 07:07:58 +0100
commitfdf5914626ad172a8a459696f0114ef990c0d5cb (patch)
treed336c133d8ea7929a99b5e2e5bfedaa84d7dd6b2 /src/Language/GraphQL/AST/Encoder.hs
parent78ee76f9d5bd59e6fe97dfb39ca690a473b256b1 (diff)
downloadgraphql-fdf5914626ad172a8a459696f0114ef990c0d5cb.tar.gz
Move AST to AST.Document
Diffstat (limited to 'src/Language/GraphQL/AST/Encoder.hs')
-rw-r--r--src/Language/GraphQL/AST/Encoder.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Language/GraphQL/AST/Encoder.hs b/src/Language/GraphQL/AST/Encoder.hs
index e33068d..eb865c9 100644
--- a/src/Language/GraphQL/AST/Encoder.hs
+++ b/src/Language/GraphQL/AST/Encoder.hs
@@ -66,7 +66,7 @@ definition formatter x
= fragmentDefinition formatter fragment
operationDefinition :: Formatter -> Full.OperationDefinition -> Lazy.Text
-operationDefinition formatter (Full.OperationSelectionSet sels)
+operationDefinition formatter (Full.SelectionSet sels)
= selectionSet formatter sels
operationDefinition formatter (Full.OperationDefinition Full.Query name vars dirs sels)
= "query " <> node formatter name vars dirs sels