Mika
How to get data type from onMutate function in useMutation
When you try to retrieve the router inputs, typescript has to analyze the entire definition of that router, which includes the function definition ... It won't just read the
.input(loginSchema)
and be like ok, I'm done, here you go30 replies
DTDrizzle Team
•Created by joshborseth on 9/14/2023 in #help
TypeError: Cannot read properties of undefined (reading 'compositePrimaryKeys')
You guys should probably consider adding
"noUncheckedIndexedAccess": true,
to Drizzle-kit tsconfig.json
,
otherwise these kinds of errors will always keep popping up44 replies