elixir-grpc / grpc

An Elixir implementation of gRPC
https://hex.pm/packages/grpc
Apache License 2.0
1.36k stars 210 forks source link

Fix __call_rpc__ fallback function params #366

Closed ZhengQingchen closed 1 month ago

ZhengQingchen commented 1 month ago

When I ran dialyzer for my project, I came across this error.

lib/grpc/server.ex:6:no_return
Function __call_rpc__/2 only terminates with explicit exception.

After checking the __call_rpc__/2 function, we found the fallback function does not match the generated function __call_rpc__/3