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

feat(conform-zod)!: default stripEmptyValue option to true #227

Merged
merged 2 commits into from
Jul 17, 2023

Conversation

edmundhung
Copy link
Owner

@edmundhung edmundhung commented Jul 17, 2023

@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Jul 17, 2023

Deploying with  Cloudflare Pages  Cloudflare Pages

Latest commit: d25f5dc
Status: ✅  Deploy successful!
Preview URL: https://f8106df7.conform.pages.dev
Branch Preview URL: https://default-strip-empty-value.conform.pages.dev

View logs

@edmundhung edmundhung merged commit a1e0bd5 into next Jul 17, 2023
2 checks passed
@edmundhung edmundhung deleted the default-strip-empty-value branch July 17, 2023 21:18
nicholaschiang added a commit to nicholaschiang/dolce that referenced this pull request Sep 30, 2023
This patch removes the `stripEmptyValue` option as empty values are now
always stripped by Conform [[1]].

This patch also updates the custom error surfacing to pass in arrays
instead of error strings [[2]].

[1]: edmundhung/conform#227
[2]: edmundhung/conform#228

Ref: https://github.com/edmundhung/conform/releases/tag/v0.8.0
nicholaschiang added a commit to nicholaschiang/dolce that referenced this pull request Sep 30, 2023
This patch removes the `stripEmptyValue` option as empty values are now
always stripped by Conform [[1]].

This patch also updates the custom error surfacing to pass in arrays
instead of error strings [[2]].

[1]: edmundhung/conform#227
[2]: edmundhung/conform#228

Ref: https://github.com/edmundhung/conform/releases/tag/v0.8.0
nicholaschiang added a commit to nicholaschiang/dolce that referenced this pull request Sep 30, 2023
This patch removes the `stripEmptyValue` option as empty values are now
always stripped by Conform [[1]].

This patch also updates the custom error surfacing to pass in arrays
instead of error strings [[2]].

[1]: edmundhung/conform#227
[2]: edmundhung/conform#228

Ref: https://github.com/edmundhung/conform/releases/tag/v0.8.0
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.

1 participant