way to force decoding ints into string

XMLWordPrintableJSON

    • Type: New Feature
    • Resolution: Gone away
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: BSON
    • None
    • None
    • None
    • None
    • None
    • None

      I have following field in struct:

      Codes map[string]string `bson:"codes"`

      Sometimes value of this map is  numberLong and got an error:

      cannot decode 64-bit integer into a string type
      

      With mgo driver this case is ok, but in official driver I can't load this collection at all.

              Assignee:
              Isabella Siu (Inactive)
              Reporter:
              Alexander
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: