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(action-client): export a copy of safe action client from /zod path #115

Merged
merged 4 commits into from
May 7, 2024

Conversation

TheEdoRan
Copy link
Owner

Sometimes, TypeSchema causes errors with its dynamic import system, to handle multiple validation libraries.
The code in this PR exports a copy of the safe action client from the /zod path, that support just Zod validation library, as the name implies. This should fix problems with the edge runtime and hopefully future bundler issues too.

Sometimes TypeSchema causes errors with dynamic imports. This commit exports a copy of the safe
action client from `/zod` path, that only supports Zod as the validation library.
Copy link

vercel bot commented May 7, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
next-safe-action-playground ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 7, 2024 8:20pm
next-safe-action-website ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 7, 2024 8:20pm

Copy link

github-actions bot commented May 7, 2024

🎉 This PR is included in version 7.0.0-next.36 🎉

The release is available on:

Your semantic-release bot 📦🚀

@TheEdoRan TheEdoRan linked an issue May 8, 2024 that may be closed by this pull request
1 task
Copy link

🎉 This PR is included in version 7.0.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] Schema parsing breaks in edge runtime
1 participant