Adapter to use typesafe config from Konf so you can combine TypeSafe config and conf.
This project is maintained by advantageous
This allows you to combine TypeSafe config and Konf. You can have TypeSafe config be a fallback for Konf or the other way around.
You can load TypeSafe config as a Konf Config
instance as follows:
Config config = TypeSafeConfig.typeSafeConfig();
final String abc = config.getString("abc");
assertEquals("abc", abc);
You can also chain TypeSafe config as fallback or Konfig as a fallback for TypeSafe config as follows:
import static io.advantageous.config.ConfigLoader.config;
import static io.advantageous.config.ConfigLoader.configs;
import static io.advantageous.config.ConfigLoader.load;
...
Config config;
...
config = configs(TypeSafeConfig.typeSafeConfig(), config("test-config.js"));