Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NaN and Infinity should fail type:number with option strictNumbers #1128

Closed
epoberezkin opened this issue Nov 28, 2019 · 0 comments
Closed

Comments

@epoberezkin
Copy link
Member

epoberezkin commented Nov 28, 2019

What problem do you want to solve?

#182 (comment)

What do you think is the correct solution to problem?

Option changing type validation. Check if these values are coercible to strings - with this option coercion should fail too

Will you be able to implement it?

Maybe

issacgerges pushed a commit to issacgerges/ajv that referenced this issue May 22, 2020
issacgerges pushed a commit to issacgerges/ajv that referenced this issue May 22, 2020
issacgerges pushed a commit to issacgerges/ajv that referenced this issue May 27, 2020
epoberezkin added a commit that referenced this issue Jun 9, 2020
Add option for strictNumbers. Resolves #1128.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

1 participant