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 Empty String As Undefined to ct3env File #72

Open
Lermatroid opened this issue Jul 25, 2024 — with Linear · 1 comment
Open

Add Empty String As Undefined to ct3env File #72

Lermatroid opened this issue Jul 25, 2024 — with Linear · 1 comment
Labels
Chore good first issue Good for newcomers

Comments

Copy link
Member

Like the following to mark empty strings as undefined instead of having to add ".min(1)"

  /**
   * Makes it so that empty strings are treated as undefined. `SOME_VAR: z.string()` and
   * `SOME_VAR=''` will throw an error.
   */
  emptyStringAsUndefined: true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Chore good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant