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

Does NOT contain for strings #41

Open
Oudwins opened this issue Oct 31, 2024 · 1 comment
Open

Does NOT contain for strings #41

Oudwins opened this issue Oct 31, 2024 · 1 comment

Comments

@Oudwins
Copy link
Owner

Oudwins commented Oct 31, 2024

These are methods that are not present in Zod or Yup but might be worth considering including in Zog.

Use cases are mainly for validating input does not have special characters, for example for usernames, or for slugs, etc

What do you all think?

@Oudwins
Copy link
Owner Author

Oudwins commented Oct 31, 2024

These would be just quality of life since you can already do this with String().Test(z.TestFunc()) or with regexes

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

No branches or pull requests

1 participant