Oudwins / zog

Go with Zod inspired simple schema validation
https://zog.dev
MIT License
162 stars 5 forks source link

Does NOT contain for strings #41

Open Oudwins opened 1 week ago

Oudwins commented 1 week ago

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 commented 1 week ago

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