Skip to content

Impossible to override reference.conf #167

@mikea

Description

@mikea

Because reference.conf is fully resolved before merging with main config, the following doesn't work:

reference.conf:

myapp {
    storageDir = "."
}
myappinternal {
    file1 = ${myapp.storageDir}/file1
    file2 = ${myapp.storageDir}/file2
}

aplication.conf:

myapp {
    storageDir = "mydir"
}

file1 and file2 will not be "mydir/file1" paths but "./file1" instead.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions