The idea comes from a misconfiguration that I had made. I forgot to pass in an optional env variable in my docker compose and didn't realise it until 2 months later.
I propose a option:
warnAbsentOptional: boolean
which will log a warning if there are optional variables with no value provided.
It will default to false to preserve current behaviour
Thoughts?
I am ready to draft a quick implementation and open a pr if its something that sounds interesting?
The idea comes from a misconfiguration that I had made. I forgot to pass in an optional env variable in my docker compose and didn't realise it until 2 months later.
I propose a option:
warnAbsentOptional: booleanwhich will log a warning if there are optional variables with no value provided.
It will default to
falseto preserve current behaviourThoughts?
I am ready to draft a quick implementation and open a pr if its something that sounds interesting?