Closed erichulburd closed 1 year ago
Hi,
I've added a test for this here: hoplite-toml/src/test/kotlin/com/sksamuel/hoplite/toml/PeriodKeyTest.kthoplite-toml/src/test/kotlin/com/sksamuel/hoplite/toml/PeriodKeyTest.kt
It passes, so I think you just need to upgrade to latest version. If you still have issues please reopen the ticket.
Hello, thanks for the useful library. I believe we hit an error in toml parsing that I thought I'd let you know about. We are on version
1.4.16
. Unsure if this is an issue in the latest version.Given the following parsing function
the following will fail to parse:
however the following does parse as expected:
It seems to me that keys with periods in them cause in issue. In the first case
config.values["cleanup.policy"] == null
, whereas in the second caseconfig.values["cleanup"] == "compact"
as expected.