-
-
Notifications
You must be signed in to change notification settings - Fork 639
Open
Description
First, thanks for the nice library, I enjoy using it. :)
One papercut is, as it is now, sea_orm::from_sqlx_postgres_row_to_proxy_row will panic on this line if a type is returned that doesn't find a match:
sea-orm/src/driver/sqlx_postgres.rs
Line 929 in 4d0dcdc
| _ => unreachable!("Unknown column type: {}", c.type_info().name()), |
Would be nice(r) if there was a try_from_sqlx_postgres_row_to_proxy_row variant that wouldn't crash but return an error instead, where the given instance may have custom types defined from extension modules in my case.
Metadata
Metadata
Assignees
Labels
No labels