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

fix: missing valuesOptions in the fromJSON parser function (#1961)

Open dobrac opened this issue 1 year ago • 1 comments

I've found out that the "valuesOptions" option in the Enum class is missing when parsed from the JSON.

This PR should fix the issue: https://github.com/protobufjs/protobuf.js/issues/1961

dobrac avatar Apr 08 '24 23:04 dobrac

I reproduced this issue on 7.4, and verified that this fix works as intended.

idiomic avatar Sep 17 '24 17:09 idiomic