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

feat: support json_name defined in a proto file #943

Merged
merged 2 commits into from
Oct 13, 2023

Conversation

Yo-mah-Ya
Copy link
Contributor

@Yo-mah-Ya Yo-mah-Ya changed the title Enhancement: support json_name defined in a proto file feat: support json_name defined in a proto file Oct 9, 2023
@stephenh
Copy link
Owner

stephenh commented Oct 9, 2023

Looks great, @Yo-mah-Ya , thanks for the PR!

Can you add-or-update one of our integration tests, to show the output is correct, and won't regress in the future?

I.e. find an existing *.proto file that uses json_name, and add useJsonName=true to the parameters.txt, call yarn bin2ts, and then check-in the generated/updated source. Thanks!

@stephenh stephenh closed this Oct 9, 2023
@stephenh
Copy link
Owner

stephenh commented Oct 9, 2023

Opps, clicked the wrong button, sorry about that! :-)

@Yo-mah-Ya
Copy link
Contributor Author

Hi @stephenh ,
Thanks for reviewing !
I just added integration test

Copy link
Owner

@stephenh stephenh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great, thanks @Yo-mah-Ya

@stephenh stephenh merged commit de989af into stephenh:main Oct 13, 2023
1 check passed
stephenh pushed a commit that referenced this pull request Oct 13, 2023
# [1.162.0](v1.161.1...v1.162.0) (2023-10-13)

### Features

* support `json_name` defined in a proto file ([#943](#943)) ([de989af](de989af))
@stephenh
Copy link
Owner

🎉 This PR is included in version 1.162.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants