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

fix(zod-validator): make validation input optional when schema is optional #208

Merged
merged 4 commits into from
Oct 22, 2023

Conversation

MonsterDeveloper
Copy link
Contributor

Fixes types for optional schema by making input optional (?) when the schema is optional.

See honojs/hono#1583

@changeset-bot
Copy link

changeset-bot bot commented Oct 22, 2023

🦋 Changeset detected

Latest commit: 14826ef

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@hono/zod-validator Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@yusukebe
Copy link
Member

Hi @MonsterDeveloper !

Thanks. LGTM. Ship it now.

@yusukebe yusukebe merged commit 46575b4 into honojs:main Oct 22, 2023
1 check passed
@github-actions github-actions bot mentioned this pull request Oct 22, 2023
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.

2 participants