Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to set go --grpc_out #247

Open
turgayozgur opened this issue Jul 2, 2021 · 2 comments
Open

Unable to set go --grpc_out #247

turgayozgur opened this issue Jul 2, 2021 · 2 comments

Comments

@turgayozgur
Copy link

GEN_STRING is not supporting to set --grpc_out for go language:

GEN_STRING="--go_out=${GO_SOURCE_RELATIVE}${GO_MODULE_PREFIX}${GO_PACKAGE_MAP}plugins=grpc:$OUT_DIR"

However, it is supported for some of the languages like csharp:

GEN_STRING="--grpc_out=$OUT_DIR --csharp_out=$OUT_DIR --plugin=protoc-gen-grpc=`which grpc_csharp_plugin`"

How can I get the _grpc output for golang?

@chris-kruining
Copy link

because the flag is --grpc-out I believe, the underscore is a hyphen, I ran into the same issue with --js_out

echo " --grpc-out This option allows overriding the left-half of the 'grpc_out=' argument (before the colon) with grpc-node and grpc-web code generation. Options are: generate_package_definition, grpc_js or grpc(depricated from April 2021). Defaults to grpc_js."

@ido-namely
Copy link
Contributor

@turgayozgur what kind of setting are you interested in setting in --grpc_out for go?
I ask because some of the config options are exposed via other more specific flags in the script.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants