Got the idea from HOCON #9
I am thinking the syntax would look like:
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.
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
truebe converted into a boolean, same fornull,false, or integers.