In the 2.x version of this repo, we were defining a predicate in a way similar to so:
Pridicate<ApiResponse<?> predicate = (response -> response.getStatusCode().isSuccessful())
With the switch to checkedResponse, this code no longer works as ApiResponse is expected to extend throwable. Any idea of what I am doing wrong/how I should approach this differently?
In the 2.x version of this repo, we were defining a predicate in a way similar to so:
Pridicate<ApiResponse<?> predicate = (response -> response.getStatusCode().isSuccessful())
With the switch to checkedResponse, this code no longer works as ApiResponse is expected to extend throwable. Any idea of what I am doing wrong/how I should approach this differently?