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

fix: request.compiler_version is undefined #140

Merged
merged 1 commit into from
May 13, 2022

Conversation

gcurtis
Copy link

@gcurtis gcurtis commented May 13, 2022

When running with buf, request.compiler_version is undefined, which causes a TypeError when attempting to assign major, minor and patch. Leaving the version numbers at 0 seemed like a reasonable default to me, but let me know if you think we should handle it differently.

Fixes #139.

When running with buf, request.compiler_version is undefined, which
causes a TypeError when attempting to assign major, minor and patch.

Fixes thesayyn#139.
@thesayyn thesayyn merged commit 46aac75 into thesayyn:main May 13, 2022
@gcurtis gcurtis deleted the type-error branch May 13, 2022 18:46
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.

TypeError when using protoc-gen-ts v0.8.2 with buf v1.4.0
2 participants