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

Restore metadata support to generated clients #268

Merged
merged 2 commits into from
Sep 29, 2021

Conversation

lowasser
Copy link
Collaborator

@lowasser lowasser commented Jun 1, 2021

Addresses #224. Users generally shouldn't use this, but it's hard to get any other way, so let's put it back in.

@lowasser lowasser requested a review from bshaffer June 1, 2021 22:45
@dashingsat
Copy link

Any idea on when this will be merged..?

@jamesward
Copy link
Collaborator

@lowasser Want @bshaffer or I to review this?

@lowasser
Copy link
Collaborator Author

lowasser commented Jul 7, 2021

Yes, please.

Copy link
Contributor

@bshaffer bshaffer left a comment

Choose a reason for hiding this comment

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

LGTM

@@ -193,7 +199,7 @@ class GrpcClientStubGenerator(config: GeneratorConfig) : ServiceCodeGenerator(co
%methodDescriptor:L,
%parameter:N,
callOptions,
%headers:T()
%headers:N
Copy link
Contributor

Choose a reason for hiding this comment

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

potentially dumb question, buy why is the headers and parameters placeholder the same (:N)?

@jamesward jamesward merged commit 3ec7869 into grpc:master Sep 29, 2021
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.

4 participants