Skip to content

Reference environment variables #13

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions