Closed cdesch closed 1 year ago
Things should work if you use the github master branch instead of the Hex 0.5.0 version. Basically, we deprecated the global environment config in favor of a options-based config.
The issue is that you are using the new way in you application tree, but the code expects the old way.
Thanks for the report!
You're welcome. So, just reference
{:grpc, git: "https://github.com/elixir-grpc/grpc"}
for now instead of the following?
{:grpc, "~> 0.5.0"},
Is the plan for this change to be released in 0.6.0
?
You can either reference git or follow the instructions for 0.5 instead and it should be good to go.
Yes, everything after 0.5 on main will be eventually released on 0.6 :)
Describe the bug Following the
helloworld
example and adding it to a Phoenix1.7.0-rc-0
application, I get the following Error:To Reproduce Steps to reproduce the behavior:
1) Clone this repo phx_one_seven_grpc which contains the Phoenix
1.7.0-rc-0
project withelixir-grpc
installed. 2) Runiex -S mix
to run the Phoenix Server 3) Error will reproduceExpected behavior ~A clear and concise description of what you expected to happen.~
Expected that the
grpc
server will start with PhoenixLogs ~If applicable, add logs to help explain your problem.~
~Protos~ ~If applicable, add protos to help explain your problem.~
Versions:
Additional context Add any other context about the problem here.