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
everhardt
changed the title
Allowed non-array default value on Joi.array() results in "Cannot read property 'Symbol(literal)' of null"
describe() on schema with default value null results in "Cannot read property 'Symbol(literal)' of null"
Nov 4, 2019
Support plan
Context
What are you trying to achieve or the steps to reproduce?
I try to get the
describe()
output of a string schema that hasnull
as its allowed default.What was the result you got?
TypeError: Cannot read property 'Symbol(literal)' of null
What result did you expect?
A nice describe output
The text was updated successfully, but these errors were encountered: