Uploaded image for project: 'C# Driver'
  1. C# Driver
  2. CSHARP-590

Simplify server, database and collection settings

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 1.8
    • Affects Version/s: 1.7
    • Component/s: None
    • None

      Simplify how server, database and collection settings are created and inherited.

      This is accomplished by ensuring that the settings classes are simple settings holders with no-argument constructors and delaying the inheritance of settings until the corresponding database or collection object is created.

      We are also removing the name from the database and collection settings and the defaultDocumentType from the collection settings. These are now considered intrinsic to the identity of the database or collection, whereas the settings are optional values that control some aspects of how the database or collection is used.

      This is backward breaking but easy to fix.

            Assignee:
            robert@mongodb.com Robert Stam
            Reporter:
            robert@mongodb.com Robert Stam
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: