[PR #3084] [MERGED] fix(create-adapter): getModelName doesn't add plural to custom model names #21537

Closed
opened 2026-04-15 20:25:40 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/3084
Author: @ping-maxwell
Created: 6/19/2025
Status: Merged
Merged: 6/28/2025
Merged by: @Bekacru

Base: mainHead: fix/create-adapter/get-plural-custom-model-names


📝 Commits (1)

  • 5f1a0ec fix(create-adapter): getModelName doesn't add plural to custom model names

📊 Changes

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

View changed files

📝 packages/better-auth/src/adapters/create-adapter/index.ts (+14 -5)

📄 Description

Fixes https://github.com/better-auth/better-auth/issues/3069#issuecomment-2985270520


🔄 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/3084 **Author:** [@ping-maxwell](https://github.com/ping-maxwell) **Created:** 6/19/2025 **Status:** ✅ Merged **Merged:** 6/28/2025 **Merged by:** [@Bekacru](https://github.com/Bekacru) **Base:** `main` ← **Head:** `fix/create-adapter/get-plural-custom-model-names` --- ### 📝 Commits (1) - [`5f1a0ec`](https://github.com/better-auth/better-auth/commit/5f1a0ec9617744cf329a15ba110657622997a702) fix(create-adapter): `getModelName` doesn't add plural to custom model names ### 📊 Changes **1 file changed** (+14 additions, -5 deletions) <details> <summary>View changed files</summary> 📝 `packages/better-auth/src/adapters/create-adapter/index.ts` (+14 -5) </details> ### 📄 Description Fixes https://github.com/better-auth/better-auth/issues/3069#issuecomment-2985270520 --- <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 20:25:40 -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#21537