Icebob

Results 390 comments of Icebob

Yeah, something similar, but would be good a function which traverse the whole schema and convert all of them. And I need another one which creates an object with the...

Why only regex pattern causes this problem? ```js { type: "string", min: 3, max: 6, alpha: true } ``` Same as ```js { type: "string", pattern: ^/[a-zA-Z]{3,6}$/ } ``` If...

Custom validator :) What is the use-case, and when need this logic?

Please explain it better.

Ahh, thanks. For this purpose, we use custom validators.

Keep open, because the @erfanium `map` rule is a good idea.

Yeah, it would be great, please open a PR with your implementation.

Workaround: use custom `messages` in the rules.

We can't change the `{field}` to `{path}` because it cause breaking change. But for the label feature, we welcome PRs.

@alexjab thank you for your work. If I understand correctly, the `multi` can cover the conditional feature but it prints the errors from the "wrong" cases, right? What if we...