Skip to content

Commit

Permalink
Use parentheses to avoid warnings during compilation in elixir 1.17 (#16
Browse files Browse the repository at this point in the history
)

* Use parentheses to avoid warnings during compilation in elixir 1.17

* bump version
  • Loading branch information
perzanko authored Jul 2, 2024
1 parent db55fca commit 3439ee2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/grpc/server.ex
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ defmodule GRPC.Server do
codecs = opts[:codecs] || [GRPC.Codec.Proto]
compressors = opts[:compressors] || []

Enum.each(service_mod.__rpc_calls__, fn {name, _, _} = rpc ->
Enum.each(service_mod.__rpc_calls__(), fn {name, _, _} = rpc ->
func_name = name |> to_string |> Macro.underscore() |> String.to_atom()
path = "/#{service_name}/#{name}"
grpc_type = GRPC.Service.grpc_type(rpc)
Expand Down
2 changes: 1 addition & 1 deletion mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ defmodule GRPC.Mixfile do
def project do
[
app: :grpc,
version: "0.6.4",
version: "0.6.5",
elixir: "~> 1.5",
elixirc_paths: elixirc_paths(Mix.env()),
build_embedded: Mix.env() == :prod,
Expand Down

0 comments on commit 3439ee2

Please sign in to comment.