Unable to specify "nullable" type in schema without short-notation
Closed this issue · 0 comments
lundibundi commented
Describe the bug
Unable to specify "nullable" type in schema without short-notation
To Reproduce
({
val: { type: '?string' }
})
Expected behavior
That the above would correctly apply nullable type.
Notice that this ({ val: '?string' })
works fine.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
- OS: Windows 10 64bit
- Node.js version 16.6.1