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

[bug]: incorrect validation multiple rules after v0.6.7 #27

Closed
Scrum opened this issue Jun 18, 2018 · 5 comments
Closed

[bug]: incorrect validation multiple rules after v0.6.7 #27

Scrum opened this issue Jun 18, 2018 · 5 comments
Labels

Comments

@Scrum
Copy link

Scrum commented Jun 18, 2018

let schema = {
  value: [
    { type: "string", min: 3, max: 255 },
    { type: "boolean" }
  ]
};

let obj = { value: undefined };

let res = check(obj);

// return => true
@icebob
Copy link
Owner

icebob commented Jun 18, 2018

@mauricedoepke do you have idea?

@mauricedoepke
Copy link

@icebob I will look into it on the weekend

@icebob
Copy link
Owner

icebob commented Jun 19, 2018

Thanks

@Scrum
Copy link
Author

Scrum commented Jun 25, 2018

@mauricedoepke Hi, is there progress?

@icebob icebob added the bug label Jun 25, 2018
icebob added a commit that referenced this issue Jun 25, 2018
@icebob icebob closed this as completed in 5c9ee97 Jun 25, 2018
@icebob
Copy link
Owner

icebob commented Jun 25, 2018

Fixed, released in 0.6.10.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants