Uploaded image for project: 'C# Driver'
  1. C# Driver
  2. CSHARP-5232

Move MongoDB.Driver.GridFS into MongoDB.Driver

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Unknown Unknown
    • 3.0.0
    • Affects Version/s: None
    • Component/s: GridFS
    • None
    • Dotnet Drivers
    • Hide

      1. What would you like to communicate to the user about this feature?
      2. Would you like the user to see examples of the syntax and/or executable code and its output?
      3. Which versions of the driver/connector does this apply to?

      Show
      1. What would you like to communicate to the user about this feature? 2. Would you like the user to see examples of the syntax and/or executable code and its output? 3. Which versions of the driver/connector does this apply to?

      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.

            Assignee:
            boris.dogadov@mongodb.com Boris Dogadov
            Reporter:
            james.kovacs@mongodb.com James Kovacs
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: