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

"required" property should be a must-have #391

Open
manudiv opened this issue May 19, 2021 · 3 comments
Open

"required" property should be a must-have #391

manudiv opened this issue May 19, 2021 · 3 comments

Comments

@manudiv
Copy link

manudiv commented May 19, 2021

No description provided.

@AaronTorgerson
Copy link

Agreed. It is rather odd to not be able to specify that "this property must be set from either a file or environment variable - no default is allowable".

@ath88
Copy link

ath88 commented Oct 19, 2022

I would love this feature.

@arminrosu
Copy link

arminrosu commented Jan 17, 2024

Additionally, the currently suggested way of setting default: null and format: String properties means that typings infer the values as null | undefined. Thus your build will fail if using Typescript, though on runtime only .validate() will throw an error.

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

No branches or pull requests

4 participants