From df8e43c9aa922ff8f3ce1bf560c4286012486907 Mon Sep 17 00:00:00 2001 From: Danny Navarro Date: Tue, 9 Feb 2016 13:31:28 +0100 Subject: Handle Output enumerations in Schema definition The third end-to-end test from graphql-js was implemented. --- Data/GraphQL/Schema.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Data/GraphQL/Schema.hs') diff --git a/Data/GraphQL/Schema.hs b/Data/GraphQL/Schema.hs index a4ba0ca..8a6e625 100644 --- a/Data/GraphQL/Schema.hs +++ b/Data/GraphQL/Schema.hs @@ -14,8 +14,8 @@ type Resolver f = Input -> f (Output f) data Output f = OutputResolver (Resolver f) | OutputList (f [Output f]) | OutputScalar (f Scalar) + | OutputEnum (f Text) -- | OutputUnion [Output] - -- | OutputEnum [Scalar] -- | OutputNonNull (Output) data Input = InputScalar Scalar -- cgit v1.2.3