Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/868-bug-graphql---using-fragment…
Browse files Browse the repository at this point in the history
…-inside-inline-fragment-returns-only-null-values' into 868-bug-graphql---using-fragment-inside-inline-fragment-returns-only-null-values
  • Loading branch information
mcop1 committed Oct 24, 2024
2 parents a380060 + d3d04b9 commit e254b37
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/GraphQL/FieldHelper/AbstractFieldHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -163,9 +163,8 @@ private function processSelectionNode(
$args,
$context,
ResolveInfo $resolveInfo
): void
{
if(!$selectionNode) {
): void {
if (!$selectionNode) {
return;
}

Expand All @@ -183,7 +182,7 @@ private function processSelectionNode(

continue;
}
if($inlineNode instanceof FragmentSpreadNode) {
if ($inlineNode instanceof FragmentSpreadNode) {
$this->processSelectionNode($data, $inlineNode, $container, $args, $context, $resolveInfo);
}
}
Expand Down

0 comments on commit e254b37

Please sign in to comment.