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
I don't think it's a good way to go, and after a quick talk with @lsmith77, it seems like there's a lot of similar case where you may want to access a configuration value that has been stored only on a service restricted to the request scope.
This issue's goal is to list those use cases, and try to come up with a nice solution for them (rather than entering/leaving the request scope manually).
Any input is very welcomed.
Registered use cases
templating.framework.assets_version
The text was updated successfully, but these errors were encountered:
…on the request service (fabpot)
This PR was merged into the 2.5-dev branch.
Discussion
----------
[WIP] [FrameworkBundle] removed some more dependencies on the request service
| Q | A
| ------------- | ---
| Bug fix? | kinda (see linked tickets)
| New feature? | no
| BC breaks? | no
| Deprecations? | no
| Tests pass? | yes
| Fixed tickets | #8915, #9185
| License | MIT
| Doc PR | n/a
/cc @kriswallsmith
Commits
-------
4f3d502 [FrameworkBundle] removed some more dependencies on the request service
Today, I needed to access the "templating.framework.assets_version" value from a Command. Here's the result: https://gist.github.com/gnutix/6775868
I don't think it's a good way to go, and after a quick talk with @lsmith77, it seems like there's a lot of similar case where you may want to access a configuration value that has been stored only on a service restricted to the request scope.
This issue's goal is to list those use cases, and try to come up with a nice solution for them (rather than entering/leaving the request scope manually).
Any input is very welcomed.
Registered use cases
templating.framework.assets_version
The text was updated successfully, but these errors were encountered: