-
-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
feat(firebase): add option to set custom collection names #10020
feat(firebase): add option to set custom collection names #10020
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
1 Skipped Deployment
|
@mathiasj is attempting to deploy a commit to the authjs Team on Vercel. A member of the Team first needs to authorize it. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice addition, makes sense. Could you maybe also add a test to confirm that a setup with a prefix works as intended?
Thanks!
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #10020 +/- ##
==========================================
+ Coverage 39.09% 39.12% +0.03%
==========================================
Files 189 189
Lines 29763 29788 +25
Branches 1283 1289 +6
==========================================
+ Hits 11635 11656 +21
- Misses 18128 18132 +4 ☔ View full report in Codecov by Sentry. |
☕️ Reasoning
I already had collections in firestore with the names "accounts" and "users" and they could not coincide with the collections created by next-auth. This feature allows the possibility to add a prefix to the collection names created by next-auth.
🧢 Checklist
🎫 Affected issues
None
📌 Resources