C# Driver should serialize shorts (System.Int16) as if they were ints

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      if I have an object with a member "short People" it gets serialized into a mongo collection like so:

      "People" : {
      "_t" : "System.Int16",
      "_v" : 300
      },

      Why not serialize as an int? If its too big let it throw on deserialization if its too big.

            Assignee:
            Robert Stam (Inactive)
            Reporter:
            Justin Dearing
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: