Store flair in user document as reference to flair DB collection. #47
Labels
No labels
Bug
Cleanup/Refactor
Core Feature
Documentation
Feature
Performance Improvement
Security Improvement
UX/Accessibility
Unreproducable Bug
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: rainbownapkin/canopy#47
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The user's current flair is stored as a string. While it makes sense to store the name of the flair as a string within connectedUser.js when they're connected, it should be pulled from a populated DB reference instead of a string that gets checked when it's changed.
If implemented properly, this should introduce no performance penalties over the current system.
Updated userSchema to store flair as db ref:
279640a7