yehia
Explore posts from serversDTDrizzle Team
•Created by yehia on 7/12/2024 in #help
Not null must have default value as well?
Noob question. Does a "not null" value have to have a default value? For some reason it seems like the case. This insert snippet is not working. and giving me a
Object literal may only specify known properties, and email does not exist in type
and Object literal may only specify known properties, and first_name does not exist in type
When I comment out phone and email from my schema/make them both nullable/add a default value it doesn't give me this error.
schema.ts
13 replies
TTCTheo's Typesafe Cult
•Created by yehia on 7/16/2023 in #questions
Sending emails
Hey, wondering whats the best option to send emails to users. Right now sending emails for verifying the users email. Currently testing out gmail smtp, but I'm hearing about resend and sendgrid, etc. Why would I go with these services and not gmail smtp considering how easy it is to setup with something like nodemailer?
6 replies
CDCloudflare Developers
•Created by yehia on 7/5/2023 in #workers-help
Sveltekit - mongoose - serverless mongodb
Noob question. I'm using the mongodb serverless database. Does this mean I can use cloudflare workers in my sveltekit app? Or is it not possible since node isn't available.
2 replies