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

refactor: revise helloworld example #244

Merged
merged 1 commit into from
Jul 22, 2022

Conversation

wingyplus
Copy link
Contributor

  • Revise children in HelloworldApp to use a new way of
    declaring supervisor.
  • Generate proto code with elixir-protobuf 0.10.
  • Add minimum proto file (copied from test/support) to under
    proto folder.

* Revise children in HelloworldApp to use a new way of
  declaring supervisor.
* Generate proto code with elixir-protobuf 0.10.
@polvalente polvalente merged commit 2517b7c into elixir-grpc:master Jul 22, 2022
@wingyplus wingyplus deleted the overhaul-example branch July 22, 2022 15:38
@@ -1,31 +1,25 @@
defmodule Helloworld.HelloRequest do
use Protobuf
@moduledoc false
use Protobuf, protoc_gen_elixir_version: "0.10.0", syntax: :proto3
Copy link
Collaborator

Choose a reason for hiding this comment

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

Did you add this manually or did protoc generate this via the protobuf plugin? I don't think it's cool that we have to change these files after they've been created if that's the case here

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@sleipnir i generate it with protoc. This change added since plugin version 0.10

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.

3 participants