You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When i add subscriber which listening on Symfony\Component\HttpKernel\Event\ControllerEvent and it resolve BackedEnum controller argument (eg. $request->attributes->set('name', SomeEnum::from($value));) before framework Symfony\Component\HttpKernel\Controller\ArgumentResolver\BackedEnumValueResolver, it throws LogicException Could not resolve the...
BackedEnumValueResolver doesn't support already resolved enum argument and expects int or string.
How to reproduce
Resolve attribute value before Symfony\Component\HttpKernel\Controller\ArgumentResolver::getArguments.