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
Is it possible to access RequestStore from a Celluloid future? #41
Comments
Can you show me some specific code with what you're trying to do? |
I've doing HTTP requests with Faraday in a Celluloid Future. I have my own faraday middleware that looks like:
And in a before_filter I just do For the faraday requests that are done inside a Celluloid Future, My final goal is to display the content of |
Sorry the code above is with the request_store_rails gem, but the result is the same with the request_store gem and this code for the Faraday Middleware:
And with this code in the before_filter: |
Maybe it's a dumb question or not the "correct way" to achieve what I'd like to do, but for the moment, it seems it's not possible to access RequestStore from a Celluloid future :/
The text was updated successfully, but these errors were encountered: