avaje / avaje-config

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

#81 Adjust load ordering of profiles (take2) #84

Closed rbygrave closed 1 year ago

rbygrave commented 1 year ago

This change ensures that for any additional profiles defined in loadMain() the RESOURCE is loaded.

Background: Config generally loads RESOURCE source first, and FILE source later. This allows the FILE source properties to override the RESOURCE source properties in a predictable manner.