| Q | A
| ---------------- | -----
| Bug report? | yes
| Feature request? |no
| BC Break report? | yes
| RFC? | no
| Version/Branch | 0.13
Cannot autowire service "Overblog\GraphQLBundle\ExpressionLanguage\ExpressionFunction\Security\GetUser": argument "$security" of method "__construct()" references class "Symfony\Component\Security\Core
\Security" but no such service exists
Not sure what I'm doing wrong.
@ruudk try to install the Security Bundle
composer require symfony/security-bundle
But I don't need Secure Bundle. Maybe the ExpressionLanguage should only register when you have that bundle enabled?
In my project I only have symfony/security-core
This is definitely a bug, security should be optional. I started working on a fix I will submit a PR by tomorrow.
Thanks, now that that is merged we can close this
Most helpful comment
This is definitely a bug, security should be optional. I started working on a fix I will submit a PR by tomorrow.