File tree 3 files changed +6
-6
lines changed
example/src/main/scala/example/api
3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -66,14 +66,14 @@ lazy val example =
66
66
.settings(
67
67
publish / skip := true ,
68
68
libraryDependencies ++= Seq (
69
- " com.softwaremill.sttp.client3" %% " async-http-client-backend-zio" % " 3.3.11 " ,
70
- " com.softwaremill.sttp.client3" %% " zio-json" % " 3.3.11 " ,
69
+ " com.softwaremill.sttp.client3" %% " async-http-client-backend-zio" % " 3.3.14 " ,
70
+ " com.softwaremill.sttp.client3" %% " zio-json" % " 3.3.14 " ,
71
71
" dev.zio" %% " zio-streams" % Zio ,
72
72
" dev.zio" %% " zio-config-magnolia" % " 1.0.6" ,
73
73
" dev.zio" %% " zio-config-typesafe" % " 1.0.6" ,
74
- " dev.zio" %% " zio-prelude" % " 1.0.0-RC5 " ,
74
+ " dev.zio" %% " zio-prelude" % " 1.0.0-RC6 " ,
75
75
" dev.zio" %% " zio-json" % " 0.1.5" ,
76
76
" io.d11" %% " zhttp" % " 1.0.0.0-RC17" ,
77
- " io.github.kitlangton" %% " zio-magic" % " 0.3.6 "
77
+ " io.github.kitlangton" %% " zio-magic" % " 0.3.8 "
78
78
)
79
79
)
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ object Api {
13
13
case Method .GET -> Root / " repositories" / owner / name / " contributors" =>
14
14
ZIO
15
15
.serviceWith[ContributorsCache .Service ](_.fetchAll(Repository (Owner (owner), Name (name))))
16
- .bimap (ApiError .errorResponse, r => Response .jsonString(r.toJson))
16
+ .mapBoth (ApiError .errorResponse, r => Response .jsonString(r.toJson))
17
17
.merge
18
18
}
19
19
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ object BuildHelper {
23
23
24
24
val Scala212 : String = versions(" 2.12" )
25
25
val Scala213 : String = versions(" 2.13" )
26
- val Zio : String = " 1.0.9 "
26
+ val Zio : String = " 1.0.11 "
27
27
28
28
def buildInfoSettings (packageName : String ) =
29
29
List (
You can’t perform that action at this time.
0 commit comments