forked from ceedubs/ficus
-
Notifications
You must be signed in to change notification settings - Fork 54
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
as[Map[String, ConfigValue]] on root config fails #56
Comments
Yes it should work for a case class which is the main point of ficus |
I've just tried. On case class it works perfectly even without dummy root. It's amazing! |
Glad it worked out. |
maybe this should be closed? |
I think it still doesn't work for the reported case ( |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
With typesafe config 1.3.2,
as
on root config object fails. Example:Here's the scaste: https://scastie.scala-lang.org/9VG0LqRGQzmbCQ00OHxqfw
Full error:
I'm currently getting familiar with the library. Possible use case would be mapping the whole config to a simple case class. I think I saw in the README that mapping to arbitrary classes is supported.
The text was updated successfully, but these errors were encountered: