We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents dedc8ea + a766930 commit 62e20deCopy full SHA for 62e20de
src/Recorders/GraphqlRecorder.php
@@ -49,7 +49,7 @@ function () use (&$record) {
49
public function record(Carbon $startedAt, array $args, $context, ResolveInfo $info): void
50
{
51
52
- if (!in_array($info->parentType, ["Query", "Mutation"])) {
+ if (!Route::is('graphql*') || !in_array($info->parentType, ["Query", "Mutation"])) {
53
return;
54
}
55
0 commit comments