[PR #351] [MERGED] Fixed: MongoDB Adapter Docs #3244

Closed
opened 2026-03-13 10:45:15 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/351
Author: @anmol-fzr
Created: 10/27/2024
Status: Merged
Merged: 10/27/2024
Merged by: @Bekacru

Base: mainHead: fix/mongo-docs


📝 Commits (1)

  • e4221ee Fixed: MongoDB Adapter Docs

📊 Changes

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

View changed files

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

📄 Description

In the example given in docs the the mongo client is passed directly passed to the mongodbAdapter, which is not working it should be db from mongo client

Reading the whole code now, willing to contribute to code as well

This got me into reading the source code to get working,


🔄 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/351 **Author:** [@anmol-fzr](https://github.com/anmol-fzr) **Created:** 10/27/2024 **Status:** ✅ Merged **Merged:** 10/27/2024 **Merged by:** [@Bekacru](https://github.com/Bekacru) **Base:** `main` ← **Head:** `fix/mongo-docs` --- ### 📝 Commits (1) - [`e4221ee`](https://github.com/better-auth/better-auth/commit/e4221eeab0c0397ca7362261ca54460bf913b7c6) Fixed: MongoDB Adapter Docs ### 📊 Changes **1 file changed** (+3 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `docs/content/docs/concepts/database.mdx` (+3 -1) </details> ### 📄 Description In the example given in docs the the mongo client is passed directly passed to the mongodbAdapter, which is not working it should be db from mongo client Reading the whole code now, willing to contribute to code as well This got me into reading the source code to get working, --- <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-03-13 10:45:15 -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#3244