Patrick
Explore posts from serversTTCTheo's Typesafe Cult
•Created by shikishikichangchang on 4/11/2023 in #questions
Integrating a Python endpoint in the t3 stack
32 replies
TTCTheo's Typesafe Cult
•Created by shikishikichangchang on 4/11/2023 in #questions
Integrating a Python endpoint in the t3 stack
Though based on this, its possible: https://stackoverflow.com/questions/63652016/python-serverless-function-vercel-next-js
32 replies
TTCTheo's Typesafe Cult
•Created by shikishikichangchang on 4/11/2023 in #questions
Integrating a Python endpoint in the t3 stack
So you might need another deployment.
32 replies
TTCTheo's Typesafe Cult
•Created by shikishikichangchang on 4/11/2023 in #questions
Integrating a Python endpoint in the t3 stack
Ah, maybe not. In their example repo it looks like this: https://github.com/vercel/examples/tree/main/python/hello-world
32 replies
TTCTheo's Typesafe Cult
•Created by shikishikichangchang on 4/11/2023 in #questions
Integrating a Python endpoint in the t3 stack
32 replies
TTCTheo's Typesafe Cult
•Created by shikishikichangchang on 4/11/2023 in #questions
Integrating a Python endpoint in the t3 stack
The page is answering your question: Yes its possible, yes you can install packages (see bottom of the page requirements.txt)
32 replies
TTCTheo's Typesafe Cult
•Created by shikishikichangchang on 4/11/2023 in #questions
Integrating a Python endpoint in the t3 stack
Take a look again at the link above: https://vercel.com/docs/concepts/functions/serverless-functions/runtimes/python
32 replies
TTCTheo's Typesafe Cult
•Created by Patrick on 4/7/2023 in #questions
Best practices for typesafe error handling
Thank you I'll have to take another look at that. 👍
19 replies
TTCTheo's Typesafe Cult
•Created by Patrick on 4/7/2023 in #questions
Best practices for typesafe error handling
Interestingly trpc returns an error object and doesn't throw an error you have to catch. It seems the topic is handled really inconsistently in the ts-ecosystem.
19 replies
TTCTheo's Typesafe Cult
•Created by Patrick on 4/7/2023 in #questions
Best practices for typesafe error handling
It's really hard to find good resources on this topic.
19 replies
TTCTheo's Typesafe Cult
•Created by Patrick on 4/7/2023 in #questions
Best practices for typesafe error handling
Thanks for your insights, that's really helpful. But it seems like there is no definitive answer to this (like a best practice) and we'll have to see whats best for us.
19 replies
TTCTheo's Typesafe Cult
•Created by Patrick on 4/7/2023 in #questions
Best practices for typesafe error handling
I've seen nevertrow and have thought about using it for our team. What's your opinion on it after using it?
19 replies
TTCTheo's Typesafe Cult
•Created by Patrick on 4/7/2023 in #questions
Best practices for typesafe error handling
Thanks for your insights. I'm not sure if I'm a fan of custom error classes in a typescript world where more and more libraries do a functional approach. Creating multiple classes with different fields seems tedious in contrast to defining some union types which could be implemented as discriminating unions. That's why I'm asking for best practices. I can't find any good resources on this topic 🙂
19 replies