paradigmatic/Configrity — Issue #4: Please allow native Scala List for values
Author: nermin
Created: 2011-11-10 15:28:05+00:00
State: open

To configure a value in the code which represents a List we have to write something like this:

val config = Configuration(
...
"some.key.1" -> "[10]"
"some.key.2" -> "[\"some string\"]"
...
)

which looks ugly. What I would like to do is this:

val config = Configuration(
...
"some.key.1" -> List(10)
"some.key.2" -> "some string" :: Nil
...
)

Thanks!