stunaz
Explore posts from serversDTDrizzle Team
•Created by stunaz on 9/18/2023 in #help
Hey I looking for the documentation of the `get()` methods
I ran into this code https://github.com/nextauthjs/next-auth/blob/main/packages/adapter-drizzle/src/lib/sqlite.ts#L105 where they are using
get()
a lot.
I could find the documentation for it?
anyone as any idea what it does or how to use it?5 replies
TTCTheo's Typesafe Cult
•Created by stunaz on 7/31/2023 in #questions
eslint
I am failing to see a repository using the following:
I throw this in project, and got hundreds of error. The most i saw are:
- @typescript-eslint/no-floating-promises ( I mean, using a simple
router.push
generates an error)
- @typescript-eslint/no-unsafe-assignment
I mean they are valid errors, but meh
So far I failed to see an app using those rules1 replies
TTCTheo's Typesafe Cult
•Created by stunaz on 7/25/2023 in #questions
Server Side business rules validation
The context:
I need to confirm a booking:
So the user just pressed a button on the browser to confirm the booking
Then I just need to update the booking status.
But I'd like to perform some validation before.
is this the right way to achieve that?
4 replies
TTCTheo's Typesafe Cult
•Created by stunaz on 4/2/2023 in #questions
Client variables not typesafed
3 replies