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

Improve explanation of MongoCollection type parameter

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor - P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.1.0
    • Component/s: API, Documentation
    • Labels:
      None
    • Sprint:
      Java Sprint 24, Java Sprint 25

      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

            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: