You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi - first time using this (it's really nice BTW), and I think I found a minor issue.
using the auto-extension discovery feature, it looks like it's limited to json and properties file types currently. e.g. If I send a .toml file to this function:
it fails with com.uchuhimo.konf.source.UnsupportedExtensionException: cannot detect supported extension for "test-config.toml", supported extensions: conf, json, properties, toml, xml, yml, yaml.
It looks like this is because of DefaultLoaders:137, where it calls
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.
Hi - first time using this (it's really nice BTW), and I think I found a minor issue.
using the auto-extension discovery feature, it looks like it's limited to
json
andproperties
file types currently. e.g. If I send a.toml
file to this function:it fails with
com.uchuhimo.konf.source.UnsupportedExtensionException: cannot detect supported extension for "test-config.toml", supported extensions: conf, json, properties, toml, xml, yml, yaml
.It looks like this is because of DefaultLoaders:137, where it calls
whose implementation is this:
my sample loadConfig works fine if I use
.from.toml.file(configFile)
.See anything I'm doing wrong? It's not a big deal either way. Thanks.
The text was updated successfully, but these errors were encountered: