kevinka
kevinka
Explore posts from servers
TtRPC
Created by kevinka on 7/12/2023 in #❓-help
how can I globally set a "middleware" callback for all onErrors on my React Query calls?
maybe can I set a callback for onErrors calls somewhere else in another scope where my things already lives?
5 replies
TtRPC
Created by kevinka on 7/12/2023 in #❓-help
how can I globally set a "middleware" callback for all onErrors on my React Query calls?
I can try do what I can with the things available such as window.location and remove from storage by hand but..
5 replies
TTCTheo's Typesafe Cult
Created by kevinka on 5/7/2023 in #questions
Is there a way to import a type from a Prisma Model on Client
its because the first query (the one you wrote first) doesnt provide the category itself and the ids of them
17 replies
TTCTheo's Typesafe Cult
Created by kevinka on 5/7/2023 in #questions
Should I share packages on Turborepo?
hmmmm! make sense. any article or something talking better about package managers do you recommend? for me they are just for installing/removing packages and cache it lol
6 replies
TTCTheo's Typesafe Cult
Created by kevinka on 5/7/2023 in #questions
Should I share packages on Turborepo?
Thank you! So you saying that doesnt matter if multiple projects has the same dependencies on it, Turborepo will handle them for me? what tools to sync you meant?
6 replies
TTCTheo's Typesafe Cult
Created by kevinka on 5/7/2023 in #questions
Is there a way to import a type from a Prisma Model on Client
17 replies
TTCTheo's Typesafe Cult
Created by kevinka on 5/7/2023 in #questions
Is there a way to import a type from a Prisma Model on Client
and btw including this category on the Item query it have stopped to retrieve the rest of the item data, it seems they all are set to false. thinkies
17 replies
TTCTheo's Typesafe Cult
Created by kevinka on 5/7/2023 in #questions
Is there a way to import a type from a Prisma Model on Client
ohh boy, I need to start to explain better my questions lol thank you! it's almost that Ive found this article from Prisma Docs before but what I really want is almost that; by doing that I will get all the register I have from the model ItemCategory that's my control table. what I really need is a list of the category itself! The final result I would like to have would be something { id: string, name: string, //... categories: { id: string, name: string, // values from the Category model } }
17 replies
TTCTheo's Typesafe Cult
Created by kevinka on 5/7/2023 in #questions
Is there a way to import a type from a Prisma Model on Client
17 replies
TTCTheo's Typesafe Cult
Created by kevinka on 5/7/2023 in #questions
Is there a way to import a type from a Prisma Model on Client
enjoying the contact fella, do you know well prisma? I want to create a query that connects to an another model from a many to many and I'm struggling
17 replies
TTCTheo's Typesafe Cult
Created by kevinka on 5/7/2023 in #questions
Is there a way to import a type from a Prisma Model on Client
that's literally it! thank you brodher
17 replies
TTCTheo's Typesafe Cult
Created by kevinka on 5/7/2023 in #questions
Is there a way to import a type from a Prisma Model on Client
oh jeez I forgot about mention Prisma - sorry. but yes!
17 replies
TTCTheo's Typesafe Cult
Created by kevinka on 5/6/2023 in #questions
Cant use the same router to create multiple createTRPCReact?
Thank you! I did it before post it, but didnt work. after a time it was working, probably Typescript cache or something.
3 replies
TTCTheo's Typesafe Cult
Created by kevinka on 5/6/2023 in #questions
Library recommendation for Authentication on React?
@MonobrainChris @nyx (Rustular DevRel) but isnt all of them for next? Im not using Next!
19 replies
TTCTheo's Typesafe Cult
Created by kevinka on 5/6/2023 in #questions
Library recommendation for Authentication on React?
iron session github isnt for next.js? (just had a quick look)
19 replies
TTCTheo's Typesafe Cult
Created by kevinka on 4/30/2023 in #questions
Help to deploy my TRPC proj from a monorepo (turborepo) at Vercel
did you found anything @Mendy ?
8 replies
TTCTheo's Typesafe Cult
Created by kevinka on 4/30/2023 in #questions
Help to deploy my TRPC proj from a monorepo (turborepo) at Vercel
what Im looking for is deploy an server separately using trpc. Im not using next in my case
8 replies