Skip to content

Instantly share code, notes, and snippets.

@mrdziuban
Created November 27, 2023 14:12
Show Gist options
  • Save mrdziuban/8bf7f99c362ff8e89c4bc8535b952442 to your computer and use it in GitHub Desktop.
Save mrdziuban/8bf7f99c362ff8e89c4bc8535b952442 to your computer and use it in GitHub Desktop.
semiauto-case-class-option1.scala
case class Foo()
case class Bar(foo: Foo)
// fails because there is no `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