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

XMLWordPrintableJSON

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

      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
            Reporter:
            Kristofer Brandow (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: