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

Document generated GRPC.Stub function arguments #341

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

davydog187
Copy link
Collaborator

Adds clarifying documentation for how functions are generated for GRPC.Stub

Closes #339

Adds clarifying documentation for how functions are generated for GRPC.Stub

Closes elixir-grpc#339



# # The actual function invoked when invoking an RPC function.
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Will be removing this, just using as a reference for now

case Greeter.Stub.say_hello(channel, %Request{}, opts) do
{:ok, %Response{}} ->
# Received a response
{:ok, headers_map} ->
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This isn't correct

@sleipnir
Copy link
Collaborator

@davydog187 Is this ready? Or do you need some help with this?

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.

Improve the documentation for generated Stub functions
2 participants