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

Enable users to define their env var validations #2363

Draft
wants to merge 5 commits into
base: miho-zod-env
Choose a base branch
from

Conversation

infomiho
Copy link
Contributor

@infomiho infomiho commented Oct 30, 2024

Caveats:

  • users will need to be careful not to cause circular imports. Ideally they use a file only for env schemas e.g. env.ts
  • user will need to use the EnvValidationFn with satisfies

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.

1 participant