Skip to content

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

Closed
@epoberezkin

Description

@epoberezkin
Member

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

Activity

added a commit that references this issue on May 22, 2020
577ff49
added 2 commits that reference this issue on May 22, 2020
6727a79
3f25187
added a commit that references this issue on Jun 9, 2020
edd8c92
added a commit that references this issue on Jun 9, 2020

Merge pull request #1219 from issacgerges/strict-numbers

f3cb494
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @epoberezkin

        Issue actions

          NaN and Infinity should fail type:number with option strictNumbers · Issue #1128 · ajv-validator/ajv