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
The current traits depend on BootstrapRuntime. This makes testing hard.
I suggest an alternative approach:
Create a Akka-Extension, e.g. ZIOAkkaHttp that stores the Runtime. This one can be registered on application startup, as soon as an ActorSystem is available.
Adjust the effects to work as a directive. There is already the extractActorSystem directive, so we'd be able to do something like:
extractActorSystem( ac => ZIOAkkaHttp(ac).getRuntime.unsafeRunToFuture(f))
What do you think?
The text was updated successfully, but these errors were encountered:
The current traits depend on BootstrapRuntime. This makes testing hard.
I suggest an alternative approach:
What do you think?
The text was updated successfully, but these errors were encountered: