From b0cf2ca81de72e36c81fe497884c08ea77901226 Mon Sep 17 00:00:00 2001 From: Franklin Wang Date: Wed, 27 Nov 2024 13:58:27 +1300 Subject: [PATCH] Wtf --- .../main/java/graphql/nadel/validation/NadelDefinitionParser.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/src/main/java/graphql/nadel/validation/NadelDefinitionParser.kt b/lib/src/main/java/graphql/nadel/validation/NadelDefinitionParser.kt index e8a0d8f2b..04239e95f 100644 --- a/lib/src/main/java/graphql/nadel/validation/NadelDefinitionParser.kt +++ b/lib/src/main/java/graphql/nadel/validation/NadelDefinitionParser.kt @@ -161,7 +161,7 @@ internal class NadelDefinitionParser( return false } - private fun visitType(element: NadelSchemaTraverserElement.NamedType) { + private fun visitType(element: NadelSchemaTraverserElement.Type) { val coordinates = when (element) { is NadelSchemaTraverserElement.EnumType -> element.node.coordinates() is NadelSchemaTraverserElement.InputObjectType -> element.node.coordinates()