first commit
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
<?php
|
||||
|
||||
namespace KupShop\GraphQLBundle\DependencyInjection;
|
||||
|
||||
use GraphQL\Server\ServerConfig;
|
||||
use Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface;
|
||||
use Symfony\Component\DependencyInjection\ContainerBuilder;
|
||||
|
||||
class GraphQLiteConfigWiringPass implements CompilerPassInterface
|
||||
{
|
||||
public function process(ContainerBuilder $container): void
|
||||
{
|
||||
$definition = $container->getDefinition(ServerConfig::class);
|
||||
$definition->addMethodCall('setQueryBatching', [true]);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user