From 4de8e5097dbfbc1e576ac4182a77903cf89be886 Mon Sep 17 00:00:00 2001 From: Harendra Kumar Date: Tue, 6 Mar 2018 15:46:20 +0530 Subject: [PATCH] Fix the input object example --- examples/InputObject.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/InputObject.hs b/examples/InputObject.hs index 2453b28..9ce811a 100644 --- a/examples/InputObject.hs +++ b/examples/InputObject.hs @@ -48,7 +48,7 @@ example = interpretAnonymousQuery @Query root main :: IO () main = do - response <- example "{ description(dogStuff: {toy: \"bone\", likesTreats: true}) }" + response <- example "{ description(dogStuff: {_toy: \"bone\", _likesTreats: true}) }" putStrLn $ Aeson.encode $ toValue response response' <- example "{ description }" putStrLn $ Aeson.encode $ toValue response'