TOSL
Explore posts from serversDTDrizzle Team
•Created by Adam on 4/17/2025 in #help
Drizzle alongside Electron, Vite and Nuxt
That's great. Good luck with your project
27 replies
DTDrizzle Team
•Created by Adam on 4/17/2025 in #help
Drizzle alongside Electron, Vite and Nuxt
Awesome! So working now?
27 replies
DTDrizzle Team
•Created by Adam on 4/17/2025 in #help
Drizzle alongside Electron, Vite and Nuxt
Okay protocl is progress though not a build issue anymore
27 replies
DTDrizzle Team
•Created by Adam on 4/17/2025 in #help
Drizzle alongside Electron, Vite and Nuxt
this repo uses prisma not drizzle but maybe the config can shed light on your issue?
https://github.com/gurvancampion/nuxt-electron-trpc-prisma/blob/master/nuxt.config.ts
27 replies
DTDrizzle Team
•Created by Adam on 4/17/2025 in #help
Drizzle alongside Electron, Vite and Nuxt
Oh, I see you say it's the same.
27 replies
DTDrizzle Team
•Created by Adam on 4/17/2025 in #help
Drizzle alongside Electron, Vite and Nuxt
You show adding this to your nuxt config. Did you try adding it to your vite config instead?
27 replies
DTDrizzle Team
•Created by Bram on 9/19/2024 in #help
Object literal may only specify known properties, and isActive does not exist in type
Type definition is probably not in sync with your schema try restarting typescript language server.
3 replies
DTDrizzle Team
•Created by Newt on 4/15/2025 in #help
Type Error when Generating Typebox
I don't know how you'd fix this without typecasting or simplifying the type somehow
10 replies
DTDrizzle Team
•Created by Newt on 4/15/2025 in #help
Type Error when Generating Typebox
So do you also think it's your jsonb columns?
10 replies
DTDrizzle Team
•Created by Newt on 4/15/2025 in #help
Type Error when Generating Typebox
Okay so it should be a pgTable. Just for the sake of elimination can you try passing the agent table directly.
10 replies
DTDrizzle Team
•Created by Newt on 4/15/2025 in #help
Type Error when Generating Typebox
What is
table.agent
is it returning a pgTable type? Not sure I'm reading this right but it looks like you should be importing agent
and using it
10 replies
DTDrizzle Team
•Created by johncmacy on 4/14/2025 in #help
Query to include parent with child infers types as `never`
You're welcome. Yeah that is very misleading. Thankfully that's a easy fix. I'll make a PR.
6 replies
DTDrizzle Team
•Created by neon on 4/15/2025 in #help
(drizzle-kit) Unexpected character error
Must be some invisible character. Using VS code? What is the encoding of the file? Should be UTF-8. Delete the first line and retype it.
3 replies
DTDrizzle Team
•Created by johncmacy on 4/14/2025 in #help
Query to include parent with child infers types as `never`
aliasedTable for the relational api only
6 replies
DTDrizzle Team
•Created by johncmacy on 4/14/2025 in #help
Query to include parent with child infers types as `never`
@johncmacy
6 replies
DTDrizzle Team
•Created by johncmacy on 4/14/2025 in #help
Query to include parent with child infers types as `never`
Use the following instead
import {alias} from 'drizzle-orm/pg-core'
6 replies
DTDrizzle Team
•Created by vdka on 4/15/2025 in #help
DB Query Logging with Request Context
But it's available to be used so as long of your performance isn't impacted you should just roll with whatever works for you.
4 replies
DTDrizzle Team
•Created by vdka on 4/15/2025 in #help
DB Query Logging with Request Context
I've never used the custom logging so I don't know the limitations there
4 replies
DTDrizzle Team
•Created by vdka on 4/15/2025 in #help
DB Query Logging with Request Context
It sounds logical to me. The biggest thing would have been not using the same postgres connection but already accounted for it.
4 replies
DTDrizzle Team
•Created by Dr Use on 4/3/2025 in #help
Complex filter on query.
relational api is limited in many ways
5 replies