t
tRPC
t
tRPC
The inferred type of this node exceeds the maximum length
Original message was deleted
tRPC
Join
Move Fast & Break Nothing. End-to-end typesafe APIs made easy.
5,111
Members
View on Discord
N
Nick
•
2/22/23, 8:33 AM
You might need to get into this world to figure this out
:
https://github.com/microsoft/TypeScript-wiki/blob/main/Performance-Tracing.md
GitHub
TypeScript-wiki/Performance-Tracing.md at main · microsoft/TypeScri...
A repository to make changes to the TypeScript Wiki on GitHub
- TypeScript
-wiki
/Performance
-Tracing
.md at main
· microsoft
/TypeScript
-wiki
N
Nick
•
2/22/23, 8:34 AM
Analyse a trace of your codebase in Perfetto and see what the hottest files are
N
Nick
•
2/22/23, 8:35 AM
I haven
’t seen this issue before but it
’s most likely going to be Zod related
N
Nick
•
2/22/23, 8:37 AM
There is an example tsc trace command and some thoughts here
:
https://dev.to/nicklucas/typescript-runtime-validators-and-dx-a-type-checking-performance-analysis-of-zodsuperstructyuptypebox-5416
DEV Community 👩💻👨💻
Typescript Runtime Validators and DX, a type-checking performance a...
Preface In 2023
, Typescript is rarely questioned as an important tool for modern
.
.
.
N
Nick
•
2/22/23, 8:38 AM
Tip
: if it
’s files containing Zod types
… rewrite all your types not to touch merge
, extend
, omit
, pick
, etc
. they
’re very harmful