Kasper
Kasper
TTCTheo's Typesafe Cult
Created by mhhmm on 4/22/2023 in #questions
Deploy FastAPI into Vercel
What is this Vercel discussion room you are referring to?
2 replies
TTCTheo's Typesafe Cult
Created by Perfect on 1/4/2023 in #questions
Array with generic vs type[]
Anyway, try changing interface Link to type Link =
9 replies
TTCTheo's Typesafe Cult
Created by Perfect on 1/4/2023 in #questions
Array with generic vs type[]
It's really hard to tell without more context. When asking for help, share your code via codesandbox (or something similar). Screenshoting code is never a good idea.
9 replies
TTCTheo's Typesafe Cult
Created by Perfect on 1/4/2023 in #questions
Array with generic vs type[]
Maybe your Link interface is merging with something that's causing the error?
9 replies
TTCTheo's Typesafe Cult
Created by Emilius on 1/3/2023 in #questions
Stack to build a small game
If you want to do a full stack game, I see no issue with prisma and a typescript backend. But I’d swap out the frontend for at least a typescript compatible game engine for your frontend. React and nextjs seems not so helpful of a choice there.
11 replies
TTCTheo's Typesafe Cult
Created by Emilius on 1/3/2023 in #questions
Stack to build a small game
I’d recommend using a game engine for games. T3 is powerful but really won’t flourish with traditional gamedev. It can be done, but it will give you a warped experience of both webdev and gamedev. If experimenting is your goal however, knock yourself out. I’ve built a number of games with web tech and it’s a fun learning experience. UI obviously works very well. But when you want to do stuff with animations, shaders, physics, then you’ll start feeling the friction and lack of helpful tools in your stack
11 replies
TTCTheo's Typesafe Cult
Created by Gabriel on 12/26/2022 in #questions
Why does typescript change the type of user whenever I add this to my return function?
You're welcome :). GL!
89 replies
TTCTheo's Typesafe Cult
Created by Gabriel on 12/26/2022 in #questions
Why does typescript change the type of user whenever I add this to my return function?
so it shouldn't be expensive
89 replies
TTCTheo's Typesafe Cult
Created by Gabriel on 12/26/2022 in #questions
Why does typescript change the type of user whenever I add this to my return function?
pretty sure the session callback is only called when the session starts
89 replies
TTCTheo's Typesafe Cult
Created by Gabriel on 12/26/2022 in #questions
Why does typescript change the type of user whenever I add this to my return function?
but in all seriousness, you should be fine doing another prisma query then
89 replies
TTCTheo's Typesafe Cult
Created by Gabriel on 12/26/2022 in #questions
Why does typescript change the type of user whenever I add this to my return function?
that's my solution, just use something else KEKYou
89 replies
TTCTheo's Typesafe Cult
Created by Gabriel on 12/26/2022 in #questions
Why does typescript change the type of user whenever I add this to my return function?
I don't use nextauth LuL
89 replies
TTCTheo's Typesafe Cult
Created by Gabriel on 12/26/2022 in #questions
Why does typescript change the type of user whenever I add this to my return function?
I am not a fan of nextauth. If feels like a half baked product.
89 replies