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
Validation result, data AFTER validation, error messages
ValidationError: id: should be integer
What results did you expect?
No error
Additional info
This was working fine until recently. I didn't update any packages and I checked all my recent code carefully. Below is part of the compiled validation function produced by Ajv. It's not allowing id to be undefined:
What version of Ajv are you using? Does the issue happen if you use the latest version?
8.6.3
Ajv options object
None
JSON Schema
Sample data
Your code
UserMeta is an Objection object.
Validation result, data AFTER validation, error messages
What results did you expect?
No error
Additional info
This was working fine until recently. I didn't update any packages and I checked all my recent code carefully. Below is part of the compiled validation function produced by Ajv. It's not allowing
id
to beundefined
:The text was updated successfully, but these errors were encountered: