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

Zeroer improvement causes primitive.Binary with no data to be zeroed to nil

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Works as Designed
    • Icon: Major - P3 Major - P3
    • None
    • None
    • BSON
    • None

    Description

      It used to be the case that unmarshaling absent data for a field onto a primitive.Binary would set Data to []uint8{} but now it is being set to []uint8(nil).

      Attachments

        Activity

          People

            divjot.arora@mongodb.com Divjot Arora (Inactive)
            eric.daniels@mongodb.com Eric Daniels (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: