Deprecate com.mongodb.DB public constructor that takes a com.mongodb.Mongo instance

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major - P3
    • 3.9.0
    • Affects Version/s: None
    • Component/s: API
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      With the deprecation of com.mongodb.Mongo this constructor should be deprecated as well so that the Mongo class can be removed in the next major release. Also, there's no good reason we're aware of for the DB class to have a public constructor, so it doesn't need to be replaced with a new public constructor that takes a com.mongodb.MongoClient, though we could consider adding one if requested.

            Assignee:
            Jeffrey Yemin
            Reporter:
            Jeffrey Yemin
            None
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: