From adcd98925cf42a32ac5e04e5fbf396a01fd58b59 Mon Sep 17 00:00:00 2001 From: tobias-tengler <45513122+tobias-tengler@users.noreply.github.com> Date: Tue, 8 Oct 2024 20:46:42 +0200 Subject: [PATCH] Fix test --- .../Fusion/src/Core/Execution/ExecutionUtils.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/HotChocolate/Fusion/src/Core/Execution/ExecutionUtils.cs b/src/HotChocolate/Fusion/src/Core/Execution/ExecutionUtils.cs index 7cc1411f289..c043eeaf468 100644 --- a/src/HotChocolate/Fusion/src/Core/Execution/ExecutionUtils.cs +++ b/src/HotChocolate/Fusion/src/Core/Execution/ExecutionUtils.cs @@ -72,11 +72,11 @@ private static void ComposeResult( if (!data.HasValue) { - AddError(context, errorTrie, responseName, selection, selectionSetResult, responseIndex, - hoistErrorOfFieldsBelow: true); - if (!partialResult) { + AddError(context, errorTrie, responseName, selection, selectionSetResult, responseIndex, + hoistErrorOfFieldsBelow: true); + if (!nullable) { PropagateNullValues(context.Result, selection, selectionSetResult, responseIndex);