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

Make UIO results work for 2.12 #2

Open
vpavkin opened this issue May 22, 2020 · 0 comments
Open

Make UIO results work for 2.12 #2

vpavkin opened this issue May 22, 2020 · 0 comments

Comments

@vpavkin
Copy link
Contributor

vpavkin commented May 22, 2020

For some reason, this implicit doesn't get picked up on 2.12 when trying to resolve Marshaller for zio.UIO[String] value.

The test is here, and I had to replace UIO with Task to make it compile. For UIO I get

ZIOInteropSpec.scala:21:18: diverging implicit expansion for type 
akka.http.scaladsl.marshalling.Marshaller[A,akka.http.scaladsl.model.HttpResponse] 
starting with method zioSupportIOMarshaller in trait ZIOSupportInstances2

Which indicates, that a specific UIO instance with higher priority doesn't get picked up.

On 2.13 it works fine.

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

No branches or pull requests

1 participant