[PR #7017] [MERGED] chore: replace body schema with signUpEmailBodySchema #23926

Closed
opened 2026-04-15 22:04:01 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/7017
Author: @himself65
Created: 12/27/2025
Status: Merged
Merged: 12/27/2025
Merged by: @himself65

Base: canaryHead: himself65/2025/12/27/schema


📝 Commits (1)

  • a59266d chore: replace body schema with signUpEmailBodySchema

📊 Changes

1 file changed (+1 additions, -1 deletions)

View changed files

📝 packages/better-auth/src/api/routes/sign-up.ts (+1 -1)

📄 Description

Summary by cubic

Use signUpEmailBodySchema for the sign-up email route instead of a generic record. This enforces a typed payload and provides clearer validation errors.

Written for commit a59266d673. Summary will update automatically on new commits.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/better-auth/better-auth/pull/7017 **Author:** [@himself65](https://github.com/himself65) **Created:** 12/27/2025 **Status:** ✅ Merged **Merged:** 12/27/2025 **Merged by:** [@himself65](https://github.com/himself65) **Base:** `canary` ← **Head:** `himself65/2025/12/27/schema` --- ### 📝 Commits (1) - [`a59266d`](https://github.com/better-auth/better-auth/commit/a59266d67339a54a1930dec62da810bfa6fd7983) chore: replace body schema with `signUpEmailBodySchema` ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `packages/better-auth/src/api/routes/sign-up.ts` (+1 -1) </details> ### 📄 Description <!-- This is an auto-generated description by cubic. --> ## Summary by cubic Use signUpEmailBodySchema for the sign-up email route instead of a generic record. This enforces a typed payload and provides clearer validation errors. <sup>Written for commit a59266d67339a54a1930dec62da810bfa6fd7983. Summary will update automatically on new commits.</sup> <!-- End of auto-generated description by cubic. --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-15 22:04:01 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/better-auth#23926