Skip to content

Commit 4de8e50

Browse files
Fix the input object example
1 parent f06c7af commit 4de8e50

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/InputObject.hs

Lines changed: 1 addition & 1 deletion
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)