Conversation
Dao-Ho
left a comment
There was a problem hiding this comment.
This is a good start, and definitely one of the flows we want. But some things to consider.
What you have: whenever a new user gets created under an org, you insert that user into an existing org/hotel in our DB.
Some questions to consider:
- What happens if a user is created before their org is created?
- What happens if the org is created on clerk, and a member is created under that org, but it isn't in our internal database. How do we handle that now?
I think this should give you a good direction on improving this.
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #175 +/- ##
==========================================
+ Coverage 0.62% 19.07% +18.45%
==========================================
Files 78 48 -30
Lines 3218 2343 -875
==========================================
+ Hits 20 447 +427
+ Misses 3198 1881 -1317
- Partials 0 15 +15
Flags with carried forward coverage won't be shown. Click here to find out more.
🚀 New features to boost your workflow:
|
|
Update on the PR for clerk orgs.
Debt:
Current FLOW:
B)
|
Description
Type of Change
Related Issue(s)
Closes #
Related to #
What Changed?
Testing & Validation
How this was tested
Screenshots/Recordings
Unfinished Work & Known Issues
Notes & Nuances
Pre-Merge Checklist
Code Quality
Testing & CI
Documentation
Reviewer Notes