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

Add typechecking for env variables #100

Open
LarsTheGlidingSquirrel opened this issue Mar 1, 2023 · 1 comment
Open

Add typechecking for env variables #100

LarsTheGlidingSquirrel opened this issue Mar 1, 2023 · 1 comment

Comments

@LarsTheGlidingSquirrel
Copy link
Member

LarsTheGlidingSquirrel commented Mar 1, 2023

Similar to https://github.com/serlo/api.serlo.org/blob/main/packages/server/src/env.d.ts

@hugotiburtino hugotiburtino transferred this issue from serlo/serlo-editor-for-edusharing Oct 17, 2024
@elbotho
Copy link
Member

elbotho commented Oct 18, 2024

we might even consider something like this if we want to get fancy :)
https://thomwright.co.uk/2022/02/01/validating-config/

(or something like this but it's using zod – like almost everybody else ^^)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Status: Ideas
Development

No branches or pull requests

2 participants