Skip to content
\n

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:

\n
catsIO.to[ConnectionIO]
\n

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.

\n

Does anyone know of how to turn an instance of Cats IO to ConnectionIO?

","upvoteCount":2,"answerCount":1,"acceptedAnswer":{"@type":"Answer","text":"

For CE3/Doobie 1.x: https://stackoverflow.com/a/71257623

","upvoteCount":1,"url":"https://github.com/typelevel/doobie/discussions/1744#discussioncomment-3823171"}}}

How to turn an instance of Cats IO to ConnectionIO #1744

Discussion options

You must be logged in to vote

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@i-am-the-slime
Comment options

@jatcwang
Comment options

@i-am-the-slime
Comment options

@jatcwang
Comment options

@i-am-the-slime
Comment options

Answer selected by stefanfromm-allegro
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants