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
What version of Ajv are you using? Does the issue happen if you use the latest version?
I have been trying with both 6.10.1 and 8.12.0 so far. Both of them have the same behavior regarding validation on properties that have "multipleOf" defined.
The problem is the validation falls on property value of "0.3" and "0.7" if "multipleOf" is defined as "0.1" for a property. It doesn't make sense to me. But I couldn't find out what I did wrong. Other values like "0.2", "0.4", etc... are fine.
What version of Ajv are you using? Does the issue happen if you use the latest version?
I have been trying with both 6.10.1 and 8.12.0 so far. Both of them have the same behavior regarding validation on properties that have "multipleOf" defined.
The problem is the validation falls on property value of "0.3" and "0.7" if "multipleOf" is defined as "0.1" for a property. It doesn't make sense to me. But I couldn't find out what I did wrong. Other values like "0.2", "0.4", etc... are fine.
Ajv options object
I have tried the following:
JSON Schema
Sample data
Your code
Validation result, data AFTER validation, error messages
What results did you expect?
Validation successful!
Are you going to resolve the issue?
The text was updated successfully, but these errors were encountered: