aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEugen Wissner <belka@caraus.de>2026-09-26 20:29:43 +0200
committerEugen Wissner <belka@caraus.de>2026-09-26 20:29:43 +0200
commit116d469d9f4b1baf128a9a42c8fdac3fbeb79449 (patch)
treebe4f550709e41d48db2c1eee6a2919b6fe652f8b /src
parent56ecab9c0580922c7a27ce527d09d3ed28137c02 (diff)
downloadgraphql-116d469d9f4b1baf128a9a42c8fdac3fbeb79449.tar.gz
Fix endless recursion in Input Show instance
Diffstat (limited to 'src')
-rw-r--r--src/Language/GraphQL/Execute/Transform.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Language/GraphQL/Execute/Transform.hs b/src/Language/GraphQL/Execute/Transform.hs
index 79de094..e3d14a6 100644
--- a/src/Language/GraphQL/Execute/Transform.hs
+++ b/src/Language/GraphQL/Execute/Transform.hs
@@ -143,7 +143,7 @@ instance Show Input where
where
showObject key value accumulator =
concat [Text.unpack key, ": ", show value] : accumulator
- show variableValue = show variableValue
+ show (Variable variableValue) = show variableValue
-- | Extracts operations and fragment definitions of the document.
document :: Full.Document