Skip to content

Commit b3d7cb9

Browse files
committed
CSHARP-4872: Call Translate instead of TranslateEnumerable.
1 parent ca0d5cf commit b3d7cb9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/MongoDB.Driver/Linq/Linq3Implementation/Translators/ExpressionToAggregationExpressionTranslators/MethodTranslators/AppendOrPrependMethodToAggregationExpressionTranslator.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ public static AggregationExpression Translate(TranslationContext context, Method
6161
}
6262
else
6363
{
64-
elementTranslation = ExpressionToAggregationExpressionTranslator.TranslateEnumerable(context, elementExpression);
64+
elementTranslation = ExpressionToAggregationExpressionTranslator.Translate(context, elementExpression);
6565
if (!elementTranslation.Serializer.Equals(itemSerializer))
6666
{
6767
throw new ExpressionNotSupportedException(expression, because: "argument serializers are not compatible");

0 commit comments

Comments
 (0)