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

Single and SingleOrDefaultAsync on IFindFluent shouldn't set the limit to 2 if it is already 1.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor - P4
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: 2.1
    • Component/s: API
    • Labels:
      None

      Description

      If the limit is already 1 in IFindFluent, changing the limit to 2 when Single or SingleOrDefault is used can cause an exception to be thrown.

        Attachments

          Activity

            People

            Assignee:
            craiggwilson Craig Wilson
            Reporter:
            craiggwilson Craig Wilson
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: