Skip to content

Commit

Permalink
resolvers
Browse files Browse the repository at this point in the history
  • Loading branch information
soyuka committed Aug 7, 2023
1 parent 2ac02a5 commit 7a3d56b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -542,11 +542,11 @@ private function registerGraphQlConfiguration(ContainerBuilder $container, array
}

$container->registerForAutoconfiguration(QueryItemResolverInterface::class)
->addTag('api_platform.graphql.query_resolver');
->addTag('api_platform.graphql.resolver');
$container->registerForAutoconfiguration(QueryCollectionResolverInterface::class)
->addTag('api_platform.graphql.query_resolver');
->addTag('api_platform.graphql.resolver');
$container->registerForAutoconfiguration(MutationResolverInterface::class)
->addTag('api_platform.graphql.mutation_resolver');
->addTag('api_platform.graphql.resolver');
$container->registerForAutoconfiguration(GraphQlTypeInterface::class)
->addTag('api_platform.graphql.type');
$container->registerForAutoconfiguration(ErrorHandlerInterface::class)
Expand Down
6 changes: 3 additions & 3 deletions src/Symfony/Bundle/Resources/config/legacy/graphql.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@
<argument type="service" id="api_platform.graphql.resolver.stage.security" />
<argument type="service" id="api_platform.graphql.resolver.stage.security_post_denormalize" />
<argument type="service" id="api_platform.graphql.resolver.stage.serialize" />
<argument type="service" id="api_platform.graphql.query_resolver_locator" />
<argument type="service" id="api_platform.graphql.resolver_locator" />
</service>

<service id="api_platform.graphql.resolver.factory.collection" class="ApiPlatform\GraphQl\Resolver\Factory\CollectionResolverFactory" public="false">
<argument type="service" id="api_platform.graphql.resolver.stage.read" />
<argument type="service" id="api_platform.graphql.resolver.stage.security" />
<argument type="service" id="api_platform.graphql.resolver.stage.security_post_denormalize" />
<argument type="service" id="api_platform.graphql.resolver.stage.serialize" />
<argument type="service" id="api_platform.graphql.query_resolver_locator" />
<argument type="service" id="api_platform.graphql.resolver_locator" />
</service>

<service id="api_platform.graphql.resolver.factory.item_mutation" class="ApiPlatform\GraphQl\Resolver\Factory\ItemMutationResolverFactory" public="false">
Expand All @@ -29,7 +29,7 @@
<argument type="service" id="api_platform.graphql.resolver.stage.deserialize" />
<argument type="service" id="api_platform.graphql.resolver.stage.write" />
<argument type="service" id="api_platform.graphql.resolver.stage.validate" />
<argument type="service" id="api_platform.graphql.mutation_resolver_locator" />
<argument type="service" id="api_platform.graphql.resolver_locator" />
<argument type="service" id="api_platform.graphql.resolver.stage.security_post_validation" />
</service>

Expand Down

0 comments on commit 7a3d56b

Please sign in to comment.