Not sure if this is intentional, but... If you us...
# exposed
m
Not sure if this is intentional, but... If you use
suspendedTransactionAsync
and a normal blocking
transaction
in the same coroutine, Exposed (well, in this case, HikariCP) throws a
Connection is closed
exception. Is this intentional? If I change the
suspendedTransactionAsync
to a normal
transaction
again, the issue goes away. If I change every
transaction
to a
suspendedTransactionAsync
, the issue also goes away. I found that bug when I found out that Exposed does support coroutines so I decided to start replacing some of my old blocking transactions with coroutine-aware methods
👀 1
w
@MrPowerGamerBR I am having the exact same problem, can you post here if you find a solution?
m
@waltermcq very very very late response, but this bug was fixed in Exposed 🙂