Use new oneofs option in deserialize call

pull/10204/head
murgatroid99 8 years ago
parent b306854816
commit c1b758f488
  1. 3
      src/node/src/protobuf_js_6_common.js

@ -50,7 +50,8 @@ exports.deserializeCls = function deserializeCls(cls, options) {
defaults: true,
bytes: options.binaryAsBase64 ? String : Buffer,
longs: options.longsAsStrings ? String : null,
enums: String
enums: String,
oneofs: true
};
/**
* Deserialize a buffer to a message object

Loading…
Cancel
Save