grpc / grpc/grpc-node

Avoid circular dependencies in @grpc/grpc-js

Open
#1,821 5 comments 0 reactions 0 assignees View on GitHub
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

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.