-
-
Notifications
You must be signed in to change notification settings - Fork 33
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
Clarify internal usage of environment variables with an exported env
variable
#141
Comments
Isn't a simple |
I think there are some validations inside the logic right now (e.g. check for |
Only |
If you think the type of environment variables is nice to have, I can go and implement it with option 1. 😄 |
Sure, thanks for doing this! |
Description
Currently, environment variables are used in several places in the project to determine the behavior.
However, it might be unclear for developers who are new to this codebase whether an environment variable is defined or not.
It should be helpful to have an exported
env
variable with the "actual" types for the variables or even with pre-validation.Proposed Solution
We could either use:
zod
to validate the environment variables and export the object.
The text was updated successfully, but these errors were encountered: