Provide the possibility to provide a custom gridfs instance to the gridfs storage adapter.
If that is the case it will be possible to split the gridfs and the rest of the storage up.
Current situation
The gridfs is taken from the global MongoDB instance.
Should
The gridfs instance should be injected and not selected in the constructor.
Describe the change
Provide the possibility to provide a custom gridfs instance to the gridfs storage adapter. If that is the case it will be possible to split the gridfs and the rest of the storage up.
Current situation
The gridfs is taken from the global MongoDB instance.
Should
The gridfs instance should be injected and not selected in the constructor.