From 973328cde53a3f2067b2bda9513daa1eff796475 Mon Sep 17 00:00:00 2001 From: Benedikt Franke Date: Fri, 23 Feb 2024 11:37:30 +0100 Subject: [PATCH] Fix stub for type resolvers used in `lighthouse:union` and `lighthouse:interface` artisan commands --- CHANGELOG.md | 6 ++++++ src/Console/stubs/typeResolver.stub | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 184da35279..3b2e54b487 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,12 @@ You can find and compare releases at the [GitHub release page](https://github.co ## Unreleased +## v6.33.4 + +### Fixed + +- Fix stub for type resolvers used in `lighthouse:union` and `lighthouse:interface` artisan commands https://github.com/nuwave/lighthouse/pull/2518 + ## v6.33.3 ### Fixed diff --git a/src/Console/stubs/typeResolver.stub b/src/Console/stubs/typeResolver.stub index 505e75d4ff..2e1bfe0e68 100644 --- a/src/Console/stubs/typeResolver.stub +++ b/src/Console/stubs/typeResolver.stub @@ -2,8 +2,8 @@ namespace DummyNamespace; +use GraphQL\Type\Definition\ResolveInfo; use GraphQL\Type\Definition\Type; -use Nuwave\Lighthouse\Execution\ResolveInfo; use Nuwave\Lighthouse\Schema\TypeRegistry; use Nuwave\Lighthouse\Support\Contracts\GraphQLContext;