Implicitly picking it up works but explicitly passing a typed actor system to the Scala extension like so: Http(system) does not compile because:
[error] -- [E007] Type Mismatch Error: /.../SomeClass.scala:47:21
[error] 47 | val bound = Http(system).newServerAt(interface, port).bind(service)
[error] | ^^^^^^
[error] | Found: (system : akka.actor.typed.ActorSystem[?])
[error] | Required: akka.actor.ActorSystem²
[error] |
[error] | where: ActorSystem is a class in package akka.actor.typed
[error] | ActorSystem² is a class in package akka.actor
Implicitly picking it up works but explicitly passing a typed actor system to the Scala extension like so:
Http(system)
does not compile because: