Skip to content

Commit

Permalink
Add missing imports in the Knit example for NetworkEitherCallAdapter
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasz-kalnik-gcx committed Jan 3, 2022
1 parent f55bffb commit 0034d92
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions arrow-libs/core/arrow-core-retrofit/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,6 @@ dependencies {
testImplementation(projects.arrowCoreTest)
testImplementation(libs.squareup.retrofitConverterGson)
testImplementation(libs.squareup.okhttpMockWebServer)
testImplementation(projects.arrowCore)
testImplementation("io.kotest.extensions:kotest-assertions-arrow:1.2.1")
}
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,9 @@ import java.lang.reflect.Type
* ```kotlin
* import arrow.core.Either
* import arrow.retrofit.adapter.either.networkhandling.CallError
* import retrofit2.http.Body
* import retrofit2.http.GET
* import retrofit2.http.POST
*
* data class User(val name: String)
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@ package arrow.core.retrofit.examples.exampleArrowRetrofit02

import arrow.core.Either
import arrow.retrofit.adapter.either.networkhandling.CallError
import retrofit2.http.Body
import retrofit2.http.GET
import retrofit2.http.POST

data class User(val name: String)

Expand Down

0 comments on commit 0034d92

Please sign in to comment.