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

Converts the first letter of service name to uppercase #522

Merged
merged 3 commits into from
Feb 12, 2018

Conversation

thurt
Copy link
Contributor

@thurt thurt commented Jan 15, 2018

fixes #484

@achew22
Copy link
Collaborator

achew22 commented Jan 21, 2018

I think this is good to go. Would you be willing to add an example (and run make examples) to enshrine this in our goldens file so I don't accidentally break it in the future?

@thurt
Copy link
Contributor Author

thurt commented Feb 12, 2018

@achew22 im not sure what file you are referring to as the goldens file?

I added a new service with a camelCase name and regenerated the pb.go, pb.gw.go, and pb.swagger.json.

You can see the correction provided by my first commit changes the pb.gw.go here 8f93341#diff-715cf1c1ab38e7007f330d8663ae2d5fR1080

@achew22
Copy link
Collaborator

achew22 commented Feb 12, 2018

That's exactly what I was asking you to do. Sorry for not being more clear!

@achew22 achew22 merged commit 0a81003 into grpc-ecosystem:master Feb 12, 2018
@thurt
Copy link
Contributor Author

thurt commented Feb 12, 2018

cool! 👍

adasari pushed a commit to adasari/grpc-gateway that referenced this pull request Apr 9, 2020
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.

bug: uncapitalized service name causes runtime error unknown function in service.pb.gw.go
3 participants