Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(docs): Update mongodb code example for mongo singleton #10683

Merged
merged 2 commits into from Apr 28, 2024

Conversation

fsocietystudios
Copy link
Contributor

@fsocietystudios fsocietystudios commented Apr 22, 2024

☕️ Reasoning

I have observed that MongoDB's approach has been updated, and the current documentation may be outdated.

🧢 Checklist

  • Documentation
  • Tests
  • Ready to be merged

🎫 Affected issues

Fixes: None

📌 Resources

Update MongoDB's approach
Copy link

vercel bot commented Apr 22, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
auth-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 28, 2024 3:04pm
1 Ignored Deployment
Name Status Preview Comments Updated (UTC)
next-auth-docs ⬜️ Ignored (Inspect) Visit Preview Apr 28, 2024 3:04pm

@ndom91
Copy link
Member

ndom91 commented Apr 28, 2024

Thanks for the interest! Can you link me to the updated guidance where you found this?

@ndom91 ndom91 changed the title update(docs): Update mongodb.mdx to match MongoDB's approach chore(docs): Update mongodb code example for mongo singleton Apr 28, 2024
@fsocietystudios
Copy link
Contributor Author

Thanks for the interest! Can you link me to the updated guidance where you found this?

Sure!
https://github.com/vercel/next.js/blob/canary/examples/with-mongodb/lib/mongodb.ts

@ndom91
Copy link
Member

ndom91 commented Apr 28, 2024

Awesome, thanks. Looks liek we're recommending a valid version of mongodb already here as well 🙏

@ndom91 ndom91 merged commit dca0f22 into nextauthjs:main Apr 28, 2024
10 of 11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants