-
Notifications
You must be signed in to change notification settings - Fork 899
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Drop RequestStore in favor of ActiveSupport::CurrentAttributes #1444
Comments
This issue is also related: steveklabnik/request_store#85 |
Hello 👋🏽 I got this up as a POC: #1447 |
This issue has been automatically marked as stale due to inactivity. |
Poke. |
This issue has been automatically marked as stale due to inactivity. |
Poke Bowl. |
This issue has been automatically marked as stale due to inactivity. |
Pocahontas. |
This issue has been automatically marked as stale due to inactivity. |
Not stale. |
Is your feature suggestion related to a problem? Please describe.
The gem is already depending on
activerecord
andactiverecord
depends onactivesupport
. Inactivesupport
there is a feature calledActiveSupport::CurrentAttributes
. That feature is available since Rails 5.2, so quite a while ago.To reduce the number of dependencies and the different implementations, you could switch from using
request_store
to onlyactiverecord
and maybe a direct dependency toactivesupport
.Describe the solution you'd like to build
Switch from
request_store
toactivesupport
to store request related attributes.Describe alternatives you've considered
Keeping the RequestStore dependency as it is.
The text was updated successfully, but these errors were encountered: