You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using protoc-gen-es with json_types=true option, if the value of json_name includes a hyphen(e.g. "x-id"), it causes errors in the generated Typescript or Javascript files.
Describe the bug
When using
protoc-gen-es
withjson_types=true
option, if the value ofjson_name
includes a hyphen(e.g. "x-id"), it causes errors in the generated Typescript or Javascript files.To Reproduce
Additional context
The generated code should correctly handle the hyphen without causing syntax errors.
The text was updated successfully, but these errors were encountered: