Skip to content

Commit

Permalink
upgrade zio-schema (#365)
Browse files Browse the repository at this point in the history
  • Loading branch information
googley42 authored Jan 9, 2024
1 parent b1f4176 commit dd4c673
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ To use ZIO DynamoDB, we need to add the following line to our `build.sbt` file:

```scala
libraryDependencies ++= Seq(
"dev.zio" %% "zio-dynamodb" % "0.2.13"
"dev.zio" %% "zio-dynamodb" % "1.0.0-RC1"
)
```

Expand All @@ -30,7 +30,7 @@ To use the new Cats Effect 3 interop module, we need to also add the following l

```scala
libraryDependencies ++= Seq(
"dev.zio" %% "zio-dynamodb-ce" % "0.2.13"
"dev.zio" %% "zio-dynamodb-ce" % "1.0.0-RC1"
)
```

Expand Down
2 changes: 1 addition & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ addCommandAlias("check", "all scalafmtSbtCheck scalafmtCheck test:scalafmtCheck"

val zioVersion = "2.0.19"
val zioAwsVersion = "5.20.42.1"
val zioSchemaVersion = "0.4.16"
val zioSchemaVersion = "0.4.17"
val zioPreludeVersion = "1.0.0-RC21"
val zioInteropCats3Version = "23.0.0.8"
val catsEffect3Version = "3.5.1"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ object TypeSafeStreamingUtilsSpec extends DynamoDBLocalSpec {
final case class PersonLegacy(id: String, forename: String)
object PersonLegacy {
implicit val schema: Schema.CaseClass2[String, String, PersonLegacy] = DeriveSchema.gen[PersonLegacy]
val (id, height) = ProjectionExpression.accessors[PersonLegacy]
val (id, forename) = ProjectionExpression.accessors[PersonLegacy]
}

override def spec =
Expand Down

0 comments on commit dd4c673

Please sign in to comment.