Avoid circular dependencies in @grpc/grpc-js
Open
package: @grpc/grpc-js
- Dominant language
- TypeScript
- Stars
- 4.8k
- Forks
- 716
- Avg merge
- 2d 3h
- Merged PRs (30d)
- 10
Description
### Is your feature request related to a problem? Please describe.
While Node.js supports circular dependencies, it comes with some drawbacks and in my experiences it is best to avoid them. As an example, tree shaking with Rollup becomes less effective.
### Describe the solution you'd like
Could we refactor the code in such a way, that there are no import cycles?
### Describe alternatives you've considered
-
### Additional context
-
Contributor guide
Assessment
This issue has not been assessed yet.