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

ValueDecoders and ValueEncoders should ensure that a value can be set or is valid first

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

      ValueDecoder's and ValueEncoder's should check if a value is settable or valid, respectively first, before checking if checking if the next value from the ValueReader or ValueWriter is valid. Previously, this was checked first because there was a fast path for many Decoders and Encoders which no longer exists, so checking for a settable or valid value first makes sense and is consistent.

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

              Created:
              Updated:
              Resolved: