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 support for Maps with enum keys #73

Open
Leopard2A5 opened this issue Nov 2, 2021 · 1 comment
Open

add support for Maps with enum keys #73

Leopard2A5 opened this issue Nov 2, 2021 · 1 comment
Labels

Comments

@Leopard2A5
Copy link

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
@stale
Copy link

stale bot commented Apr 16, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed after 30 days if no further activity occurs, but feel free to re-open a closed issue if needed.

@stale stale bot added the stale label Apr 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant