bennettcohen
bennettcohen
DTDrizzle Team
Created by bennettcohen on 7/17/2024 in #help
Connecting with SSL
Anyone able to help? 🙏
2 replies
DTDrizzle Team
Created by bennettcohen on 7/11/2024 in #help
Type safety on .set() method?
Btw, would you know if there a nice way to do optional singles here? Often I'm retrieving one row and can be annoying to have to do data?.[0] @Raphaël M (@rphlmr) ⚡
12 replies
DTDrizzle Team
Created by bennettcohen on 7/11/2024 in #help
Type safety on .set() method?
Thank u!
12 replies
DTDrizzle Team
Created by bennettcohen on 7/11/2024 in #help
Type safety on .set() method?
Ah was able to get it working...i think. The culprit was how i was initializing the db client. There is some weird hacky stuff around the SSL certificate when connecting to my prod db
12 replies
DTDrizzle Team
Created by bennettcohen on 7/11/2024 in #help
Type safety on .set() method?
Thanks @Raphaël M (@rphlmr) ⚡
12 replies
DTDrizzle Team
Created by bennettcohen on 7/11/2024 in #help
Type safety on .set() method?
Pretty new to the TS world
12 replies
DTDrizzle Team
Created by bennettcohen on 7/11/2024 in #help
Type safety on .set() method?
{
"compilerOptions": {
"target": "ESNext",
"module": "CommonJS",
"lib": ["es6"],
"allowJs": true,
"outDir": "build",
"rootDir": "src",
"strict": true,
"noImplicitAny": true,
"esModuleInterop": true,
"moduleResolution": "node",
"resolveJsonModule": true,
"skipLibCheck": true,
"baseUrl": "./src",
"paths": {
"@routes/*": ["routes/*"],
"@v1/*": ["routes/v1/*"],
"@utils/*": ["lib/utils/*"],
"@middleware/*": ["lib/middleware/*"],
"@schemas/*": ["schemas/*"],
"@db": ["db"],
"@db/*": ["db/*"],
"@services/*": ["lib/services/*"],
"@jobs/*": ["jobs/*"],
}
},
"include": [
"src",
"src/**/*",
"src/*",
"src/*/*/",
"src/**/*",
"global.d.ts"
]
}
{
"compilerOptions": {
"target": "ESNext",
"module": "CommonJS",
"lib": ["es6"],
"allowJs": true,
"outDir": "build",
"rootDir": "src",
"strict": true,
"noImplicitAny": true,
"esModuleInterop": true,
"moduleResolution": "node",
"resolveJsonModule": true,
"skipLibCheck": true,
"baseUrl": "./src",
"paths": {
"@routes/*": ["routes/*"],
"@v1/*": ["routes/v1/*"],
"@utils/*": ["lib/utils/*"],
"@middleware/*": ["lib/middleware/*"],
"@schemas/*": ["schemas/*"],
"@db": ["db"],
"@db/*": ["db/*"],
"@services/*": ["lib/services/*"],
"@jobs/*": ["jobs/*"],
}
},
"include": [
"src",
"src/**/*",
"src/*",
"src/*/*/",
"src/**/*",
"global.d.ts"
]
}
Anything you see?
12 replies
DTDrizzle Team
Created by bennettcohen on 7/11/2024 in #help
Type safety on .set() method?
oh hmm
12 replies