outis99
outis99
Explore posts from servers
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 example
21 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
{
items: array of albums
order: [1, 3, 4, 2, 5]
}
{
items: array of albums
order: [1, 3, 4, 2, 5]
}
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