RILEY BARABASH
DTDrizzle Team
•Created by devjmetivier on 12/3/2024 in #help
No schema loaded in Drizzle Studio
After looking at it longer... I think if you want to pass your schema to the
drizzle()
function, you need to do it the old way. But passing the schema in the init file may not be necessary if you have a drizzle config (or how else would TS know about your schemas?)
Either way, the distinction here could be clearer31 replies
DTDrizzle Team
•Created by devjmetivier on 12/3/2024 in #help
No schema loaded in Drizzle Studio
Also want to clear the air on the new Drizzle docs
https://orm.drizzle.team/docs/get-started/planetscale-new#step-3---connect-drizzle-orm-to-the-database
Why does the first block of code exist here?
In the warning I replied to - drizzle kit specifically told us to ONLY pass a client instance... we are now past v0.30 and the new docs still say to do otherwise
31 replies
DTDrizzle Team
•Created by devjmetivier on 12/3/2024 in #help
No schema loaded in Drizzle Studio
31 replies
DTDrizzle Team
•Created by devjmetivier on 12/3/2024 in #help
No schema loaded in Drizzle Studio
Going to drop my setup here as well https://discord.com/channels/1043890932593987624/1043890932593987627/1329107923510628415
31 replies
DTDrizzle Team
•Created by devjmetivier on 12/3/2024 in #help
No schema loaded in Drizzle Studio
I think this is the same issue: https://discord.com/channels/1043890932593987624/1279992251119833170
31 replies
DTDrizzle Team
•Created by devjmetivier on 12/3/2024 in #help
No schema loaded in Drizzle Studio
@devjmetivier @macknolan @nightwatch128 @Kasper @Hascke Anyone find a fix for this?
31 replies
TTCTheo's Typesafe Cult
•Created by RILEY BARABASH on 9/2/2024 in #questions
"Error: Text content does not match server-rendered HTML"
So now that I think about it, the flash-in is likely the data cached with suspense, which is why when I refresh it flashes back to that. But really that cache should be updated on every mutation - but it only updates when I restart the dev server.
Plus, that doesn't explain the error - and in the error dialog it shows the comparison between the cached data and the actual data being the problem.
Will be reverting to
useQuery
for now - if someone could elaborate on useSuspenseQuery
that would be great!2 replies
TTCTheo's Typesafe Cult
•Created by shikishikichangchang on 11/6/2023 in #questions
TRPC fails to work on server components in Vercel environment
Experiencing the same issue.
20 replies