You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I have a nested object using the "noUnknown" operator, if the object itself is missing from the value then it still tries to enumerate the keys of the object causing an error of
Describe the bug
When I have a nested object using the "noUnknown" operator, if the object itself is missing from the value then it still tries to enumerate the keys of the object causing an error of
"Cannot convert undefined or null to object"
To Reproduce
https://codesandbox.io/s/mutable-waterfall-7zzdg?file=/src/index.test.js
Expected behavior
I would expect it to ignore the fact that the value is not there, and pass.
Platform (please complete the following information):
The text was updated successfully, but these errors were encountered: