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

v7.1.0 - throwValidationErrors and schema extension #178

Merged
merged 7 commits into from
Jun 20, 2024
Merged

v7.1.0 - throwValidationErrors and schema extension #178

merged 7 commits into from
Jun 20, 2024

Conversation

TheEdoRan
Copy link
Owner

Proposed changes

This PR adds the support for:

  1. Throwing validation errors with a throwValidationErrors config option passed to createSafeActionClient;
  2. Extend schema by adding a prevSchema argument to the function passed to schema method.

Related issue(s) or discussion(s)

  1. Support throwing validation errors #171
  2. Support joining input schemas #173

Copy link

vercel bot commented Jun 20, 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 Jun 20, 2024 3:03pm
next-safe-action-website ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 20, 2024 3:03pm

@TheEdoRan TheEdoRan merged commit 5b9ca52 into main Jun 20, 2024
5 checks passed
@TheEdoRan TheEdoRan deleted the beta branch June 20, 2024 15:06
Copy link

🎉 This PR is included in version 7.1.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
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant