avaje / avaje-config

Application configuration / properties loading for JVM applications
https://avaje.io/config
Apache License 2.0
47 stars 7 forks source link

#139 Add Configuration.Entry with info on the source of an entry #140

Closed rob-bygrave closed 2 months ago

rob-bygrave commented 2 months ago

Example use:

    Optional<Configuration.Entry> entry = configuration.entry(key);
    entry.ifPresent(e -> {
      String source = e.source();
      String value = e.value();
    });