-
Notifications
You must be signed in to change notification settings - Fork 77
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
adjust new_with_pool to return PGMQueue directly #217
Conversation
I think you're right, good idea! Quick note: the Rust lib will publish to crates.io on merge to main, so CI will fail until we bump the version in Cargo.toml |
@ChuckHend I don't think the failing test |
Yea it is flaky. I re-ran it and now it has passed. Do you want to bump the version in Cargo.toml so that we can release these changes when it merges to main? |
Sure, can do. Should be version 0.27.0 or 0.26.2? The adjustment is not big, but it changes the signature of a public method. |
Good call. Let's make it a minor release -> |
@ChuckHend sorry for the delay, was not at my computer 😅 increased the version to |
Thanks. I'm taking a look at that migration check now. |
The order of columns returned by old:
new:
|
I'm not sure, if this was done on purpose, but
new_with_pool(...)
can't return an error, because the pool creation and initial connection is done beforehand. I changed it to just return itself 🙂