[PR #310] [MERGED] Update on mongodb adapter integration docs - database.mdx #28822

Closed
opened 2026-04-17 20:16:37 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/310
Author: @nalonix
Created: 10/23/2024
Status: Merged
Merged: 10/23/2024
Merged by: @Bekacru

Base: mainHead: main


📝 Commits (5)

  • 015eaec Update svelte-kit.mdx
  • 2082ff2 Merge pull request #1 from nalonix/nalonix-typo-fix
  • 9796102 Merge branch 'better-auth:main' into main
  • e67e92b Update database.mdx
  • d334c47 Merge pull request #2 from nalonix/nalonix-mongodb-adapter-docs

📊 Changes

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

View changed files

📝 docs/content/docs/concepts/database.mdx (+2 -2)

📄 Description

Some issues on the mongodb adapter guide.

  1. the exported adapter name is mongodbAdapter, not mongoAdapter.
  2. the adapter is not expecting a mongo client, rather a db instance
  3. we need type for auth [instance of better-auth] :)
    image
    image
    image

🔄 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/310 **Author:** [@nalonix](https://github.com/nalonix) **Created:** 10/23/2024 **Status:** ✅ Merged **Merged:** 10/23/2024 **Merged by:** [@Bekacru](https://github.com/Bekacru) **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (5) - [`015eaec`](https://github.com/better-auth/better-auth/commit/015eaec2c09aca2ce60dde0271f7e14cfb45f401) Update svelte-kit.mdx - [`2082ff2`](https://github.com/better-auth/better-auth/commit/2082ff271c448a8870b5dcaca5a7b36bd281e0f2) Merge pull request #1 from nalonix/nalonix-typo-fix - [`9796102`](https://github.com/better-auth/better-auth/commit/979610220bcca11400d06bede4d988f73469fee8) Merge branch 'better-auth:main' into main - [`e67e92b`](https://github.com/better-auth/better-auth/commit/e67e92bd32dc5791ca389c3b46987ddea4cfa14d) Update database.mdx - [`d334c47`](https://github.com/better-auth/better-auth/commit/d334c47b04bc25bb2f6af948b36448bb80b90535) Merge pull request #2 from nalonix/nalonix-mongodb-adapter-docs ### 📊 Changes **1 file changed** (+2 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `docs/content/docs/concepts/database.mdx` (+2 -2) </details> ### 📄 Description Some issues on the mongodb adapter guide. 1. the exported adapter name is mongodbAdapter, not mongoAdapter. 2. the adapter is not expecting a mongo client, rather a db instance 3. we need type for auth [instance of better-auth] :) ![image](https://github.com/user-attachments/assets/2d458fec-d737-4bd0-bae0-f77186dada77) ![image](https://github.com/user-attachments/assets/45515528-98d2-4a93-b96e-225706a0a5f5) ![image](https://github.com/user-attachments/assets/1f03bfe9-06ad-4c21-bba3-253e73fc599d) --- <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-17 20:16:37 -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#28822