Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add YamlEncoder for Option #119

Closed
kpodsiad opened this issue Dec 30, 2021 · 4 comments · Fixed by #296
Closed

Add YamlEncoder for Option #119

kpodsiad opened this issue Dec 30, 2021 · 4 comments · Fixed by #296
Labels
feature New feature or request

Comments

@kpodsiad
Copy link
Contributor

// using scala 3.1.0
// using lib org.virtuslab::scala-yaml:0.0.4

import org.virtuslab.yaml.*

case class Foo(field: Option[String]) derives YamlCodec

running via scala-cli run . yields compilation error

Compiling project (Scala 3.1.0, JVM)
[error] ./example2.sc:6:47: no implicit argument of type org.virtuslab.yaml.YamlEncoder[Option[String]] was found
[error] case class Foo(field: Option[String]) derives YamlCodec
[error]                                               ^
Error compiling project (Scala 3.1.0, JVM)
@kpodsiad kpodsiad added the feature New feature or request label Dec 30, 2021
@dubinsky
Copy link

dubinsky commented May 6, 2024

Hi @kpodsiad! Do you think there is any hope for this bug to ever get fixed? Thanks!

@lbialy
Copy link
Contributor

lbialy commented May 6, 2024

@dubinsky I'll take a look at all the PRs and issues this week.

@dubinsky
Copy link

dubinsky commented May 6, 2024

Thank you @lbialy!

@lbialy lbialy mentioned this issue May 10, 2024
@kpodsiad
Copy link
Contributor Author

@lbialy thanks good sir

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants