Skip to content

Commit

Permalink
BUGFIX: Fixed DefaultMergedResolver
Browse files Browse the repository at this point in the history
  • Loading branch information
Torsten85 committed Nov 29, 2018
1 parent e9e4e66 commit 941ee7f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Stitching/DefaultMergedResolver.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,9 @@ public static function invoke($parent, array $args, $context, ResolveInfo $info)

if ($errorResult['kind'] === 'OWN') {
$error = Error::createLocatedError(
new Error($errorResult['error']->message, $info->fieldNodes, Errors::responsePathAsArray($info->path))
new Error($errorResult['error']->message),
$info->fieldNodes,
$info->path
);
throw $error;
}
Expand Down

0 comments on commit 941ee7f

Please sign in to comment.