outis99
Explore posts from serversHandling errors on the front-end
Even that doesn't work, I'm sorry but I can't see what I am missing here and why throwing an error from the server is so difficult to handle on the client. All of the tRPC settings and files are default and I haven't changed any error formatters or loggerlinks or whatever, should I post a git issue for this maybe?
16 replies
TTCTheo's Typesafe Cult
•Created by on 4/19/2023 in #questions
In create-t3-app how to get tRPC zod schema on client?
I'm not sure this is what you want but check this out https://github.com/chrishoermann/zod-prisma-types
9 replies
TTCTheo's Typesafe Cult
•Created by Sofiane on 4/18/2023 in #questions
Eslint bug or am I missing something ?
@Sofiane
21 replies
TTCTheo's Typesafe Cult
•Created by Sofiane on 4/18/2023 in #questions
Eslint bug or am I missing something ?
like
void signIn()
for example21 replies
TTCTheo's Typesafe Cult
•Created by Sofiane on 4/18/2023 in #questions
Eslint bug or am I missing something ?
Try looking at some of their examples they use void on functions that return nothing I think
21 replies
TTCTheo's Typesafe Cult
•Created by code_sanchu on 3/30/2023 in #questions
Keep order of a list of items in prisma
So something like
And just set the order array every time an item is added, moved, or deleted?
10 replies
TTCTheo's Typesafe Cult
•Created by outis99 on 3/20/2023 in #questions
ctx.user.session.email possibly null | undefined
That's the weird thing it is non-nullable in my schema but whatever the other solution works
9 replies
TTCTheo's Typesafe Cult
•Created by outis99 on 3/20/2023 in #questions
ctx.user.session.email possibly null | undefined
Well it works but eslint throws a warning for it so I removed the warning in my eslint
9 replies