elixir-grpc / grpc-reflection

elixir graph reflection support
Apache License 2.0
9 stars 6 forks source link

Compatibility with Elixir v1.16 #30

Closed zhihuizhang17 closed 5 months ago

zhihuizhang17 commented 5 months ago

In Elixir v1.16, Enum.slice/2 no longer supports ranges with negative steps. This PR updates our usage of Enum.slice/2 to be compatible with these changes. We've replaced the negative step ranges with the recommended first..last//1 format. This ensures that our code base remains up-to-date and avoids redundant warning logs.

BTW, test cases failed in CI workflow due to a breaking change of @rpc_calls in grpc v0.8+. This PR fixed the issue too.

mjheilmann commented 5 months ago

Thanks for the grpc v0.8+ fix