• Adam Cozzette's avatar
    JS: ensure that extension values are serialized even if they're falsy · 651ba62a
    Adam Cozzette authored
    There was a bug where for JavaScript we would only serialize an
    extension value if it evaluated as truthy, which meant that values like
    0 would get silently dropped (even in proto2, where field presence is
    significant). This fixes issue #2605, and takes care of the output of
    toObject() in addition to the binary format.
    651ba62a
Name
Last commit
Last update
..
arith.js Loading commit data...
arith_test.js Loading commit data...
constants.js Loading commit data...
decoder.js Loading commit data...
decoder_test.js Loading commit data...
encoder.js Loading commit data...
message_test.js Loading commit data...
proto_test.js Loading commit data...
reader.js Loading commit data...
reader_test.js Loading commit data...
utils.js Loading commit data...
utils_test.js Loading commit data...
writer.js Loading commit data...
writer_test.js Loading commit data...