Open Luca-Marra opened 1 year ago
Same here with v0.14.4 with the following Exception:
"Too few arguments to function GraphQL\Validator\Rules\DisableIntrospection::__construct(), 0 passed in /.../vendor/overblog/graphql-bundle/src/Request/Executor.php on line 128 and exactly 1 expected"
The problem is that in the master branch this issues was fixed here by @mcg-web https://github.com/overblog/GraphQLBundle/commit/2cf6f48d8b6903f7e1fb707ed87da941e0ceb806
but in the v.0.14 and v.0.15 branches this was never applied.
The webonyx part was commited 2 years ago https://github.com/webonyx/graphql-php/blame/e8dfe9b6a333578f4420294a62c25d951617fec3/src/Validator/Rules/DisableIntrospection.php#L16.
Here is the code with the latest tags. v.0.14 https://github.com/overblog/GraphQLBundle/blob/v0.14.4/src/Request/Executor.php#L128 v.0.15 https://github.com/overblog/GraphQLBundle/blob/v0.15.2/src/Request/Executor.php#L128
I ask myself why this has not been noticed in all these years...
Disabling the introspection:
results to the following error: