cfg4j / cfg4j

Modern configuration library for distributed apps written in Java.

Home Page:http://cfg4j.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support nested object bindings

remmeier opened this issue · comments

commented

Class X{
Y a
}

Class Y{
String b
}

should map the config key "a.b". The current binding mechanism with a simple object is too simplistic.

commented

is there an interest for a PR?

Is this the same as #178 ?

BTW, I was working on a very similar library entirely based on Jackson which support nested configurations by default. It's way less mature than cfg4j but if you only need nested configurations you could give it a try!

commented

right...