Ducky Sensei
TTCTheo's Typesafe Cult
•Created by Ducky Sensei on 11/10/2023 in #questions
Tanstack and app routing
seems to throw this also
6 replies
TTCTheo's Typesafe Cult
•Created by Ducky Sensei on 11/10/2023 in #questions
Tanstack and app routing
It should be useQuery as it comes from the api/trpc/react version.
6 replies
TTCTheo's Typesafe Cult
•Created by Ducky Sensei on 8/30/2023 in #questions
Connecting and managing planetscale branches
I was hoping for a cleaner solution <:hide_the_pain_harold:1103987958555619408>
8 replies
TTCTheo's Typesafe Cult
•Created by Ducky Sensei on 8/30/2023 in #questions
Connecting and managing planetscale branches
You can do it but seems to not give you a direct connection from your local environment via prisma
8 replies
TTCTheo's Typesafe Cult
•Created by Ducky Sensei on 8/30/2023 in #questions
Prisma/Planetscale issue
The problem is that I need something in the form of:
model Org {
...
allowedDomains: ["Domain 1", "Domain 2"]
}
Do I really have to make a new model and then do a relation to this Org model where I allow multiple inputs?
10 replies
TTCTheo's Typesafe Cult
•Created by Ducky Sensei on 8/30/2023 in #questions
Prisma/Planetscale issue
Would a good solution be to Type it as a JSON and then store it as:
{1: "url", 2:"url2"}?
10 replies
TTCTheo's Typesafe Cult
•Created by Ducky Sensei on 8/30/2023 in #questions
Prisma/Planetscale issue
And how would I go about to handle a field that can have multiple inputs?
10 replies