Skip to content

Note about order of reference.conf resources loading during initialization of Config. #342

Description

@bespalovdn

I think it worth to mention in documentation, about how to control the order of reference.conf files merging, when you initialize your configuration.
For instance, commonly used library akka-actor have own configuration in reference.conf. I've created a library, that hardly uses akka-actor and redefines some of theirs configuration in own reference.conf. Then I try to get them both merged on ConfigFactory.load(). But there is no guarantee in which order those reference.confs will be read from resources.
I did some investigation before came up with solution. Here is corresponding question on stackoverflow: http://stackoverflow.com/questions/31698605/hocon-multiple-reference-conf-resolution-issue/31727841
Please, consider to mention in your documentation about how to control the order of reference.confs merging.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions