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

Allow to use iolists in GRPC.Message.to_data/2 #195

Merged

Conversation

bszaf
Copy link
Contributor

@bszaf bszaf commented May 3, 2021

This is small change that allows to use iolists returned from codec modules with GRPC.Message.to_data/2 function.

@@ -29,9 +29,10 @@ defmodule GRPC.Message do
{:error, "Encoded message is too large (9 bytes)"}
"""
Copy link
Contributor

Choose a reason for hiding this comment

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

We should document the new option with a doctest

Copy link
Contributor

Choose a reason for hiding this comment

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

After that, this looks ready to merge

@polvalente polvalente merged commit 3f1a6b6 into elixir-grpc:master Jul 29, 2022
@bszaf bszaf deleted the allow_to_use_iolists_in_grpc_message branch November 28, 2024 16:17
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