We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
This PR supports ip address, but sometimes we need to support network range. #2066
So, we need like below validators for string.
z.string().ip_range({ version: "v4"})
or
z.string().ipv4Range(); z.string().ipv6Range();
The text was updated successfully, but these errors were encountered:
I'd like to try this.
Does the ip range mean the CIDR notation like 192.168.0.0/16?
192.168.0.0/16
Sorry, something went wrong.
@NotEvenANeko Exactly, that's what I want to share here!
@hayata-yamamoto This is awesome
Is anybody handling this issue?
Successfully merging a pull request may close this issue.
This PR supports ip address, but sometimes we need to support network range.
#2066
So, we need like below validators for string.
or
The text was updated successfully, but these errors were encountered: