Could I control the import path in the future?
Open
codegen
enhancement
- Dominant language
- JavaScript
- Stars
- 9.3k
- Forks
- 802
- Avg merge
- 1d 7h
- Merged PRs (30d)
- 5
Description
https://github.com/grpc/grpc-web/blob/86631990e365130d5cfca3aa93613ec1eeef7da4/javascript/net/grpc/web/grpc_generator.cc#L349
Here shows the import path is hardcoded as './${basename}_pb'. So it looks like could not put the generated code in others place except the build directory.
For example, there is a proto directory `/proto/echo.proto` and I want to put the generated code in `/MyChildProject/src/api/proto/` when I still could run my build script on `/MyChildProject`
Contributor guide
Assessment
This issue has not been assessed yet.