[CSHARP-604] Simplify GridFS settings Created: 14/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:
Related
related to CSHARP-590 Simplify server, database and collect... Closed

 Description   

Simplify how GridFS settings are created and inherited.

This is accomplished by ensuring that the settings class is a simple settings holder with a no-argument constructor and delaying the inheritance of settings until the corresponding MongoGridFS object is created.

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: CSHARP-590, CSHARP-604: simplify server, database, collection and GridFS settings classes.
Branch: master
https://github.com/mongodb/mongo-csharp-driver/commit/b6a1192fd0806a1417ba96cd0fc33c7c5f02b700

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 [ 16/Oct/12 ]

Author:

{u'date': u'2012-10-15T20:18:58-07:00', u'email': u'robert@10gen.com', u'name': u'rstam'}

Message: CSHARP-604: added new Setting<T> struct to use in MongoGridFSSettings.
Branch: x2.0
https://github.com/mongodb/mongo-csharp-driver/commit/cc93801d2015efda1f505e9de55158bd121ca443

Comment by auto [ 16/Oct/12 ]

Author:

{u'date': u'2012-10-14T08:56:23-07:00', u'email': u'robert@10gen.com', u'name': u'rstam'}

Message: CSHARP-604: Simplify GridFS settings.
Branch: x2.0
https://github.com/mongodb/mongo-csharp-driver/commit/255dc03e97c1d10797fad2dea6503ea7bb54a96c

Comment by Robert Stam [ 14/Oct/12 ]

The changes to the GridFS settings are similar to the changes already made to the server, database and collection settings.

Generated at Wed Feb 07 21:37:19 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.