protobuf.js icon indicating copy to clipboard operation
protobuf.js copied to clipboard

Support for jstype option

Open litichevskiydv opened this issue 6 years ago • 2 comments

litichevskiydv avatar Dec 01 '18 19:12 litichevskiydv

Any update on this? I've been running into issues where:

Example:

message SomeMessage {
  int64 veryLongTimestamp = 1 [jstype=JS_STRING];
}

Then, when I try to create again...

// typeof veryLongTimestamp === 'string'
SomeMessage.create({ veryLongTimestamp });

// veryLongTimestamp expected to be number|Long

kim-nguyenkhn avatar Oct 25 '19 22:10 kim-nguyenkhn

Is this no longer required or are there plans to update and merge this PR?

edward-simpson-byhiras avatar Apr 26 '24 11:04 edward-simpson-byhiras