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.

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • 2.1
    • Affects Version/s: 2.0
    • Component/s: API
    • Labels:
      None

      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.

            Assignee:
            craig.wilson@mongodb.com Craig Wilson
            Reporter:
            craig.wilson@mongodb.com Craig Wilson
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: