[PR #3024] [CLOSED] chore: warn users if their adapter isn't using create-adapter #21513

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

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/3024
Author: @ping-maxwell
Created: 6/14/2025
Status: Closed

Base: mainHead: chore/adapter/warn-not-using-create-adapter


📝 Commits (4)

  • 361a68b chore: warn users if their adapter isn't using create-adapter
  • f6c74eb chore: lint
  • 5eed5a1 fix: init snapshot
  • 939d8ed Update state.txt

📊 Changes

6 files changed (+19 additions, -4 deletions)

View changed files

📝 docs/components/builder/index.tsx (+0 -1)
📝 packages/better-auth/src/__snapshots__/init.test.ts.snap (+1 -0)
📝 packages/better-auth/src/adapters/create-adapter/index.ts (+1 -0)
📝 packages/better-auth/src/adapters/kysely-adapter/test/state.txt (+1 -1)
📝 packages/better-auth/src/adapters/prisma-adapter/test/state.txt (+1 -1)
📝 packages/better-auth/src/init.ts (+15 -1)

📄 Description

This PR shouldn't be merged until MongoDB adapter is using create adapter too.

This is required as future features such as transactions, db-hook support for all models, and other features can work if all adapters use create-adapter.


🔄 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/3024 **Author:** [@ping-maxwell](https://github.com/ping-maxwell) **Created:** 6/14/2025 **Status:** ❌ Closed **Base:** `main` ← **Head:** `chore/adapter/warn-not-using-create-adapter` --- ### 📝 Commits (4) - [`361a68b`](https://github.com/better-auth/better-auth/commit/361a68babe301f90ed2ddc680631956dbc2d96e8) chore: warn users if their adapter isn't using create-adapter - [`f6c74eb`](https://github.com/better-auth/better-auth/commit/f6c74eb9ea8d612ef58fec00fa306ae90a51d6f5) chore: lint - [`5eed5a1`](https://github.com/better-auth/better-auth/commit/5eed5a104b706cffff3ba88d0861d89bfbe4e532) fix: init snapshot - [`939d8ed`](https://github.com/better-auth/better-auth/commit/939d8ed900b8b965abe80b32d9a0e9d52cb1b040) Update state.txt ### 📊 Changes **6 files changed** (+19 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `docs/components/builder/index.tsx` (+0 -1) 📝 `packages/better-auth/src/__snapshots__/init.test.ts.snap` (+1 -0) 📝 `packages/better-auth/src/adapters/create-adapter/index.ts` (+1 -0) 📝 `packages/better-auth/src/adapters/kysely-adapter/test/state.txt` (+1 -1) 📝 `packages/better-auth/src/adapters/prisma-adapter/test/state.txt` (+1 -1) 📝 `packages/better-auth/src/init.ts` (+15 -1) </details> ### 📄 Description This PR shouldn't be merged until MongoDB adapter is using create adapter too. This is required as future features such as transactions, db-hook support for all models, and other features can work if all adapters use create-adapter. --- <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:24:53 -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#21513