grpc / grpc/grpc-web

TS alternative to option go_package = "dir/dir/stubs/v1"

Open
#943 0 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 all.
Is there similar way to define output directory like it is in case of Go packages?
Instead of providing output directory in `protoc` CLI:
`--grpc-web_out=import_style=typescript,mode=grpcwebtext:dir/dir/stubs/v1 \` i would like to write:
`option ts_package = "dir/dir/stubs/v1"` (just as an example) directly in the `*.proto` file and plugin should take care of my output dir based on this option.

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.