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

sphere-mongo should depend only on bson library #173

Open
yanns opened this issue Apr 16, 2020 · 1 comment
Open

sphere-mongo should depend only on bson library #173

yanns opened this issue Apr 16, 2020 · 1 comment

Comments

@yanns
Copy link
Contributor

yanns commented Apr 16, 2020

The sphere-mongo library is depending on a mongo driver:
https://github.com/sphereio/sphere-scala-libs/blob/15e62715c4ed2df89789210cf02b786f88cd343c/mongo/dependencies.sbt#L2

The drawback is that consumers of the library cannot control the version of the mongo driver they are using.

We could have much less dependency and depends only on the mongo bson library.

@agourlay
Copy link
Contributor

Is there a drawback regarding depending only on the bson library?

It really seems like something we should do 👍

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

2 participants