We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a783914 commit 4c7d7acCopy full SHA for 4c7d7ac
src/MongoDB.Driver/MongoCollectionSettings.cs
@@ -125,6 +125,7 @@ public ReadPreference ReadPreference
125
internal IBsonSerializationDomain SerializationDomain
126
{
127
//QUESTION Is this correct? Normally the domain would be setup by ApplyDefaultValues, but for testing it would not work.
128
+ //Internally we can also modify the tests to set this (when we use mocks), but externally developers won't be able to set this.
129
get => _serializationDomain.Value ?? BsonSerializer.DefaultSerializationDomain;
130
set
131
0 commit comments