grpc / grpc/grpc-web

is there any way can keep the fieldname not change to camel-case?

Open
#1,176 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
9.3k
Forks
802
Avg merge
1d 7h
Merged PRs (30d)
5

Description

hi ,I try to use protoc-gen-grpc-web to build typescript types from proto file. it work well except the fieldname be changed to camel-case.

I fork this Repository and modify the `CamelCaseJSFieldName` function. then I make & make install on my macbook,it work fine.

but I'm poor on C++,i can not build a linux version to use in linux system like the [release flie](https://github.com/grpc/grpc-web/releases).

question is :

1. can the plugin provide a option that do not change the fieldname to camel-case?
2. how to cross-compile a linux version plugin on my mac-os?

Hope helps, thx

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.