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
Yes, for ajv 8, nullable actually means undefined not null. the v9 branch has a version of the schema capable of recognizing the difference that you can patch in if you want if you really want. Also note, that JSONSchemaType requires that you use the required keyword, which you probably want to specify in this case.
What version of Ajv are you using? Does the issue happen if you use the latest version?
8.12.0
Ajv options object
export const ajv = new Ajv({ strict: true })
I'm using Typescript
I'm getting this issue:
Also adding null as type:
I have the same error:
also removing the
nullable
, same issue:The text was updated successfully, but these errors were encountered: