summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorEugen Wissner <belka@caraus.de>2020-10-07 05:24:51 +0200
committerEugen Wissner <belka@caraus.de>2020-10-07 05:24:51 +0200
commit7c0b0ace4dacbb581669f88b83b9643a83fc797a (patch)
treeec9e5a55764c63203f09fc5c9b60990cd4b2aac7 /README.md
parenta91bc7f2d218ea2df308d3968587b60351625150 (diff)
downloadgraphql-7c0b0ace4dacbb581669f88b83b9643a83fc797a.tar.gz
Collect types once the schema is created
Diffstat (limited to 'README.md')
-rw-r--r--README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/README.md b/README.md
index 32c55ce..8643f46 100644
--- a/README.md
+++ b/README.md
@@ -75,7 +75,7 @@ import qualified Language.GraphQL.Type.Out as Out
-- GraphQL supports 3 kinds of operations: queries, mutations and subscriptions.
-- Our first schema supports only queries.
citeSchema :: Schema IO
-citeSchema = schema queryType
+citeSchema = schema queryType Nothing Nothing mempty
-- GraphQL distinguishes between input and output types. Input types are field
-- argument types and they are defined in Language.GraphQL.Type.In. Output types