MoltenFuzzy
Explore posts from serversTTCTheo's Typesafe Cult
•Created by MoltenFuzzy on 5/31/2023 in #questions
N Nested Relations
updated version includes user
9 replies
TTCTheo's Typesafe Cult
•Created by MoltenFuzzy on 5/31/2023 in #questions
N Nested Relations
9 replies
TTCTheo's Typesafe Cult
•Created by MoltenFuzzy on 5/31/2023 in #questions
N Nested Relations
sure
9 replies
TTCTheo's Typesafe Cult
•Created by MoltenFuzzy on 5/31/2023 in #questions
N Nested Relations
the result is this
9 replies
TTCTheo's Typesafe Cult
•Created by MoltenFuzzy on 5/31/2023 in #questions
N Nested Relations
Im not too sure how to have the sql query structure in that way so i just used a recursive CTE on my Comment table and wrote a recursive function to process the the result into the the structure of my interface.
9 replies
TTCTheo's Typesafe Cult
•Created by MoltenFuzzy on 5/31/2023 in #questions
N Nested Relations
Problem resolved, will post my solution later
9 replies
TTCTheo's Typesafe Cult
•Created by MoltenFuzzy on 3/6/2023 in #questions
| undefined on tRPC procedures
^ yup
40 replies
TTCTheo's Typesafe Cult
•Created by MoltenFuzzy on 3/6/2023 in #questions
| undefined on tRPC procedures
bet tysm
40 replies
TTCTheo's Typesafe Cult
•Created by MoltenFuzzy on 3/6/2023 in #questions
| undefined on tRPC procedures
thank you
40 replies
TTCTheo's Typesafe Cult
•Created by MoltenFuzzy on 3/6/2023 in #questions
| undefined on tRPC procedures
interesting
40 replies
TTCTheo's Typesafe Cult
•Created by MoltenFuzzy on 3/6/2023 in #questions
| undefined on tRPC procedures
ah
40 replies
TTCTheo's Typesafe Cult
•Created by MoltenFuzzy on 3/6/2023 in #questions
| undefined on tRPC procedures
40 replies
TTCTheo's Typesafe Cult
•Created by MoltenFuzzy on 3/6/2023 in #questions
| undefined on tRPC procedures
hmm it still is giving me an error since the types dont match up with the props types, which i can union an undefined to fix that
40 replies
TTCTheo's Typesafe Cult
•Created by MoltenFuzzy on 3/6/2023 in #questions
| undefined on tRPC procedures
this isnt really a big problem but adding checks to all my props isnt very pretty
40 replies
TTCTheo's Typesafe Cult
•Created by MoltenFuzzy on 3/6/2023 in #questions
| undefined on tRPC procedures
40 replies
TTCTheo's Typesafe Cult
•Created by MoltenFuzzy on 3/6/2023 in #questions
| undefined on tRPC procedures
i added a check for errors, but the type | undefined is still there
40 replies
TTCTheo's Typesafe Cult
•Created by MoltenFuzzy on 3/6/2023 in #questions
| undefined on tRPC procedures
40 replies
TTCTheo's Typesafe Cult
•Created by MoltenFuzzy on 3/6/2023 in #questions
| undefined on tRPC procedures
as far as i know
40 replies