sconfig
sconfig copied to clipboard
Scala configuration library supporting HOCON for Scala, Java, Scala.js, and Scala Native
The goal is to provide file reading from some well known in Java areas and well as reading from resources via the new functionality in Scala Native. Details on order...
As reported here: https://github.com/lightbend/config/issues/770
See https://github.com/lightbend/config/pull/758/
`sconfig` uses a JSON library to compare the JSON parsing to the internal parser as a sanity check - this could be replaced potentially with a good JSON test lib....
This is more just an advisory issue that could be updated and released if older versions like Scala 2.11 and 2.12 get dropped. Change in Scala 2.13: https://github.com/scala/scala/pull/7966 Code affected:...
See: https://github.com/scalameta/scalafmt/issues/3070 Sites: ``` [warn] /Users/eric/workspace/sconfig/sconfig/shared/src/main/scala/org/ekrich/config/ConfigIncluder.scala:6:1: Could not find any member to link for "". [warn] /** [warn] ^ [warn] /Users/eric/workspace/sconfig/sconfig/shared/src/main/scala/org/ekrich/config/ConfigOrigin.scala:9:1: Could not find any member to link for ""....
For instance, val conf = ConfigFactory.load("app.conf") fails to load resources/app.conf. Not implemented error, yet detailed in examples source code. ConfigFactory.load() fails to load a default application.conf as well.
Here are some extension methods I have: https://gist.github.com/er1c/20d19cd5d057b71b00c11d2127a37e95 Does it make sense to just include some of them in `sconfig`?
`breakable` is an artifact needed during the initial port but should be removed long term to make the code more performant and easier to maintain.
It now checks all the projects. To work around for JVM check only run the following: ``` sbt:sconfig-root> sconfigJVM/mimaReportBinaryIssues ``` Also for example: ``` sbt:sconfig-root> last sconfigJS/mimaReportBinaryIssues [error] java.lang.RuntimeException: sconfig:...