summaryrefslogtreecommitdiff
path: root/src/Test
diff options
context:
space:
mode:
authorEugen Wissner <belka@caraus.de>2022-12-24 18:09:52 +0100
committerEugen Wissner <belka@caraus.de>2022-12-24 18:09:52 +0100
commit2f9881bb211fa40361a745078ed790e19747c801 (patch)
treed986d5fdb5179d2b206eba5d6010763f6e18fa6b /src/Test
parentbf2e4925b45991476c430bd635d8fbabe7cbecbf (diff)
downloadgraphql-2f9881bb211fa40361a745078ed790e19747c801.tar.gz
Fix GHC 9.2 warnings and deprecations
- Fix GHC 9.2 warnings - Convert comments to proper deprecations
Diffstat (limited to 'src/Test')
-rw-r--r--src/Test/Hspec/GraphQL.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Test/Hspec/GraphQL.hs b/src/Test/Hspec/GraphQL.hs
index 5d812bf..a848c15 100644
--- a/src/Test/Hspec/GraphQL.hs
+++ b/src/Test/Hspec/GraphQL.hs
@@ -9,7 +9,7 @@
{-# LANGUAGE OverloadedStrings #-}
-- | Test helpers.
-module Test.Hspec.GraphQL
+module Test.Hspec.GraphQL {-# DEPRECATED "Use graphql-spice package instead" #-}
( shouldResolve
, shouldResolveTo
) where
@@ -43,7 +43,7 @@ shouldResolve executor query = do
_ -> expectationFailure
"the query is expected to resolve to a value, but it resolved to an event stream"
#else
-module Test.Hspec.GraphQL
+module Test.Hspec.GraphQL {-# DEPRECATED "Use graphql-spice package instead" #-}
(
) where
#endif