symfony/symfony — comment on commit 74bc699b270122b70b1de6ece47c726f5df8bd41
File:  line 0
By schmittjoh:

The Request doesn't feel like the correct object, a container-scoped context holder would be a better fit imo.

This change has the side-effect that users now have to think about the scope of their services if they need the locale. They cannot just change the dependency from the session to the request, doing that will likely lead to a scope error, and cause some wtfs.