summaryrefslogtreecommitdiff
path: root/src/Language/GraphQL/AST/DirectiveLocation.hs
diff options
context:
space:
mode:
authorEugen Wissner <belka@caraus.de>2025-01-18 16:33:13 +0100
committerEugen Wissner <belka@caraus.de>2025-01-18 16:33:13 +0100
commit663e4f35213ac486ffbb86a76877fcac7b58a1e8 (patch)
tree81a4967d87f2e4a31007a8d38ca391bd1b0580f4 /src/Language/GraphQL/AST/DirectiveLocation.hs
parent324a4c55ff1d1747af5050c2e576971ba9639230 (diff)
downloadgraphql-663e4f35213ac486ffbb86a76877fcac7b58a1e8.tar.gz
Make the lexer and parser safe
Diffstat (limited to 'src/Language/GraphQL/AST/DirectiveLocation.hs')
-rw-r--r--src/Language/GraphQL/AST/DirectiveLocation.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Language/GraphQL/AST/DirectiveLocation.hs b/src/Language/GraphQL/AST/DirectiveLocation.hs
index 600f931..10da19b 100644
--- a/src/Language/GraphQL/AST/DirectiveLocation.hs
+++ b/src/Language/GraphQL/AST/DirectiveLocation.hs
@@ -1,3 +1,4 @@
+{-# LANGUAGE NoGeneralizedNewtypeDeriving #-}
{-# LANGUAGE Safe #-}
-- | Various parts of a GraphQL document can be annotated with directives.