Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@vladimirkl
Copy link
Contributor

This PR fixes ConfigProvider#nest and ConfigProvider#unnest for indexed data. Currently this doesn't work at all:

val provider = ConfigProvider.fromMap(Map( "parent.child.employees[0].age" -> "1")).nested("child").nested("parent")
val product = Config.int("age").zip(Config.int("id"))
val config  = Config.listOf("employees", product)

configProvider.load(config) // Fails with exception

@adamgfraser adamgfraser merged commit f886c86 into zio:series/2.x Apr 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants