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 67495b3 commit 74136c0Copy full SHA for 74136c0
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