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

proto-loader: Fix generated types for callbacks #1967

Merged

Conversation

murgatroid99
Copy link
Member

This fixes #1966. The previous generated callback type doesn't match the actual behavior or type definitions of the gRPC libraries. Both libraries export the requestCallback type, so this will work with both. I don't see this as a breaking change because code that depended on the wrong parts of the previous generated types wouldn't work correctly anyway.

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.

Method type generated by proto-loader-gen-types has improper callback signature
3 participants