Skip to content

Commit 74136c0

Browse files
committed
Added comment
1 parent 67495b3 commit 74136c0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/MongoDB.Driver/MongoCollectionSettings.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,7 @@ public ReadPreference ReadPreference
125125
internal IBsonSerializationDomain SerializationDomain
126126
{
127127
//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.
128129
get => _serializationDomain.Value ?? BsonSerializer.DefaultSerializationDomain;
129130
set
130131
{

0 commit comments

Comments
 (0)