SortBy exception with enum property type

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Duplicate
    • Priority: Major - P3
    • None
    • Affects Version/s: 2.0
    • Component/s: API
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      return await this.Collection.Find(t => t.Name.Equals(name)) .SortBy(t => t.Gender).Project(projection).ToListAsync();

      if Gender property is Enum type driver will throw exception "Unable to determine the serialization information for t => Convert(t.Gender)."

            Assignee:
            Unassigned
            Reporter:
            Cuong Vu
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: