Skip to content

Don't touch struct fields without env tag #310

@corani

Description

@corani

After #306 it appears all nil fields in the struct will be initialized to an empty value, even fields without an env tag.

I believe this initialization should only happen if (1) the field has an env tag and (2) the specified environment variable exists (with 1 being critical and 2 debatable).

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions