cal.pub0.org/apps/web/server/lib
Lucas Smith 2317473545
feat(web): improve session retrieval performance (#7584)
* feat(web): improve session retrieval performance

Switch to using `getServerSession` which avoids a HTTP round trip to retrieve session details.

Additionally, migrate deprecated `app/lib/auth` calls to to `@calcom/lib` package.

* fix: update failing test and lint

* Consolidates auth code in features

* Update yarn.lock

* Update packages/trpc/server/createContext.ts

* Oopsie

---------

Co-authored-by: zomars <zomars@me.com>
2023-03-10 23:45:24 +00:00
..
constants.ts Migrated cal.com to apps/web 2022-02-10 14:22:45 -07:00
ssg.ts use inner context type (#7449) 2023-03-06 13:17:16 +00:00
ssr.ts feat(web): improve session retrieval performance (#7584) 2023-03-10 23:45:24 +00:00