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.Bson/Serialization/BsonClassMap.cs
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -122,7 +122,7 @@ public IEnumerable<BsonCreatorMap> CreatorMaps
122
122
/// </summary>
123
123
publicIConventionPackConventionPack
124
124
{
125
-
get{returnBsonSerializer.DefaultSerializationDomain.ConventionRegistry.Lookup(_classType);}//TODO This is not completely correct, this should be eliminated.
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
66
+
_serializerRegistry=BsonSerializer.SerializerRegistry;//FP This needs to go, need to access MongoDB.Bson internals to access domain
varvalueSerializer=BsonSerializer.SerializerRegistry.GetSerializer(valueType);//QUESTION What to we do here? We don't even use the input serializer registry. Probably ask Robert
//QUESTION This happens in all GeoJsonOBjectModel serializers, what do we do here? Do we just lookup the serialzer in each Serialize/Deserialize or do we cache it?
Copy file name to clipboardExpand all lines: src/MongoDB.Driver/GridFS/GridFSBucketOptions.cs
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -243,7 +243,7 @@ public ReadPreference ReadPreference
243
243
/// </value>
244
244
publicIBsonSerializerRegistrySerializerRegistry
245
245
{
246
-
get{returnBsonSerializer.SerializerRegistry;}//TODO This is wrong
246
+
get{returnBsonSerializer.SerializerRegistry;}//QUESTION What do we do in this case...? Given it's read only, we could ignore it? Also, why the immutable options have a serializer registry and the non-immutable options do not?
Copy file name to clipboardExpand all lines: src/MongoDB.Driver/Linq/Linq3Implementation/Translators/ExpressionToAggregationExpressionTranslators/ArrayLengthExpressionToAggregationExpressionTranslator.cs
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -28,7 +28,7 @@ public static TranslatedExpression Translate(TranslationContext context, UnaryEx
Copy file name to clipboardExpand all lines: src/MongoDB.Driver/Linq/Linq3Implementation/Translators/ExpressionToAggregationExpressionTranslators/ConvertExpressionToAggregationExpressionTranslator.cs
+11-12Lines changed: 11 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -44,13 +44,13 @@ sourceExpression is UnaryExpression unarySourceExpression &&
// note: we would have liked to throw a query execution error here if the value is null and the target type is not nullable but there is no way to do that in MQL
232
231
// so we just return null instead and the user must check for null themselves if they want to define what happens when the value is null
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
@@ -56,7 +56,7 @@ public static TranslatedExpression Translate(TranslationContext context, MethodC
0 commit comments