Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: cache NODE_ENV in unsafe validate example #92

Merged
merged 1 commit into from
Nov 28, 2017
Merged

docs: cache NODE_ENV in unsafe validate example #92

merged 1 commit into from
Nov 28, 2017

Conversation

dvlsg
Copy link
Contributor

@dvlsg dvlsg commented Nov 28, 2017

Just a small documentation update, if you're open to it. Suggesting that NODE_ENV be "cached" in the example unsafeValidate method.

Reasoning / discussions here:

Unless you'd expect NODE_ENV to be editable while the application is running (debugging on a live server, perhaps?)

Just a small documentation update, if you're open to it. Suggesting that `NODE_ENV` be "cached" in the example `unsafeValidate` method.

Reasoning / discussions here:
* nodejs/node#3104
* nodejs/node#1648

Unless you'd expect `NODE_ENV` to be editable while the application is running (debugging on a live server, perhaps?)
@gcanti gcanti merged commit 568083e into gcanti:master Nov 28, 2017
@gcanti
Copy link
Owner

gcanti commented Nov 28, 2017

Thanks @dvlsg

@dvlsg dvlsg deleted the patch-1 branch December 5, 2017 16:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants