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

Create module to validate all the environment variables and their types #685

Open
nelegatti opened this issue Aug 24, 2021 · 0 comments
Open
Labels
nice to have This is a desired feature

Comments

@nelegatti
Copy link
Contributor

The project needs a way to check if the required environment variables are set and with the correct value type. For example, if we intend to use AWS SES to send emails, verify if all env vars required for this logic to work are configured and valid, if not, prevent the application from starting.
The first idea is take advantage of class validator and create an implementation similar to this post , but we can implement choose different approach if it's a better option

@Alxzu Alxzu added the nice to have This is a desired feature label Sep 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
nice to have This is a desired feature
Projects
None yet
Development

No branches or pull requests

2 participants