We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Option
// using scala 3.1.0 // using lib org.virtuslab::scala-yaml:0.0.4 import org.virtuslab.yaml.* case class Foo(int: Int, string: String) derives YamlCodec val foo = """|- int: 1 | string: "1" |""".stripMargin.as[List[Option[Foo]]] println(foo)
yields
Left(ConstructError(Could't construct scala.Option from CoreSchemaTag(tag:yaml.org,2002:map) string: "1" ^ ))
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
yields
The text was updated successfully, but these errors were encountered: