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

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Works as Designed
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: BSON
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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).

            Assignee:
            Divjot Arora (Inactive)
            Reporter:
            Eric Daniels (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: