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
since arrays don't have visible keys, the parsing fails to find the index, so given:
schema:
joi.array().items(joi.number())
properties:
[1,2,"a"]
the regex tries to find 2: and fails
for now i'll just add a try/catch for it not stop the values from updating, but refactoring the json parse (maybe using a json stream parser) is a must
The text was updated successfully, but these errors were encountered:
since arrays don't have visible keys, the parsing fails to find the index, so given:
schema:
properties:
the regex tries to find
2:
and failsfor now i'll just add a
try/catch
for it not stop the values from updating, but refactoring the json parse (maybe using a json stream parser) is a mustThe text was updated successfully, but these errors were encountered: