This commit is contained in:
Your Name 2021-07-28 21:59:31 +02:00
parent 17a994f0d5
commit 9a60bf1659

View File

@ -70,10 +70,6 @@ class Aircraft extends GraphQLSubscription
*/ */
public function resolve($root, array $args, GraphQLContext $context, ResolveInfo $resolveInfo): Model public function resolve($root, array $args, GraphQLContext $context, ResolveInfo $resolveInfo): Model
{ {
// Optionally manipulate the `$root` item before it gets broadcasted to
// subscribed client(s).
$root->load();
return $root; return $root;
} }
} }