cal.com
cal.com copied to clipboard
perf: Slim down loggedInViewer tRPC router
What does this PR do?
Our loggedInViewer is ridiculously big and imports tons of things. This is the start to split it into separate tRPC routers so we limit how many dependencies are loaded per tRPC call.
Mandatory Tasks (DO NOT REMOVE)
- [x] I have self-reviewed the code (A decent size PR without self-review might be rejected).
- [x] I have updated the developer docs in /docs if this PR makes changes that would require a documentation change. If N/A, write N/A here and check the checkbox.
- [x] I confirm automated tests are in place that prove my fix is effective or that my feature works.
How should this be tested?
- Ensure all new routes are working
The latest updates on your projects. Learn more about Vercel for Git ↗︎
2 Skipped Deployments
| Name | Status | Preview | Comments | Updated (UTC) |
|---|---|---|---|---|
| cal | ⬜️ Ignored (Inspect) | Visit Preview | Mar 16, 2025 8:06pm | |
| calcom-web-canary | ⬜️ Ignored (Inspect) | Visit Preview | Mar 16, 2025 8:06pm |