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

Allow default values null and undefined to prevent validation errors #76

Closed
helenaford opened this issue May 13, 2021 · 2 comments
Closed

Comments

@helenaford
Copy link
Member

helenaford commented May 13, 2021

Not allowing null or undefined values can cause unexpected validation errors during runtime, and causes code like this:

delete notification.ios.field

@helenaford
Copy link
Member Author

Need to update all optional props with | undefined and validation to allow for it since ts update. Screenshot 2021-07-18 at 18 32 02

@github-actions
Copy link

github-actions bot commented Dec 6, 2022

Hello 👋, to help manage issues we automatically close stale issues.

This issue has been automatically marked as stale because it has not had activity for quite some time.Has this issue been fixed, or does it still require attention?

This issue will be closed in 15 days if no further activity occurs.

Thank you for your contributions.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Dec 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant