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

Prevent lack of http bindings from generating non-building output #286

Merged
merged 2 commits into from
Jan 7, 2017

Conversation

tmc
Copy link
Collaborator

@tmc tmc commented Jan 4, 2017

Fixes #276

The change to allow empty bindings was incomplete in that it would produce invalid code if a service existed with no bindings at all (versus having a subset of methods without bindings).

@tmc tmc requested review from yugui and achew22 January 4, 2017 22:17
@tmc tmc changed the title Fix no bindings Prevent lack of http bindings from generating non-building output Jan 5, 2017
@tmc
Copy link
Collaborator Author

tmc commented Jan 5, 2017

googlebot kick

Copy link
Member

@yugui yugui left a comment

Choose a reason for hiding this comment

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

LGTM

@tmc tmc merged commit 6193f51 into grpc-ecosystem:master Jan 7, 2017
@tmc tmc deleted the fix_no_bindings branch January 7, 2017 18:28
@tamalsaha tamalsaha mentioned this pull request Mar 30, 2017
1 task
adasari pushed a commit to adasari/grpc-gateway that referenced this pull request Apr 9, 2020
…pc-ecosystem#286)

* Add example service with no bindings to demonstrate bug.

* Skip services that have no methods with http bindings
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