-
Type: Task
-
Resolution: Done
-
Priority: Unknown
-
Affects Version/s: None
-
Component/s: GridFS
-
None
MongoDB.Driver.GridFS was originally implemented as a separate package because it was a set of conventions built on top of our driver, but didn't have its own server commands or changes to our wire protocol. Other drivers have included GridFS functionality in their core driver and not in a separate package. Given that GridFS is an implementation of a driver spec, is relatively small, and has no third-party dependencies beyond our driver, we should move MongoDB.Driver.GridFS to a $/src/gridfs folder in MongoDB.Driver. Tests should also be moved similarly.
NOTE #1: This task will require adjustment of our build scripts since we will no longer be producing a separate MongoDB.Driver.GridFS package.
NOTE #2: This would be a minor breaking change and should be done in 3.0 since the MongoDB.Driver.GridFS NuGet package will be eliminated and its functionality will be part of the driver itself. We will have to document this in our migration guide as users will run into problems if they reference both MongoDB.Driver and MongoDB.Driver.GridFS.