From 7c0b0ace4dacbb581669f88b83b9643a83fc797a Mon Sep 17 00:00:00 2001 From: Eugen Wissner Date: Wed, 7 Oct 2020 05:24:51 +0200 Subject: Collect types once the schema is created --- tests/Test/StarWars/Schema.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/Test/StarWars') diff --git a/tests/Test/StarWars/Schema.hs b/tests/Test/StarWars/Schema.hs index 706d9b3..90ce9fc 100644 --- a/tests/Test/StarWars/Schema.hs +++ b/tests/Test/StarWars/Schema.hs @@ -18,7 +18,7 @@ import Prelude hiding (id) -- See https://github.com/graphql/graphql-js/blob/master/src/__tests__/starWarsSchema.js starWarsSchema :: Schema (Either SomeException) -starWarsSchema = schema queryType +starWarsSchema = schema queryType Nothing Nothing mempty where queryType = Out.ObjectType "Query" Nothing [] $ HashMap.fromList [ ("hero", heroFieldResolver) -- cgit v1.2.3