Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Prisma client extensions in T3 app - Theo's Typesafe Cult
TTC
Theo's Typesafe Cult
•
3y ago
•
19 replies
ahkhanjani
Prisma client extensions in T3 app
T3 app uses this variable called
globalThis
globalThis
and
globalForPrisma
globalForPrisma
. I don
't understand the usage of it
, but it nullifies the extended types
. Can I just remove these and use
new PrismaClient()
new PrismaClient()
? If not
, what else can I do
?
- The file in question
: src
/server
/db
.ts
- The page for client extensions
:
https://www.prisma.io/docs/concepts/components/prisma-client/client-extensions/result
Prisma
Prisma Client extensions: result component (Preview)
Extend the functionality of Prisma Client
, result component
Theo's Typesafe Cult
Join
26,131
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
How to add Prisma Client extensions to create-t3-app?
TTC
Theo's Typesafe Cult / questions
3y ago
Next Auth + Create T3 App ( appDir )
TTC
Theo's Typesafe Cult / questions
3y ago
Prisma enums in React Native app (create-t3-turbo)
TTC
Theo's Typesafe Cult / questions
4y ago
using prisma accelerate in t3
TTC
Theo's Typesafe Cult / questions
3y ago