Skip to content

Local .env support for Environment Config overrides #55

Open
@supermario

Description

@supermario

Folks often complain about accidentally committing src/Env.elm.

Ideally we should be able to have:

  • a valid src/Env.elm with purely test or dummy values
  • support for an optional .env where with lamdera live
    • any defined values in .env that match an Env.* config item name, override its value
    • any changes to .env live reload as expected

Considerations for a good design:

  • Can we make this delightful, such that you can't accidentally typo an Env.elm config name in .env, and not realise you haven't overriden what you thought you did?

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