snowdrop-zen / quarkus

Quarkus: Supersonic Subatomic Java.
https://quarkus.io
Apache License 2.0
1 stars 0 forks source link

Support configuration with nested interfaces #129

Closed snowdrop-bot closed 4 years ago

snowdrop-bot commented 4 years ago

Description Actually it's possible to have nested configuration classes. It would be nice to have this opportunity for interfaces too.

Something like this:

@ConfigProperties(prefix = "acme")
public interface MyConfig {

    Greeting getGreeting();

    @ConfigProperties
    interface Greeting {
        String getHelloString();
    }
}

https://github.com/quarkusio/quarkus/issues/10511


$upstream:10511$