Skip to content
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

BSON Version Conflicts with Newer Mongo Drivers #124

Open
AustinHunt opened this issue May 2, 2024 · 0 comments
Open

BSON Version Conflicts with Newer Mongo Drivers #124

AustinHunt opened this issue May 2, 2024 · 0 comments

Comments

@AustinHunt
Copy link

We use apollo 3 and don't plan to upgrade any time in the near future. But, we are continuously upgrading our mongodb library. With that comes updates to the bson package. It looks like this library has a hard dependency on bson@4.x this breaks when you upgrade your mongodb library to the latest version 6.x because mongodb imports the latest version of bson.

My recommended fix: Move the bson package to being a peer-dependency and allow the user to specify their own bson version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant