Uploaded image for project: 'Go Driver'
  1. Go Driver
  2. GODRIVER-696

SingleResult should use bson.DefaultRegistry when Registry is nil

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 0.2.0
    • Affects Version/s: 0.1.0
    • Component/s: CRUD
    • Labels:
      None

      The SingleResult type will currently panic when it isn't provided with a Registry. Fix this by using the DefaultRegistry when the registry is nil.

            Assignee:
            kris.brandow@mongodb.com Kristofer Brandow (Inactive)
            Reporter:
            kris.brandow@mongodb.com Kristofer Brandow (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: