How do I resolve from the IOC in Adonis 5? #1593
Unanswered
incraigulous
asked this question in
Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm needing to use
Session.get()
in a part of the app where I don't have have access to theRequestContext
. When I import withimport Session from '@ioc:Adonis/Addons/Session'
, I get an instance ofSessionManagerContract
not the current session.Beta Was this translation helpful? Give feedback.
All reactions