ajv icon indicating copy to clipboard operation
ajv copied to clipboard

Allow integer in number subschema with strictTypes

Open JacobLey opened this issue 2 years ago • 0 comments

What issue does this pull request resolve? resolves https://github.com/ajv-validator/ajv/issues/1935

What changes did you make? Add number to includesType check during strictTypes validation.

Is there anything that requires more attention while reviewing? Might be an overly broad solution. Should check be more conservative about appending number type?

JacobLey avatar Mar 25 '22 21:03 JacobLey