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
returnGetSerializer(type,BsonSerializer.DefaultSerializationDomain.SerializerRegistry);//TODO We can keep this as is? I think in the long run we should remove this overload.
returnCreateGenericSerializer(serializerTypeDefinition,typeArguments,BsonSerializer.DefaultSerializationDomain.SerializerRegistry);//TODO We can keep this as is? I think in the long run we should remove this overload.
returnCreateSerializer(serializerType,BsonSerializer.SerializerRegistry);//TODO We can keep this as is? I think in the long run we should remove this overload.
_discriminatorConvention=discriminatorConvention??interfaceSerializer.GetDiscriminatorConvention();//QUESTION What do we do here? We don't have the domain close by, should we lazy initialize it during serialization/deserialization?
113
113
_interfaceSerializer=interfaceSerializer;
114
114
115
115
if(objectSerializer==null)
116
116
{
117
-
objectSerializer=BsonSerializer.LookupSerializer<object>();//TODO What do we do here?
117
+
objectSerializer=BsonSerializer.LookupSerializer<object>();//QUESTION What do we do here? We don't have the domain close by, should we lazy initialize it during serialization/deserialization?
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
@@ -149,7 +149,7 @@ public void RenderInsertOne<TDocument>(RenderArgs<BsonDocument> renderArgs, Bson
Copy file name to clipboardExpand all lines: src/MongoDB.Driver/Linq/Linq3Implementation/Translators/ExpressionToAggregationExpressionTranslators/GetTypeComparisonExpressionToAggregationExpressionTranslator.cs
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -40,7 +40,7 @@ public static TranslatedExpression Translate(TranslationContext context, BinaryE
Copy file name to clipboardExpand all lines: src/MongoDB.Driver/Linq/Linq3Implementation/Translators/ExpressionToAggregationExpressionTranslators/MethodTranslators/OfTypeMethodToAggregationExpressionTranslator.cs
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -65,7 +65,7 @@ public static TranslatedExpression Translate(TranslationContext context, MethodC
0 commit comments