Gajus Kuizinas
Gajus Kuizinas
Yeah, I expect this to be pretty specific to Slonik. As far as I am aware, no one caught up with Slonik in this regard.
However, @Newbie012 mentioned that you are moving in a direction of developing driver specific implementations, so it would seem appropriate for that logic to live there.
Wondering if there is any update on the driver specific implementations?
Open to a PR that adds this.
Looks like lint stop does not work.
Adding `--legacy-peer-deps` is fine.
Consider this pattern instead https://github.com/gajus/slonik/issues/481#issuecomment-1509394672
Sounds like this would be as simple as exposing `connection.isTransaction()` on the connection object.
`transactionIf` as a name is super confusing. I think that's what threw me off from the idea. I could see something like `continueTransactionOrStartNew` / `useOrStartTransaction` / `ensureTransaction` as a valuable...
hey @falti This looks promising. Any reason for not proceeding with releasing it?