mirror of
https://github.com/doctrine/KeyValueStore.git
synced 2026-03-24 08:42:12 +01:00
Use ext-mongodb for MongoDBStorage class #35
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @alcaeus on GitHub (Sep 3, 2019).
This library currently uses the legacy MongoDB extension (
ext-mongo) and its long-deprecated\Mongoclass to store data in MongoDB. Instead, it should rely on themongodb/mongodblibrary and the new driver (ext-mongodb).FWIW, we may as well think about extracting these specific adapters into smaller packages that require the necessary packages: the
doctrine/key-value-store-mongodb-adapterpackage would then be able to require specific versions ofdoctrine/key-value-storeas well as all other packages that are necessary (in this case,mongodb/mongodb). Otherwise, you get into the whole "optional dependencies" mess again.