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

Projection: Exception Unable to determine the serialization information nested array field

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • None
    • 2.4.1
    • Linq
    • None

    Description

      I'm trying to include nested array object field in projection

      Include(x => x.Attempts.Select(a => a.Success))
      

      Gives me following exception

          Unable to determine the serialization information for x => x.Attempts.Select(a => a.Success)
      

      Text version .Include("attempts.success") works fine

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: