cal.pub0.org/packages/trpc
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
..
client Migrates all tRPC code to a monorepo package (#3484) 2022-07-22 11:27:06 -06:00
next Migrates all tRPC code to a monorepo package (#3484) 2022-07-22 11:27:06 -06:00
react feat(web): improve session retrieval performance (#7584) 2023-03-10 23:45:24 +00:00
server feat(web): improve session retrieval performance (#7584) 2023-03-10 23:45:24 +00:00
index.ts Migrates all tRPC code to a monorepo package (#3484) 2022-07-22 11:27:06 -06:00
package.json refactor: cleanup use of rawInput and pipe mdwr in trpc router (#7422) 2023-02-28 14:40:19 -07:00
tsconfig.json refactor: cleanup use of rawInput and pipe mdwr in trpc router (#7422) 2023-02-28 14:40:19 -07:00