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

Improve explanation of MongoCollection type parameter

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Minor - P4 Minor - P4
    • 3.1.0
    • None
    • API, Documentation
    • None

    Description

      MongoCollection<Document> doesn't make sense to me. This is much harder to use in code than just MongoCollection. Why was it genericized? What else can you have a collection of besides documents? This seems like potentially it wasn't the best way to design this. Or maybe it's just that the documentation needs to be improved to make it clearer what the purpose of this is.

      Attachments

        Activity

          People

            ross@mongodb.com Ross Lawley
            chengas123 Ben McCann
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: