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

Improve explanation of MongoCollection type parameter

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • 3.1.0
    • Affects Version/s: None
    • Component/s: API, Documentation
    • Labels:
      None

      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.

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

              Created:
              Updated:
              Resolved: