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 environment variable validation #6

Open
stefanprobst opened this issue Jun 13, 2023 · 3 comments
Open

add environment variable validation #6

stefanprobst opened this issue Jun 13, 2023 · 3 comments
Labels
enhancement New feature or request

Comments

@stefanprobst
Copy link
Contributor

use @t3-oss/env-nuxt for environment variable validation with zod.

we had this before but have removed it in #5 until outstanding upstream issues are solved.

@koeaw
Copy link

koeaw commented Jun 13, 2023

Arriving here after unsuccessfully trying to debug env variables not getting set in my app for the longest time and wondering why we use a different setup than what's described in the Nuxt3 docs...

we had this before but have removed it in #5 until outstanding upstream issues are solved.

Hmm, the linked PR was closed, not merged, though?

I was going to adapt my settings to what's in the PR so I can be done with this for the moment. :P

@stefanprobst
Copy link
Contributor Author

#5 has been merged even though github pretends otherwise.

why we use a different setup than what's described in the Nuxt3 docs

because the default setup does not validate anything

@koeaw
Copy link

koeaw commented Jun 14, 2023

#5 has been merged even though github pretends otherwise.

I figured it out – the PR was actually not merged, the changes were directly committed to the main branch instead. (Which made the PR superfluous, I guess!)

because the default setup does not validate anything

Gotcha, thx.

@stefanprobst stefanprobst added the enhancement New feature or request label Feb 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants