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

Add optional whitelist and defaults#3

Open
goatandsheep wants to merge 1 commit intogoatandsheep:masterfrom
robbie-c:master
Open

Add optional whitelist and defaults#3
goatandsheep wants to merge 1 commit intogoatandsheep:masterfrom
robbie-c:master

Conversation

@goatandsheep
Copy link
Copy Markdown
Owner

@goatandsheep goatandsheep commented May 21, 2020

Sometimes you don't want to pull in your entire .env file, and would rather have a whitelist for the keys that are accepted. This adds that whitelist.

I've also added a defaults object, which provides values that we fallback to if keys are not present in the .env file

@robbie-c
zetachang#77

@goatandsheep
Copy link
Copy Markdown
Owner Author

@robbie-c we should update the documentation and tests for this feature

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants