Skip to content

add support for Maps with enum keys #73

@Leopard2A5

Description

@Leopard2A5

It'd be great to allow something like this:

object MyConfig : ConfigSpec() {
    val foo by required<Map<MyEnum, String>>()
}

enum class MyEnum {
    FOO,
    BAR,
}
myConfig:
  FOO: hey
  BAR: ho

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions