I see, in that case we should create a new submodu...
# arrow-contributors
r
I see, in that case we should create a new submodule at the same level as
core
called something like
integrations/retrofit
. Is it possible to also define an endpoint in a polymorphic way? Thinking in something like:
Copy code
class ApiClient<F>(async: Async<F>) : Async<F> by async {
    @GET("search/repositories")
    fun getRepositories(
                          @Query("q") language: String,
                          @Query("sort") order: String,
                          @Query("page") page: Int): Kind<F, GithubAnswerDto>
}
or
Copy code
interface ApiClient {
    @GET("search/repositories")
    fun <F> getRepositoriesIO(@Query("q") language: String,
                          @Query("sort") order: String,
                          @Query("page") page: Int): Kind<F, GithubAnswerDto> 
}
?