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

Add multi-word type aliases to BSON types

    • Type: Icon: Improvement Improvement
    • Resolution: Won't Fix
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: BSON
    • Labels:
      None

      The types for BSON are pretty hard to parse, especially for newbies - a type called M doesn't make clear that it's actually a map without reading the docs first.

      I've created at PR: https://github.com/mongodb/mongo-go-driver/pull/143 that adds these aliases - ie bson.Map for what is currently bson.M, and updates the bson documentation to reflect these changes, preferring the fullword aliases over the single letter ones, but acknowledging the single letter ones asĀ  well.

            Assignee:
            Unassigned Unassigned
            Reporter:
            bmosky Ben Moskovitz
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: