zio / interop-cats

ZIO instances for cats-effect type classes
Apache License 2.0
155 stars 67 forks source link

Add implicit fs2.io.net.Network instance #667

Closed sheunis closed 1 year ago

sheunis commented 1 year ago

I recent change in fs2 here deprecated summoning an implicit Network instance for Async. As a result, any code like this: EmberClientBuilder.default[Task].build, where an Async instance for Task is available will break. We can get around this by using a wrapper function where the Async and Network type constraints are declared, but this feels dirty. It would be nicer if the cats interop libs could have an implicit Network instance for a Task that can be imported.

neko-kai commented 1 year ago

Fixed in https://github.com/zio/interop-cats/pull/668/