• 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
..
binary Loading commit data...
commonjs Loading commit data...
README.md Loading commit data...
data.proto Loading commit data...
debug.js Loading commit data...
debug_test.js Loading commit data...
gulpfile.js Loading commit data...
jasmine.json Loading commit data...
map.js Loading commit data...
maps_test.js Loading commit data...
message.js Loading commit data...
message_test.js Loading commit data...
node_loader.js Loading commit data...
package.json Loading commit data...
proto3_test.js Loading commit data...
proto3_test.proto Loading commit data...
test.proto Loading commit data...
test2.proto Loading commit data...
test3.proto Loading commit data...
test4.proto Loading commit data...
test5.proto Loading commit data...
test8.proto Loading commit data...
test_bootstrap.js Loading commit data...
testbinary.proto Loading commit data...
testempty.proto Loading commit data...