Gabriel
Gabriel
Explore posts from servers
DTDrizzle Team
Created by Jakesdoc on 10/8/2024 in #help
Transaction Type
recent update changed the types and now I cant fit a Drizzle Transaction type into a normal Drizzle type. I'm not sure how aware the team is about it
16 replies
TtRPC
Created by DINO on 9/1/2024 in #❓-help
How do I create a React/Node full-stack project with tRPC?
You can use Hono (my recommendation) or express or something
9 replies
TtRPC
Created by DINO on 9/1/2024 in #❓-help
How do I create a React/Node full-stack project with tRPC?
You need to run a separate instance where it will run your server
9 replies
TtRPC
Created by DINO on 9/1/2024 in #❓-help
How do I create a React/Node full-stack project with tRPC?
Vite is a client side framework.
9 replies
DTDrizzle Team
Created by Md Jahidul Islam milon on 6/18/2023 in #help
Drizzle in vscode Ts Server is very slow
@Raphaël M (@rphlmr) ⚡ @Andrew Sherman I believe many more people have this same problem. I believe there should be some place in the documentation explaining how to use the schema across multiple files? I’d be down to file a PR for it
17 replies
DTDrizzle Team
Created by Md Jahidul Islam milon on 6/18/2023 in #help
Drizzle in vscode Ts Server is very slow
Yes that’s exactly how I do it. I’m so glad to find out I’m not the only one that went over this issue. Try to remove destructuring and use this new approach. Please let us know how it goes
17 replies
DTDrizzle Team
Created by Md Jahidul Islam milon on 6/18/2023 in #help
Drizzle in vscode Ts Server is very slow
Hi @code9 you likely are separating the tables across multiple schema files. How are you constructing the final schema object? I was using object destructuring before to join all of the schema files and it was resulting in awful ts performance Eg:
export const schema = {
…user
…team
…apps
}
export const schema = {
…user
…team
…apps
}
Became:
export * from “./user”
export * from “./apps”
export * from “./team”
export * from “./user”
export * from “./apps”
export * from “./team”
This improved the performance a lot for me
17 replies
DTDrizzle Team
Created by Md Jahidul Islam milon on 6/18/2023 in #help
Drizzle in vscode Ts Server is very slow
I love you Andrew Sherman
17 replies
TTCTheo's Typesafe Cult
Created by Tioluwani Olubunmi on 8/3/2024 in #questions
504 Gateway Timeout Error on Vercel
Vercel has a limit of 10 seconds for each serverless function execution. You are probably exceeding these limits. Mongo shouldn’t be taking this long to execute, for simple functions
3 replies
TtRPC
Created by Gabriel on 7/10/2024 in #❓-help
How to improve typescript performance?
No more issues! I am not sure how much this will impact performance. We'll see
57 replies
TtRPC
Created by Gabriel on 7/10/2024 in #❓-help
How to improve typescript performance?
No description
57 replies
TtRPC
Created by Gabriel on 7/10/2024 in #❓-help
How to improve typescript performance?
I have some nested routers. The most nested is rootRouter > teamRouter > invitationRouter (3 levels of nesting) or rootRouter > appRouter > todoRouter (Also 3 levels). Doesn't go further from this.
57 replies
TtRPC
Created by tltl on 7/19/2024 in #❓-help
is there a definitive solution to the slow language server/compilation issue?
Hi @tltl a lot of people experiencing these types of issues. Some useful comments from Alex here: https://discord.com/channels/867764511159091230/1020132255567454310/threads/1260588869967937556
8 replies
TtRPC
Created by Gabriel on 7/10/2024 in #❓-help
How to improve typescript performance?
I’m on 5.5.3
57 replies
TtRPC
Created by Gabriel on 7/10/2024 in #❓-help
How to improve typescript performance?
Yep
57 replies
TtRPC
Created by Gabriel on 7/10/2024 in #❓-help
How to improve typescript performance?
Hey Katt, thanks a lot. I’ll do some investigation and try it. If it works and it improves this error/performance, maybe I’ll try to create some sort of guide for it
57 replies
TtRPC
Created by Gabriel on 7/10/2024 in #❓-help
How to improve typescript performance?
So, to recap your proposal: - packages/trpc-base - has initTRPC, createTRPCContext, exports procedures and maybe middlewares - packages/trpc-posts - trpcRouter. depends on packages/trpc-base - packages/trpc-users - trpcRouter. depends on packages/trpc-base - packages/trpc-api - Main app router, where it will construct the main appRouter. export what is needed for server and client api objects. (server caller, etc.). Depends on all other packages
57 replies
TtRPC
Created by Gabriel on 7/10/2024 in #❓-help
How to improve typescript performance?
Haven't seen it before! This looks interesting
57 replies
TtRPC
Created by Gabriel on 7/10/2024 in #❓-help
How to improve typescript performance?
oh, ok.
57 replies
TtRPC
Created by Gabriel on 7/10/2024 in #❓-help
How to improve typescript performance?
Not sure I get it
57 replies