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

ArrayEncodeValue and SliceEncodeValue don't properly handle nil for primitive.Element

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

      The ArrayEncodeValue and SliceEncodeValue methods do not have a primitive.E with nil as it's Value field. Fix these two methods to properly encode BSON null when they receive nil for the Value field.

            Assignee:
            go-community-user Go Community User
            Reporter:
            kris.brandow@mongodb.com Kristofer Brandow (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: