-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Add support for mongo-driver v2 without breaking 1.x compatibility #1265
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
base: master
Are you sure you want to change the base?
Add support for mongo-driver v2 without breaking 1.x compatibility #1265
Conversation
64dd4ca to
13f2229
Compare
|
@dhui and reviewers, can you please review this PR ? |
|
@dhui please review the changes. And let me know if i can do anything to expedite the process. |
|
Any update on this is it going to be accepted? |
|
@dhui Can this be merged and released as a new version? This is really problematic for using the latest drivers. |
|
@Fontinalis Or maybe you Barnabás? :) Is there anything that can be done here? :) Köszi! :) |
| if err == nil { | ||
| err = e | ||
| } else { | ||
| err = multierror.Append(err, e) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Better to use errors.Join
|
@dhui Any news on this? :) |
Added support for the MongoDB driver in the newly released V2 version, while ensuring compatibility with the 1.x versions of the MongoDB driver for flexibility in development.
This update does not break compatibility with any 1.x or earlier versions of the MongoDB driver.
The migration process follows the guidelines provided in the official MongoDB driver migration guide: MongoDB Go Driver v2 Migration Guide.
Ref : pgxv4 and pgxv5 db driver
@dhui Please take a look.