Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
How to type $allModels result extension - Prisma
P
Prisma
•
2y ago
•
1 reply
Nik
How to type $allModels result extension
I have the following simple example of a result extension
:
$allModels:{
$toJson:{
compute(data){
return ()=>data
}
}
}
$allModels:{
$toJson:{
compute(data){
return ()=>data
}
}
}
However on all my modelsI can
't even call it
. It just says type never has no call signatures
Prisma
Join
The official Discord server of Prisma! Find us online at prisma.io
9,819
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
Unit testing a result extension
P
Prisma / help-and-questions
2y ago
[Typescript] Prisma result extension typing
P
Prisma / help-and-questions
2y ago
How to change BigInt type after Prisma Extension?
P
Prisma / help-and-questions
2w ago
In a Prisma result extension, is it possible to require ("needs") a relation?
P
Prisma / help-and-questions
2y ago