Skip to content

feat: optionally warn when optional variables are not set #412

Description

@parnavh

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions