Skip to content

Commit c1bff25

Browse files
committed
fix: exception category is not part of
extensions automatically now
1 parent 1fd09e4 commit c1bff25

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tests/Fixtures/Controller/TestGraphqlController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ public function triggerException(int $code = 0): string
8181
public function triggerAggregateException(): string
8282
{
8383
$exception1 = new GraphQLException('foo', 401);
84-
$exception2 = new GraphQLException('bar', 404, null, 'MyCat', ['field' => 'baz']);
84+
$exception2 = new GraphQLException('bar', 404, null, 'MyCat', ['field' => 'baz', 'category' => 'MyCat']);
8585
throw new GraphQLAggregateException([$exception1, $exception2]);
8686
}
8787

0 commit comments

Comments
 (0)