-
Notifications
You must be signed in to change notification settings - Fork 31
Open
Labels
Description
Hi,
I'd like to be able to express the following valid configurations:
multitype: somestringmultitype:
a: mapI can support either one, but not both:
object FooSpec : ConfigSpec("") {
val multitype by required<String>() // former case
}object FooSpec : ConfigSpec("") {
val multitype by required<Map<String, String>>() // latter case
}Is there a way to capture both cases? I cannot rename the key.
Reactions are currently unavailable