Patrick
Patrick
Explore posts from servers
RRailway
Created by Patrick on 8/7/2023 in #✋|help
Can't provision anything - Cert is expired
Closing this as it was now added as an incident.
5 replies
RRailway
Created by Patrick on 8/7/2023 in #✋|help
Can't provision anything - Cert is expired
5 replies
RRailway
Created by Patrick on 8/7/2023 in #✋|help
Can't provision anything - Cert is expired
N/A
5 replies
TTCTheo's Typesafe Cult
Created by shikishikichangchang on 4/11/2023 in #questions
Integrating a Python endpoint in the t3 stack
In short, if you're using another language to write a serverless function inside a Next.js project. Be sure to place it inside an api folder that sits in the root directory of the project (if there's none, create one).
In short, if you're using another language to write a serverless function inside a Next.js project. Be sure to place it inside an api folder that sits in the root directory of the project (if there's none, create one).
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
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
Yes, thats possible
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
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