Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Zio interoperability #71

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Zio interoperability #71

wants to merge 1 commit into from

Conversation

Koisell
Copy link
Contributor

@Koisell Koisell commented Sep 1, 2019

It order to empowered more taggeless final users and simplify migrations
from/to ZIO we introduce some interoperability library for it. This
library works the same way that Monix interoperability. It's currently
working only on JVM, ScalaJS support will follow (for now it won't compile).

Be aware that if you are completely commit to either Monix or ZIO both
libraries already have their internal support for retry policies.

It order to empowered more taggeless final users and simplify migrations
from/to ZIO we introduce some interoperability library for it. This
library works the same way that Monix interoperability. It's currently
working only on JVM, ScalaJS support will follow (for now it won't compile).

Be aware that if you are completely commit to either Monix or ZIO both
libraries already have their internal support for retry policies.
.settings(
resolvers += Resolver.sonatypeRepo("releases"),
libraryDependencies ++= Seq(
"dev.zio" %%% "zio" % "1.0.0-RC11-1",
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How long do you think it will be before we see ZIO 1.0.0? Is it worth waiting for that? As I understand it, cats-effect 2.0.0 and Monix 3.0.0 should be out very soon, so it would be nice to do a release with all the dependencies on stable versions.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't know when it will be release but I think it will be soon. I agree we should wait stable versions to make releases.

@cb372
Copy link
Owner

cb372 commented Sep 9, 2019

Thanks! This looks good. As you say, ZIO already has features similar to cats-retry available out of the box, so I'm not sure how useful this integration is, but there's no harm in providing it as an option for people to use.

I'm curious about why the ScalaJS support doesn't compile?

@Koisell
Copy link
Contributor Author

Koisell commented Sep 9, 2019

ScalaJS doesn't work because of missing Cats Applicative typeclass instance for ZIO. I asked on the Gitter channel they are apparently working on it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants