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

Move D family of types from bson package to primitive package

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 0.1.0
    • None
    • BSON
    • None

    Description

      Currently the bson.D type family is in the bson package, but this means that no package below the bson package can handle decoding nor encoding into a BSON Document nor bson Array without the user providing additional ValueDecoder or ValueEncoder. Moving the bson.D type family to the primitive package will provide type for BSON Document and Array.

      To ease usage, add a type alias for primitive.D, primitive.M, and primitive.A to the bson package.

      Attachments

        Activity

          People

            kris.brandow@mongodb.com Kristofer Brandow (Inactive)
            kris.brandow@mongodb.com Kristofer Brandow (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: