-
-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
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
Upgrade SeaORM dependency to 0.10.x #89
Comments
Got this error while building a Docker image.
I believe upgrading the SeaORM dependency to 0.10.x will fix it. |
Hey @Musbell, try upgrading your Rust to at least 1.60. SeaORM need Rust 1.60 to compile. |
Thanks, @billy1624 it worked : ) |
@billy1624 what do you mean by support Vec for PostgreSQL? Do you have an example ? |
I think Billy meant https://github.com/SeaQL/sea-orm/blob/master/tests/collection_tests.rs Since this is a Postgres-only feature, may be we can think about it later, as I don't want to create hassle in Seaography for handling database-specific behaviour. |
In order to add new types we currently need to both https://github.com/SeaQL/seaography/blob/main/src/lib.rs#L146-L205 and https://github.com/SeaQL/seaography/blob/main/derive/src/filter.rs#L53-L81. This #87 will solve to maintain the list only on the first file. I merge the update for the moment and wait for more progress on other areas |
We can wait #87 resolved before considering the support of But I imagine it's readonly and we won't support filtering operation that's specific to array column of Postgres. I think all we have to do is just implement some trait on |
Okay, with #87 resolved now we can get back to this. |
This needs more work because of the Vec, I noticed this problem yesterday when I was trying to generate the postgres example |
This is update has been applied to the code base, but only #128 is needed, so I close this issue |
Motivation
SeaORM 0.10.x is released (chnagelog). We should upgrade SeaORM dependency on seaography side as well.
Tasks
Vec<T>
for PostgresThe text was updated successfully, but these errors were encountered: