Closed isaacdonaldson closed 6 months ago
To add to this, I believe this is the commit when the version of the sea-schema
dependency was bumped: https://github.com/SeaQL/sea-orm/commit/5d78e56f8c511544315eb76d894c2afb5a5dd16a
And it might be because in this sea-schema
commit the number of arguments passed to the query_tables
function changed: https://github.com/SeaQL/sea-schema/commit/9e148660774dc2a71a74154b80166312290b8d6a
Facing the same issue... Hopefully there will be a fix soon
Even v1.0.0-rc.1 cannot be compiled anymore
Non-rc versions works fine
@DenuxPlays, if this is a showstopper for you then you can use the workaround I mentioned above and it should work fine for the time being (replace the entry for sea-scheme
in the Cargo.lock
)
@DenuxPlays, if this is a showstopper for you then you can use the workaround I mentioned above and it should work fine for the time being (replace the entry for
sea-scheme
in theCargo.lock
)
Yeah I just downgraded to the 0.12.15 or so I am not a huge fan of editing generated files as the doesn't end well
But this issue has been open for 19h and still no reaction this is kinda sad
But this issue has been open for 19h and still no reaction this is kinda sad
0.12.15
is the stable release and 1.0.0-rc2
is the release candidate, so by using it you might encounter issues that you wouldn't find on the stable branch (like this one). Granted, not being able to compile is quite a big problem, but 19h is not a long time to be away from a computer
Hey everyone, thanks for raising this issue. The root cause is that we released 1.0.0-rc.2
before this https://github.com/SeaQL/sea-orm/commit/a321f0a566eade8bbfe9a105db1f6f974b662de2 commit.
I will be releasing 1.0.0-rc.3
in a few hours!
Thank you for letting us know about the update, also thanks for your assistance!
Thanks for getting out a new update quickly, appreciate it š !
Thanks everyone!
Description
Compiling with most recent version of
sea-orm-migration 1.0.0-rc.2
causes a compiler error.Steps to Reproduce
(not the best reproduction, apologies)
[dependencies.sea-orm-migration] version = "1.0.0-rc.2" features = ["runtime-tokio-rustls"]
cargo run
and see a compiler error complaining about argument arity.Expected Behavior
The program should fail to compile because the
IntoSchemaManagerConnection
trait is not implemented for&str
, not because of argument arity.I it's a bad reproduction and I know it, sorry.
Actual Behavior
It produces the error:
Workarounds
Changing the
Cargo.lock
entry forsea-schema
fromto
Reproducible Example
Example above
Versions
sea-orm-migration ->
1.0.0-rc.2
sea-schema ->0.15.0-rc4