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

grpc-js: Fix an error from a previous change, and enable a TS compiler options to prevent regressions #2503

Merged

Conversation

murgatroid99
Copy link
Member

In #2456, in client.ts, development code that commented out the use of the callerStack variable in unary requests was mistakenly included in the final PR.

In order to avoid this kind of error in the future, I also enabled the noUnusedLocals TypeScript compiler option, which would have make this mistake an error. In making the code changes that option required, I discovered and fixed another bug in transport.ts that prevented the propagation of proxy information to channelz. The error is ignored in one place in server-call.ts, where a field is accessed in an unusual way that the compiler does not recognize.

@murgatroid99 murgatroid99 merged commit 3e13d84 into grpc:@grpc/grpc-js@1.8.x Jul 13, 2023
4 of 5 checks passed
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

Successfully merging this pull request may close these issues.

None yet

2 participants