Skip to content

Commit

Permalink
fix: Remove unnecessary imports
Browse files Browse the repository at this point in the history
  • Loading branch information
frekw committed Aug 27, 2021
1 parent 6b965de commit eaf6dc8
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions core/src/main/scala-2/caliban/interop/zio/zio.scala
Original file line number Diff line number Diff line change
Expand Up @@ -417,9 +417,6 @@ private[caliban] object ErrorZioJson {
path: Option[List[Either[String, Int]]]
)
private object ErrorDTO {
import ValueZIOJson.{ responseValueDecoder, Num, Str }
import zio.json.internal.{ RetractReader }

implicit val locationInfoDecoder: JsonDecoder[LocationInfo] = DeriveJsonDecoder.gen[LocationInfo]
implicit val pathDecoder: JsonDecoder[Either[String, Int]] = JsonDecoder[String].orElseEither(JsonDecoder[Int])
implicit val decoder: JsonDecoder[ErrorDTO] = DeriveJsonDecoder.gen[ErrorDTO]
Expand Down

0 comments on commit eaf6dc8

Please sign in to comment.