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
You can declare components to live within Ktor request scope timeline. For this, you just need to declare your component inside a scope<ScopeRequest> section. Given a ScopeComponent class to instantiate on RequestScope, let's declare it:
scope<RequestScope>{
scopedOf(::ScopeComponent)
}
Is it ScopeRequest or RequestScope?
I think it's the latter, because the former doesn't show up anywhere in the code.
The text was updated successfully, but these errors were encountered:
In https://insert-koin.io/docs/reference/koin-ktor/ktor, it says:
Is it
ScopeRequest
orRequestScope
?I think it's the latter, because the former doesn't show up anywhere in the code.
The text was updated successfully, but these errors were encountered: