diff options
| author | Eugen Wissner <belka@caraus.de> | 2019-12-28 07:07:58 +0100 |
|---|---|---|
| committer | Eugen Wissner <belka@caraus.de> | 2019-12-28 07:07:58 +0100 |
| commit | fdf5914626ad172a8a459696f0114ef990c0d5cb (patch) | |
| tree | d336c133d8ea7929a99b5e2e5bfedaa84d7dd6b2 /src/Language/GraphQL/AST/Encoder.hs | |
| parent | 78ee76f9d5bd59e6fe97dfb39ca690a473b256b1 (diff) | |
| download | graphql-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.hs | 2 |
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 |
