[CSHARP-590] Simplify server, database and collection settings Created: 05/Oct/12 Updated: 20/Mar/14 Resolved: 05/Dec/12 |
|
| Status: | Closed |
| Project: | C# Driver |
| Component/s: | None |
| Affects Version/s: | 1.7 |
| Fix Version/s: | 1.8 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Robert Stam | Assignee: | Robert Stam |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Description |
|
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. |
| Comments |
| Comment by Robert Stam [ 05/Dec/12 ] |
|
Pushed to master. |
| Comment by auto [ 05/Dec/12 ] |
|
Author: {u'date': u'2012-12-04T22:15:29Z', u'name': u'rstam', u'email': u'robert@10gen.com'}Message: |
| Comment by Robert Stam [ 29/Nov/12 ] |
|
Reopened to backport to 1.8 (if possible). We may change our minds on this if it can't be accomplished in a way that is backwards compatible. |
| Comment by auto [ 18/Oct/12 ] |
|
Author: {u'date': u'2012-10-16T14:43:16-07:00', u'email': u'robert@10gen.com', u'name': u'rstam'}Message: |
| Comment by auto [ 05/Oct/12 ] |
|
Author: {u'date': u'2012-10-05T07:02:38-07:00', u'email': u'robert@10gen.com', u'name': u'rstam'}Message: |
| Comment by auto [ 05/Oct/12 ] |
|
Author: {u'date': u'2012-10-05T07:02:38-07:00', u'email': u'robert@10gen.com', u'name': u'rstam'}Message: |