We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Generating project with seaography-cli from postgress db. When I try to get data from the table with an enum, the server panic.
├── sea-orm v0.10.7 │ ├── sea-orm-macros v0.10.7 (proc-macro) │ ├── sea-query v0.27.2 │ │ ├── sea-query-derive v0.2.0 (proc-macro) │ ├── sea-query-binder v0.2.2 │ │ ├── sea-query v0.27.2 (*) │ ├── sea-strum v0.23.0 │ │ └── sea-strum_macros v0.23.0 (proc-macro) ├── seaography v0.3.0 │ ├── sea-orm v0.10.7 (*) │ └── seaography-derive v0.3.0 (proc-macro)
Server output:
Rust type `core::option::Option<alloc::string::String>` (as SQL type `TEXT`) is not compatible with SQL type `_foodcategoryenum`" }))
Problematic column:
#[sea_orm(column_type = "Custom(\"array\".to_owned())", nullable)] pub category: Option<String>,
I even try to replace this definition by
pub category: Option<Vec<Foodcategoryenum>>,
but it will not compile because
the trait `From<Vec<Foodcategoryenum>>` is not implemented for `sea_orm::Value`
The text was updated successfully, but these errors were encountered:
Thanks for taking the time to report this issue. I will schedule it to be delivered in later versions.
Sorry, something went wrong.
No branches or pull requests
Description
Generating project with seaography-cli from postgress db. When I try to get data from the table with an enum, the server panic.
Steps to Reproduce
Versions
Additional Information
Server output:
Problematic column:
I even try to replace this definition by
but it will not compile because
The text was updated successfully, but these errors were encountered: