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 extensions with reserved keywords #46

Merged
merged 1 commit into from
Oct 4, 2019

Conversation

martinxsliu
Copy link
Contributor

@martinxsliu martinxsliu commented Sep 29, 2019

This PR fixes an issue where Enum extensions were being generated using the enum variable name, however enum being a JS reserved keyword. The protobuf compiler uses pb_enum instead.

Related: #20

I'm not sure why there's all these diffs in the source map files. I used npm ci to install from the lock file, but I'm still getting them. I can remove them if you prefer.

@agreatfool agreatfool merged commit 1ead7c9 into agreatfool:master Oct 4, 2019
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.

2 participants