mirror of
https://github.com/launchbadge/sqlx
synced 2024-11-10 06:24:16 +00:00
4fc5b30d65
* chore: create regression test for #3344 * fix(derives): use a parameter name that's less likely to collide * breaking(derives): emit `Error::ColumnDecode` when a `TryFrom` conversion fails in `FromRow` Breaking because `#[sqlx(default)]` on an individual field or the struct itself would have previously suppressed the error. This doesn't seem like good behavior as it could result in some potentially very difficult bugs. Instead of using `TryFrom` for these fields, just implement `From` and apply the default explicitly. * fix: run `cargo fmt` * fix: use correct field in `ColumnDecode` |
||
---|---|---|
.. | ||
fixtures | ||
migrations | ||
migrations_no_tx | ||
migrations_reversible | ||
migrations_simple | ||
derives.rs | ||
describe.rs | ||
Dockerfile | ||
error.rs | ||
macros.rs | ||
migrate.rs | ||
pg_hba.conf | ||
postgres.rs | ||
setup.sql | ||
test-attr.rs | ||
test-query.sql | ||
types.rs |