Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

fix(conform-zod): empty string default value support #741

Merged
merged 3 commits into from
Sep 10, 2024

Conversation

edmundhung
Copy link
Owner

Fix #676

Copy link

changeset-bot bot commented Aug 15, 2024

🦋 Changeset detected

Latest commit: 475c013

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

This PR includes changesets to release 4 packages
Name Type
@conform-to/zod Patch
@conform-to/dom Patch
@conform-to/react Patch
@conform-to/yup 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

@edmundhung edmundhung force-pushed the zod-default-empty-string branch from 068c672 to 4418cb1 Compare August 17, 2024 13:14
Copy link

cloudflare-workers-and-pages bot commented Aug 17, 2024

Deploying conform with  Cloudflare Pages  Cloudflare Pages

Latest commit: 475c013
Status: ✅  Deploy successful!
Preview URL: https://bd723db7.conform.pages.dev
Branch Preview URL: https://zod-default-empty-string.conform.pages.dev

View logs

Copy link

pkg-pr-new bot commented Aug 17, 2024

Open in Stackblitz

More templates

@conform-to/dom

pnpm add https://pkg.pr.new/@conform-to/dom@741

@conform-to/react

pnpm add https://pkg.pr.new/@conform-to/react@741

@conform-to/validitystate

pnpm add https://pkg.pr.new/@conform-to/validitystate@741

@conform-to/yup

pnpm add https://pkg.pr.new/@conform-to/yup@741

@conform-to/zod

pnpm add https://pkg.pr.new/@conform-to/zod@741

commit: 475c013

@edmundhung edmundhung changed the title fix(conform-zod): stop coercing empty string default value feat(conform-zod): empty string default value support Sep 10, 2024
@edmundhung edmundhung changed the title feat(conform-zod): empty string default value support fix(conform-zod): empty string default value support Sep 10, 2024
@edmundhung edmundhung merged commit 3a7f02e into main Sep 10, 2024
22 checks passed
@edmundhung edmundhung deleted the zod-default-empty-string branch September 10, 2024 21:59
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

schema not allowing empty string through
2 participants