Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
tobias-tengler committed Oct 8, 2024
1 parent cb5d619 commit adcd989
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/HotChocolate/Fusion/src/Core/Execution/ExecutionUtils.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit adcd989

Please sign in to comment.