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

Feature request: check regular expressions #163

Open
networkinss opened this issue Dec 8, 2021 · 2 comments
Open

Feature request: check regular expressions #163

networkinss opened this issue Dec 8, 2021 · 2 comments

Comments

@networkinss
Copy link
Contributor

It would be convenient if you could define fields with regular expressions.
Like it is with excludeProperties, just instead to ignore the fields it is tested againg a regular expression (mail format, timestamp etc).

@elans3
Copy link
Member

elans3 commented Mar 26, 2022

Can you provide more details about this use case with appropriate examples

@networkinss
Copy link
Contributor Author

Currently there is only string comparison (see #212).
If would be good if you could define a regular expression
to check if it has a mail format value or a URL format or UUID.
Things like that would make it much better to check for the contract.

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

No branches or pull requests

2 participants