I run sea-orm-cli generate entity and the resulting rust code does not compile:
error[E0277]: the trait bound `Option<Vec<Vec<u8>>>: TryGetable` is not satisfied
--> blockscout-db/entity/src/account_public_tags_requests.rs:5:35
|
5 | #[derive(Clone, Debug, PartialEq, DeriveEntityModel, Eq)]
| ^^^^^^^^^^^^^^^^^ the trait `TryGetable` is not implemented for `Option<Vec<Vec<u8>>>`
Steps to Reproduce
Have a table with column of type bytea[]
Generate entities from the table
Try to compile the result
Expected Behavior
Compiles
Actual Behavior
Not compiles
Reproduces How Often
Consistent
Workarounds
Couldn't find any. postgres-array feature seems to be connected, but it doesn't compile with it enabled
Reproducible Example
Seems too simple to make a PR, let me know if it's actually needed:
Description
I run
sea-orm-cli generate entity
and the resulting rust code does not compile:Steps to Reproduce
bytea[]
Expected Behavior
Compiles
Actual Behavior
Not compiles
Reproduces How Often
Consistent
Workarounds
Couldn't find any.
postgres-array
feature seems to be connected, but it doesn't compile with it enabledReproducible Example
Seems too simple to make a PR, let me know if it's actually needed:
Versions
sha256:6b841c8f6a819884207402f1209a8116844365df15fca8cf556fc54a24c70800
)features = [ "sqlx-postgres", "runtime-tokio-rustls", "macros", "postgres-array" ]
, doesn't work with onlypostgres-array
and without any as wellI would ask it in discord beforehand, but web version refuses to work for some reason π€·