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.
In Elixir v1.16,
Enum.slice/2
no longer supports ranges with negative steps. This PR updates our usage ofEnum.slice/2
to be compatible with these changes. We've replaced the negative step ranges with the recommendedfirst..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.