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

Encoding nil type (like bson.D(nil)) encodes as nil

    XMLWordPrintableJSON

Details

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

    Description

      In mgo.v2/bson, this encoded as a an empty document which seems more idiomatic.

      Attachments

        Activity

          People

            kris.brandow@mongodb.com Kristofer Brandow (Inactive)
            eric.daniels@mongodb.com Eric Daniels (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: