sqlx icon indicating copy to clipboard operation
sqlx copied to clipboard

refactor: lift type mappings into driver crates

Open abonander opened this issue 1 year ago • 1 comments

Motivated by #2917

cc @g-bartoszek you can build your changes onto this. Just use Postgres::fmt_value_debug()

abonander avatar Jan 06 '24 04:01 abonander

While I doubt anyone's actually using the type mappings I had to change (to actually get this to compile), it's still technically a breaking change and will need to wait for the next major release.

On the upside, it's possible to catch mistakes like this in the future because the macro invocation will complain about the lack of a Decode or Encode impl.

abonander avatar Jan 16 '24 22:01 abonander