Skip to content

Conversation

@just-be-dev
Copy link
Contributor

@david-crespo pointed out that if we were correctly validation IP addresses with zod we would've caught oxidecomputer/console#1438 in our e2e tests. This adds that validation.

}
if (schema.format === "ip") {
w0(".ip()");
}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I love this generator!

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

Successfully merging this pull request may close these issues.

3 participants