2 ms·
Mainly just when adding new features. For example, updating a trpc endpoint to return an additional field often requires updating other unrelated prisma queries
by koolyy 2y ago
Mainly just when adding new features. For example, updating a trpc endpoint to return an additional field often requires updating other unrelated prisma queries just to satisfy the return types.
I get types are necessary, it just seems to me that they should only ever be defined once and in one place rather than defining any type you need anywhere you need it.