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

Remove internal APIs from MongoDB.Core

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Unknown Unknown
    • 3.0.0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • 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?

      A number of files in MongoDb.Core project are public even though they were not designed for that and effectively they're internal. But when we want to make a change in their "public" API we still try to avoid it which sometimes makes our code less clear.
      However we already made some of these changes and no one complained about it during years. I think it would be good if we define which files(at least high-level) we can feel free to change and which ones not.

      For example: `IAuthenticator` looks like a valid candidate to be effectively public since at least someone can want to moq this logic in their tests or implement his own logic, but it's hard to imagine if anyone can implement his own version of IChannel

            Assignee:
            Unassigned Unassigned
            Reporter:
            dmitry.lukyanov@mongodb.com Dmitry Lukyanov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: