You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/MongoDB.Driver/Core/WireProtocol/Messages/Encoders/BinaryEncoders/ClientBulkWriteOpsSectionFormatter.cs
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -63,7 +63,7 @@ public void FormatSection(ClientBulkWriteOpsCommandMessageSection section, IBson
63
63
thrownewArgumentException("Writer must be an instance of BsonBinaryWriter.");
64
64
}
65
65
66
-
_serializerRegistry=BsonSerializer.SerializerRegistry;//FP This needs to go, need to access MongoDB.Bson internals to access domain
@@ -51,7 +52,7 @@ public static IBsonSerializer GetSerializerForValueType(IBsonSerializer fieldSer
51
52
// serialize numeric values without converting them
52
53
if(fieldType.IsNumeric()&&valueType.IsNumeric())
53
54
{
54
-
varvalueSerializer=BsonSerializer.SerializerRegistry.GetSerializer(valueType);//QUESTION What to we do here? We don't even use the input serializer registry. Probably ask Robert
0 commit comments