[PR #5838] feat(username): add UserWithUsername type #14512

Closed
opened 2026-04-13 09:30:50 -05:00 by GiteaMirror · 0 comments
Owner

Original Pull Request: https://github.com/better-auth/better-auth/pull/5838

State: closed
Merged: No


Summary by cubic

Add a UserWithUsername type to the username plugin, extending User with username and displayUsername fields. This improves type safety and clarifies the expected user shape when working with usernames.

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

**Original Pull Request:** https://github.com/better-auth/better-auth/pull/5838 **State:** closed **Merged:** No --- <!-- This is an auto-generated description by cubic. --> ## Summary by cubic Add a UserWithUsername type to the username plugin, extending User with username and displayUsername fields. This improves type safety and clarifies the expected user shape when working with usernames. <sup>Written for commit dd64155def2391e059512259b091dc4922c06371. Summary will update automatically on new commits.</sup> <!-- End of auto-generated description by cubic. -->
GiteaMirror added the pull-request label 2026-04-13 09:30:50 -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#14512