Skip to content

Reference environment variables #13

@brettlangdon

Description

@brettlangdon

Got the idea from HOCON #9

I am thinking the syntax would look like:

debug = ${APP_DEBUG};

And have the ability to set a default value if the environment variable does not exist:

debug = ${APP_DEBUG ? "true"};

I haven't decided if the values should always be strings, or if they should be coerced where applicable. e.g. should the string value of true be converted into a boolean, same for null, false, or integers.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions