hyperzone
hyperzone
Explore posts from servers
TTCTheo's Typesafe Cult
Created by Debaucus on 7/30/2023 in #questions
Looking for NextAuth Discord Refresh token rotation examples. All mine have expired.
hey @debaucus , did you manage to find an implementation?
8 replies
TTCTheo's Typesafe Cult
Created by hyperzone on 6/16/2023 in #questions
Caching ORM response in Next app dir
That's exactly what I do here and my point is that it's not working
4 replies
TTCTheo's Typesafe Cult
Created by hyperzone on 2/12/2023 in #questions
Prisma middleware delete
im deleting another model and Color gets deleted because of onDelete Cascade, im not directly deleting it
11 replies
TTCTheo's Typesafe Cult
Created by hyperzone on 2/12/2023 in #questions
Prisma middleware delete
did you read the question my man?
11 replies
TTCTheo's Typesafe Cult
Created by hyperzone on 2/12/2023 in #questions
Prisma middleware delete
I already have an onDelete Cascade, I need the Color object before it gets deleted to send an api request somewhere else with a property
11 replies
TTCTheo's Typesafe Cult
Created by hyperzone on 2/7/2023 in #questions
Parent model in child model in Prisma?
i've simplified the example but I need the child to have a child that is essentially a Parent with children that have the same properties as Child
5 replies
TTCTheo's Typesafe Cult
Created by hyperzone on 12/28/2022 in #questions
Best way to implement a cart?
thank you again for the valuable info 🙂
44 replies
TTCTheo's Typesafe Cult
Created by hyperzone on 12/28/2022 in #questions
Best way to implement a cart?
yeah that's right
44 replies
TTCTheo's Typesafe Cult
Created by hyperzone on 12/28/2022 in #questions
Best way to implement a cart?
i'll look into it now
44 replies
TTCTheo's Typesafe Cult
Created by hyperzone on 12/28/2022 in #questions
Best way to implement a cart?
so was wondering if i could get it done without a bridge
44 replies
TTCTheo's Typesafe Cult
Created by hyperzone on 12/28/2022 in #questions
Best way to implement a cart?
basically all i need is quantity
44 replies
TTCTheo's Typesafe Cult
Created by hyperzone on 12/28/2022 in #questions
Best way to implement a cart?
so basically the quantity of a product is the num of times it's in the cart?
44 replies
TTCTheo's Typesafe Cult
Created by hyperzone on 12/28/2022 in #questions
Best way to implement a cart?
we're talking Prisma sql
44 replies
TTCTheo's Typesafe Cult
Created by hyperzone on 12/28/2022 in #questions
Best way to implement a cart?
@CFKeef Oh btw one last question 😆 - say I have a Product model with all the relevant info, and I also have a Cart model now that I go with serverside Cart, I probably have to add a third CartProduct model that has a relation to a Product and a quantity property right?
44 replies
TTCTheo's Typesafe Cult
Created by hyperzone on 12/28/2022 in #questions
Best way to implement a cart?
thanks for the help I really appreciate it 🙂
44 replies
TTCTheo's Typesafe Cult
Created by hyperzone on 12/28/2022 in #questions
Best way to implement a cart?
yeah that's a good point
44 replies
TTCTheo's Typesafe Cult
Created by hyperzone on 12/28/2022 in #questions
Best way to implement a cart?
ill watch it now thank you
44 replies
TTCTheo's Typesafe Cult
Created by hyperzone on 12/28/2022 in #questions
Best way to implement a cart?
yeah am familiar with this wizard
44 replies
TTCTheo's Typesafe Cult
Created by hyperzone on 12/28/2022 in #questions
Best way to implement a cart?
In my opinion it's a bad idea to hold items in a global store but dunno how to make the case that sending requests on each page load or 'add to cart' click isn't that bad
44 replies