diff options
| author | Eugen Wissner <belka@caraus.de> | 2019-11-23 09:49:12 +0100 |
|---|---|---|
| committer | Eugen Wissner <belka@caraus.de> | 2019-11-23 09:49:12 +0100 |
| commit | 587aab005ed1e4e9bd8966d44ff878891cbc8ce7 (patch) | |
| tree | d86af4e8705104e78aa753017e5444ef707405e2 /src/Language/GraphQL/AST | |
| parent | 625d7100ca123e5aff265fb843ec4979d76a9f7d (diff) | |
| download | graphql-587aab005ed1e4e9bd8966d44ff878891cbc8ce7.tar.gz | |
Add a reader instance to the resolvers
The Reader contains a Name/Value hashmap, which will contain resolver
arguments.
Diffstat (limited to 'src/Language/GraphQL/AST')
| -rw-r--r-- | src/Language/GraphQL/AST/Encoder.hs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Language/GraphQL/AST/Encoder.hs b/src/Language/GraphQL/AST/Encoder.hs index a345ca4..afc425f 100644 --- a/src/Language/GraphQL/AST/Encoder.hs +++ b/src/Language/GraphQL/AST/Encoder.hs @@ -23,10 +23,10 @@ import Data.Text.Lazy.Builder.Int (decimal) import Data.Text.Lazy.Builder.RealFloat (realFloat) import qualified Language.GraphQL.AST as Full --- | Instructs the encoder whether a GraphQL should be minified or pretty --- printed. --- --- Use 'pretty' and 'minified' to construct the formatter. +-- | Instructs the encoder whether the GraphQL document should be minified or +-- pretty printed. +-- +-- Use 'pretty' or 'minified' to construct the formatter. data Formatter = Minified | Pretty Word |
