Do anyone tried multiple configuration something l...
# ktor
t
Do anyone tried multiple configuration something like environment based configuration which spring boot provides???
b
i am not sure how spring does it but if you go for a nested format in your config file it should be easy to support different configurations. application { dev { bla }, prod {bla}}
t
Oh nice.. I will try.. in spring it resolve config based on file name.. eg if your current profile is prod, it will be loaded application-prod.yml. you can define all your default config into application.yml. spring will define both yml and precedent will be given to profile based yml if an property defined in both yml
t
Yes.. I'm looking something similar to this. Thanks