But an instance of Async[ConnectionIO]
has gone. In the meanwhile there was an instance of LiftIO[ConnectionIO]
, but it is also gone. https://stackoverflow.com/a/50481203 states that the following approach worked:
catsIO.to[ConnectionIO]
but I receive the error \"No given instance of type cats.effect.LiftIO[doobie.ConnectionIO] was found for parameter F of method to in class IO\". I cannot find an instance of LiftIO
.
Does anyone know of how to turn an instance of Cats IO
to ConnectionIO
?
For CE3/Doobie 1.x: https://stackoverflow.com/a/71257623
","upvoteCount":1,"url":"https://github.com/typelevel/doobie/discussions/1744#discussioncomment-3823171"}}}IO
to ConnectionIO
#1744
-
I'm using doobie 1.0.0-RC2 and Cats Effect 3 and would like to turn an instance of Cats Async[ConnectionIO].liftIO(catsIO) But an instance of catsIO.to[ConnectionIO] but I receive the error "No given instance of type cats.effect.LiftIO[doobie.ConnectionIO] was found for parameter F of method to in class IO". I cannot find an instance of Does anyone know of how to turn an instance of Cats |
Beta Was this translation helpful? Give feedback.
-
For CE3/Doobie 1.x: https://stackoverflow.com/a/71257623 |
Beta Was this translation helpful? Give feedback.
For CE3/Doobie 1.x: https://stackoverflow.com/a/71257623