Created
November 27, 2023 14:14
-
-
Save mrdziuban/4921b51180ba20dd0c8789861f20705b to your computer and use it in GitHub Desktop.
semiauto-case-class-option2.scala
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
case class Foo() | |
case class Bar(foo: Foo) | |
// succeeds and automatically derives a `Decoder[Foo]` | |
io.circe.Decoder.derived[Bar] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment