summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEugen Wissner <belka@caraus.de>2024-10-24 16:56:31 +0200
committerEugen Wissner <belka@caraus.de>2024-10-24 16:56:31 +0200
commit5abc377e9d28e1845e447266454368872a49cada (patch)
tree572fa3eb2f14851c6c870b33db496e92d73fac5a /src
parent67720f9ebefeff8b7c1e8e7dc6831c435a8b1740 (diff)
downloadgraphql-5abc377e9d28e1845e447266454368872a49cada.tar.gz
Deprecate gql
Diffstat (limited to 'src')
-rw-r--r--src/Language/GraphQL/TH.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Language/GraphQL/TH.hs b/src/Language/GraphQL/TH.hs
index 35c0d4a..22ffdd0 100644
--- a/src/Language/GraphQL/TH.hs
+++ b/src/Language/GraphQL/TH.hs
@@ -35,6 +35,7 @@ stripIndentation code = reverse
-- | Removes leading and trailing newlines. Indentation of the first line is
-- removed from each line of the string.
+{-# DEPRECATED gql "Use Language.GraphQL.Class.gql from graphql-spice instead" #-}
gql :: QuasiQuoter
gql = QuasiQuoter
{ quoteExp = pure . LitE . StringL . stripIndentation