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

minLength and maxLength are ignored for patterns #18

Open
subeeshcbabu-zz opened this issue Sep 7, 2016 · 1 comment
Open

minLength and maxLength are ignored for patterns #18

subeeshcbabu-zz opened this issue Sep 7, 2016 · 1 comment
Labels

Comments

@subeeshcbabu-zz
Copy link
Owner

  • If a pattern is defined for type string, minLength and maxLength are ignored
@subeeshcbabu-zz
Copy link
Owner Author

Restricting the length of random generated pattern using additional properties like minLength and maxLength is going to be tricky and not a standard approach. The simpler and straightforward way to configure the length of the random pattern is via the regex pattern repetition itself.

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

1 participant