[PR #5286] [MERGED] e2e: add coverage for additional fields #22804

Closed
opened 2026-04-15 21:17:35 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/5286
Author: @himself65
Created: 10/13/2025
Status: Merged
Merged: 10/13/2025
Merged by: @himself65

Base: canaryHead: himself65/2025/10/13/e2e


📝 Commits (1)

  • 05f9d31 e2e: add coverage for additional fields

📊 Changes

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

View changed files

e2e/smoke/test/fixtures/tsconfig-exact-optional-property-types/src/user-additional-fields.ts (+28 -0)

📄 Description

Related: https://github.com/better-auth/better-auth/issues/5270


Summary by cubic

Added an e2e fixture to verify user.additionalFields with TypeScript exactOptionalPropertyTypes, ensuring signUpEmail accepts the timeZone field without errors. Connects to better-auth issue #5270 by covering additional field handling in sign-up.


🔄 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/5286 **Author:** [@himself65](https://github.com/himself65) **Created:** 10/13/2025 **Status:** ✅ Merged **Merged:** 10/13/2025 **Merged by:** [@himself65](https://github.com/himself65) **Base:** `canary` ← **Head:** `himself65/2025/10/13/e2e` --- ### 📝 Commits (1) - [`05f9d31`](https://github.com/better-auth/better-auth/commit/05f9d31c983cc7eb044835e2cc5a6d61e3459084) e2e: add coverage for additional fields ### 📊 Changes **1 file changed** (+28 additions, -0 deletions) <details> <summary>View changed files</summary> ➕ `e2e/smoke/test/fixtures/tsconfig-exact-optional-property-types/src/user-additional-fields.ts` (+28 -0) </details> ### 📄 Description Related: https://github.com/better-auth/better-auth/issues/5270 <!-- This is an auto-generated description by cubic. --> --- ## Summary by cubic Added an e2e fixture to verify user.additionalFields with TypeScript exactOptionalPropertyTypes, ensuring signUpEmail accepts the timeZone field without errors. Connects to better-auth issue #5270 by covering additional field handling in sign-up. <!-- 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 21:17:35 -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#22804