Replies: 4 comments 4 replies
|
I received these kinds of errors:
The propagation object type was defined with fields, but it seems to be looking at the actual class not the external type class |
0 replies
|
It's hard to say for sure without more details. Have you tried clearing your cache, whichever you've specified in your |
2 replies
|
I mean like this, we use php config <?php
declare(strict_types=1);
namespace Symfony\Component\DependencyInjection\Loader\Configurator;
use Symfony\Config\GraphqliteConfig;
return static function (ContainerConfigurator $containerConfigurator, GraphqliteConfig $config): void {
$config
->namespace()
->controllers([
'Corp\Order\UI\GraphQL\Resolvers\\',
'Corp\Foo\Bar\Z\Resolvers\\',
])
->types([
'Corp\Order\UI\GraphQL\Types\\',
'Corp\Foo\Bar\Z\Types\\',
])
;
}; |
2 replies
|
Created issue here |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I recently added a new namespace for types and controllers to the bundle config but got some weird errors related to not finding any fields for graphql types. Looks like the bundle was searching for types in the wrong directory. When i moved the code into the same namespace it all worked again, so I'm just wondering if there's a bug with the types finding logic when configured with multiple namespaces
All reactions