Uploaded image for project: 'Java Driver'
  1. Java Driver
  2. JAVA-3659

Deprecate com.mongodb.MongoClient members that are not part of the com.mongodb.client.MongoClient interface

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major - P3
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: API
    • Labels:
      None

      Description

      To nudge people further towards com.mongodb.client.MongoClient interface and away from com.mongodb.MongoClient, we should deprecate:

      • all com.mongodb.MongoClient constructors
      • all com.mongodb.MongoClient methods that are not also methods in com.mongodb.client.MongoClient

      We should also consider whether com.mongodb.MongoClient should implement com.mongodb.client.MongoClient. That could ease application's transition to the newer interface.

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            jeff.yemin Jeffrey Yemin
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: