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

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 0.2.0
    • Affects Version/s: 0.1.0
    • Component/s: BSON
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • 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
              Reporter:
              Kristofer Brandow (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: