-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Backports/2.1.4 #3959
Backports/2.1.4 #3959
Conversation
fixing test for Queryable fixing tests for Queryable rustfmt tests Update diesel_derives/tests/queryable.rs Co-authored-by: Georg Semmler <[email protected]> fixing tests for Queryable rustfmt tests
The PostgreSQL types are included when using the postgres_backend feature flag, the same feature flag should be used for the SqlOrd implementation of these types.
So this is odd, clippy is tossing lints about It does look like |
03810ce
to
6e0aef1
Compare
For the tests we switch to the suggested alternatives, for the real implementation we continue to use the deprecated functions as the suggested alternatives do not exist in our minimal supported chrono version.
6e0aef1
to
143bc32
Compare
Sure, merged those in. The CI is failing here still: I've seen this before. In my local setup I had to fix this by modifying ./bin/test to specify the db type as a feature directly, maybe the CI needs to be adjusted somehow? Here are the specific changes: https://github.com/diesel-rs/diesel/pull/3959/files#diff-4e821476d5e4f5626c6f9fca337a47afe96a5e3daf23bccb02ad0bb109a9a407 Also note that in my local setup, mysql is failing numerous tests, but I'm not sure the cause as I just used the docker-compose method mentioned in the contributor document. Everything else works fine. |
02a03fe
to
012ae9c
Compare
No matter what I do I can't seem to get the MSRV to pass |
We also need to fix the sqlite-bundled job to the yesterday nightly due to rust-lang/rust#120830
012ae9c
to
9117d29
Compare
I pushed another commit that hopefully fixes the MSRV build. Will try to do a final review and a release tomorrow. |
Published as https://github.com/diesel-rs/diesel/releases/tag/v2.1.5 Thanks again for your work on the backports. |
Hopefully I'm doing this correctly:
impl SqlOrd
postgres > postgres_backend feature flag.Queryable
to be used with multiple table namesNote: One unit test is failing, but I'm uncertain whether it's caused by my local build environment. It was already failing without any of these changes.