Required dependency on ZManaged
felix-hedenstrom opened this issue · comments
Zio 2 heavily favors the use of ZIO[Scope, _, _]
instead of using ZManaged
. distage currently requires ZManaged if a developer wants to use Lifecyles with the zio eco system.
I think it would be possible to remove the requirement for ZManaged
and instead use Scope
s behind the scenes. I could create a PR for this if the maintainers think this would be a good idea.
I created a PR to remove ZManaged here #1989