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

Decoder should error for type-missmaches and overflows.

    • Type: Icon: Bug Bug
    • Resolution: Gone away
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 0.0.6
    • Component/s: BSON

      Currently, if a struct has a sized integer, and the value in the incoming document overflows that integer, the field is zero'd and there is no error.

      Presumably other type missmaches should be handled.

            Assignee:
            Unassigned Unassigned
            Reporter:
            sam.kleinman Sam Kleinman (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: