Max Forbang
Max Forbang
Explore posts from servers
DTDrizzle Team
Created by Max Forbang on 8/8/2024 in #help
Outputting Drizzle commands to a .sql file?
Is there a way output SQL to a file? Instead of doing a full-blown generate for a seed or migration script, I just want to insert some values one time (but I want to look it over in a .sql file as opposed to directly modifying my database). Is there a way to do a dry run where we write our db.insert() statements and pipe the output to a SQL file?
1 replies
DTDrizzle Team
Created by Max Forbang on 7/4/2024 in #help
Drizzle runner doesn't work but SQL does
No description
1 replies
TTCTheo's Typesafe Cult
Created by Max Forbang on 5/10/2023 in #questions
Anyone use Webstorm with the T3 Stack? Seems incompatible
I'm following the new T3 stack tutorial in Webstorm and I got stuck for a ~couple hours~ trying to resolve why types weren't being inferred in the simple hello.data example that comes with create-t3-app. In VS, when I hover over data you get exactly what you'd expect. However, when you hover over data in Webstorm you get the following type: const data: TProcedure["_def"]["_config"]["transformer"] extends DefaultDataTransformer ? Serialize<TProcedure["_def"]["_output_out"]> : TProcedure["_def"]["_output_out"] | undefined Has anyone been able to use TRPC / Typescript with Webstorm or is this a lost cause. Been following Theo for awhile and I was excited to use the T3 stack and I've been using Webstorm for the last year in my first job so I'd be disappointed if I had to switch back to VSCode but it's not the end of the world.
2 replies
TTCTheo's Typesafe Cult
Created by Max Forbang on 5/8/2023 in #questions
Difference between Turbo and T3? When to use create-t3-turbo vs create-t3-app?
If create-t3-turbo is simply the T3 stack + mobile development, should I always just create-t3-turbo because it leaves open the possibility of making it a mobile app later on? If not, is there a way to easily add the mobile functionality to a codebase that uses the normal T3 Stack?
12 replies