sqlx
sqlx copied to clipboard
fix: `RawSql` lifetime issues
fixes #3150 fixes #3581 fixes #3591
TODO:
- [x] Regression test
Breaking Change
Strictly speaking, this is a breaking change because it adds the DB type parameter to all methods.
Hi @abonander!
I wonder if we can get this merged and released recently. And I'm curious why it's marked as breaking, since I suppose it relaxes the lifetime bound which should be backward-compatible?
It adds a new type parameter to public methods, which would break UFCS calls.