Gabriel
Explore posts from serversDTDrizzle 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
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:
Became:
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
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
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 packages57 replies