Restore error handling

This commit is contained in:
2019-06-27 08:00:59 +02:00
parent 3cc38343db
commit ae4038eb47
3 changed files with 35 additions and 34 deletions

View File

@ -149,9 +149,6 @@ test = testGroup "Star Wars Query Tests"
name
}
}
-- The GraphQL spec specifies that an error should be reported when the
-- type of the argument is Non-Nullable. However the equivalent test in
-- `graphql-js` doesn't check for any errors.
|] $ object ["data" .= object ["human" .= Aeson.Null]]
, testCase "Luke aliased" . testQuery
[r| query FetchLukeAliased {