summaryrefslogtreecommitdiff
path: root/src/Language/GraphQL/AST/Document.hs
diff options
context:
space:
mode:
authorEugen Wissner <belka@caraus.de>2020-01-26 11:55:15 +0100
committerEugen Wissner <belka@caraus.de>2020-01-26 11:55:15 +0100
commita6bd2370b6ba6f9eba6f0911ce9f8e8042a7f26b (patch)
tree4c417b8448cb4fa247419ebcad1327baca9fd50a /src/Language/GraphQL/AST/Document.hs
parentb4a3c9811447ab1c7704e9667ff0103771b7587c (diff)
downloadgraphql-a6bd2370b6ba6f9eba6f0911ce9f8e8042a7f26b.tar.gz
Parse type extensions
Signed-off-by: Eugen Wissner <belka@caraus.de>
Diffstat (limited to 'src/Language/GraphQL/AST/Document.hs')
-rw-r--r--src/Language/GraphQL/AST/Document.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Language/GraphQL/AST/Document.hs b/src/Language/GraphQL/AST/Document.hs
index 6ed5f50..9de16c0 100644
--- a/src/Language/GraphQL/AST/Document.hs
+++ b/src/Language/GraphQL/AST/Document.hs
@@ -305,7 +305,7 @@ data TypeExtension
| InterfaceTypeDirectivesExtension Name (NonEmpty Directive)
| UnionTypeUnionMemberTypesExtension
Name [Directive] (UnionMemberTypes NonEmpty)
- | UnionDirectivesExtension Name (NonEmpty Directive)
+ | UnionTypeDirectivesExtension Name (NonEmpty Directive)
| EnumTypeEnumValuesDefinitionExtension
Name [Directive] (NonEmpty EnumValueDefinition)
| EnumTypeDirectivesExtension Name (NonEmpty Directive)