Deprecate gql
All checks were successful
Build / audit (push) Successful in 17s
Build / test (push) Successful in 6m3s
Build / doc (push) Successful in 5m5s

This commit is contained in:
2024-10-24 16:56:31 +02:00
parent 67720f9ebe
commit 5abc377e9d
2 changed files with 2 additions and 0 deletions

View File

@ -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