Skip to content

Commit 3a0601a

Browse files
authored
Merge pull request #177 from harendra-kumar/master
Fix the input object example
2 parents 16d817c + 4de8e50 commit 3a0601a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: examples/InputObject.hs

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ example = interpretAnonymousQuery @Query root
4848

4949
main :: IO ()
5050
main = do
51-
response <- example "{ description(dogStuff: {toy: \"bone\", likesTreats: true}) }"
51+
response <- example "{ description(dogStuff: {_toy: \"bone\", _likesTreats: true}) }"
5252
putStrLn $ Aeson.encode $ toValue response
5353
response' <- example "{ description }"
5454
putStrLn $ Aeson.encode $ toValue response'

0 commit comments

Comments
 (0)