dotnet / dotnet/core

Default Environment is Prod, which is a problem

Open
#5,029 1 comment 2 reactions 0 assignees View on GitHub
Dominant language
PowerShell
Stars
22k
Forks
4.9k
Avg merge
5d 5h
Merged PRs (30d)
29

Description

# Issue Title
Default Environment is Prod, which is a problem

# General

version: 3.1

Currently if no Environment Variable is set the default environment is prod, which is an issue. If we accidentally don't pass an environment variable because of some bug, then it would start connecting to production connections. Even worse it could migrate data or write to its databases.

It might be best if it also threw an error if the variable was not set.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.