Skip to content

Commit

Permalink
Update lucuma-core, lucuma-core-testkit to 0.93.0
Browse files Browse the repository at this point in the history
  • Loading branch information
lucuma-steward[bot] authored and hugo-vrijswijk committed Mar 1, 2024
1 parent b4bf2a0 commit 44a72c0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ val fs2Version = "3.9.4"
val kittensVersion = "3.2.0"
val munitVersion = "0.7.29"
val munitCatsEffectVersion = "1.0.7"
val lucumaCoreVersion = "0.91.1"
val lucumaCoreVersion = "0.93.0"
val lucumaODBSchema = "0.10.0"

ThisBuild / tlBaseVersion := "0.74"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ trait CoreModelDecoders:
given Decoder[Semester] =
Decoder.instance:
_.as[String].flatMap: s =>
Semester.fromString(s).toRight(DecodingFailure(s"Invalid Semester `$s`", List()))
Semester.fromString.getOption(s).toRight(DecodingFailure(s"Invalid Semester `$s`", List()))

given Encoder[Semester] =
Encoder.encodeString.contramap[Semester](_.toString)
Expand Down

0 comments on commit 44a72c0

Please sign in to comment.