From 693b7d18dcd48525b10ce297f89b3b33fd020784 Mon Sep 17 00:00:00 2001 From: Danny Navarro Date: Sun, 29 Jan 2017 18:44:03 -0300 Subject: Introduce Tranform module In the Transform module the Full AST will converted to Core AST. This commit also includes a partial implementation of Fragment replacement. --- Data/GraphQL/AST/Core.hs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Data/GraphQL/AST/Core.hs') diff --git a/Data/GraphQL/AST/Core.hs b/Data/GraphQL/AST/Core.hs index b5698c6..3424d20 100644 --- a/Data/GraphQL/AST/Core.hs +++ b/Data/GraphQL/AST/Core.hs @@ -23,8 +23,9 @@ data Argument = Argument Name Value deriving (Eq,Show) data Value = ValueInt Int32 -- GraphQL Float is double precision | ValueFloat Double - | ValueBoolean Bool | ValueString Text + | ValueBoolean Bool + | ValueNull | ValueEnum Name | ValueList [Value] | ValueObject [ObjectField] -- cgit v1.2.3