Skip to content
This repository was archived by the owner on Jan 6, 2025. It is now read-only.

Custom Config

Matt Anger edited this page Mar 21, 2022 · 1 revision

We use Konf for config parsing. To have your own ConfigSpec be added to the list to be parsed, in your Guice module you would do something like:

    @ProvidesIntoSet
    fun getSpec(): ConfigSpec {
        return BaseSpec
    }

We will auto find it, and then you can @Inject the Config object into your code and read your specs!

Clone this wiki locally