From a02a1b7b343d91314bb575e1b55f017dc0a52acb Mon Sep 17 00:00:00 2001 From: Darren Clark Date: Wed, 11 Oct 2023 18:17:25 -0700 Subject: [PATCH] Fixes #6594 --- .../src/ApolloFederation/Helpers/ArgumentParser.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/HotChocolate/ApolloFederation/src/ApolloFederation/Helpers/ArgumentParser.cs b/src/HotChocolate/ApolloFederation/src/ApolloFederation/Helpers/ArgumentParser.cs index 38224c23604..1331d199419 100644 --- a/src/HotChocolate/ApolloFederation/src/ApolloFederation/Helpers/ArgumentParser.cs +++ b/src/HotChocolate/ApolloFederation/src/ApolloFederation/Helpers/ArgumentParser.cs @@ -31,6 +31,7 @@ private static bool TryGetValue( int i, out T? value) { + type = type is NonNullType nonNullType ? nonNullType.Type : type; switch (valueNode.Kind) { case SyntaxKind.ObjectValue: