Skip to content
This repository was archived by the owner on Jul 10, 2024. It is now read-only.
This repository was archived by the owner on Jul 10, 2024. It is now read-only.

Allow enforcing environment #43

@solnic

Description

@solnic

Currently config.env is set based on ENV["RACK_ENV"] which is unfortunate as configuring a container can happen only once and we can't override it safely with predictable behavior. This means we need to treat env setting separately from the main config and expose an API for setting it ie:

MyApp::Container.env!(:test)

@timriley thoughts?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions