Uploaded image for project: 'C# Driver'
  1. C# Driver
  2. CSHARP-3345

LINQ3: Implement ToListMethodToAggregationExpressionTranslator

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 2.14.0
    • None
    • LINQ3
    • None

    Description

      When translating ToList to an aggregation expression no actual AST is generated.

      The server side representation of IEnumerable<T> and List<T> are identical (they are both BSON arrays). The ToList method simply changes the type of the expression from IEnumerable<T> to List<T>, which requires replacing the serializer with a list serializer.

      Attachments

        Activity

          People

            robert@mongodb.com Robert Stam
            robert@mongodb.com Robert Stam
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: