And you get this error:
Executing script cache:clear [KO]
[KO]
Script cache:clear returned with error code 255
!! ArgumentCountError {#4094
!! #message: "Too few arguments to function Symfony\Component\Config\Definition\Builder\TreeBuilder::__construct(), 0 passed in C:...\vendor\youshido\graphql-bundle\DependencyInjection\Configuration.php on line 21 and at least 1 expected"
!! #code: 0
!! #file: "C:...\vendor\symfony\config\Definition\Builder\TreeBuilder.php"
!! #line: 26
!! trace: {
Code:
class Configuration implements ConfigurationInterface
{
/**
{@inheritdoc}
*/
public function getConfigTreeBuilder()
{
$treeBuilder = new TreeBuilder();
$rootNode = $treeBuilder->root('graphql');
Hello,
In Symfony 5, let's do this:
composer require youshido/graphql-bundle composer remove youshido/graphql-bundle composer require youshido/graphql-bundle
And you get this error: Executing script cache:clear [KO] [KO] Script cache:clear returned with error code 255 !! ArgumentCountError {#4094 !! #message: "Too few arguments to function Symfony\Component\Config\Definition\Builder\TreeBuilder::__construct(), 0 passed in C:...\vendor\youshido\graphql-bundle\DependencyInjection\Configuration.php on line 21 and at least 1 expected" !! #code: 0 !! #file: "C:...\vendor\symfony\config\Definition\Builder\TreeBuilder.php" !! #line: 26 !! trace: {
Code: class Configuration implements ConfigurationInterface { /**
{@inheritdoc} */ public function getConfigTreeBuilder() { $treeBuilder = new TreeBuilder(); $rootNode = $treeBuilder->root('graphql');
......