Eliya Cohen
Eliya Cohen
I'm working on something that should help integrate libraries-specific syntax (such as SQL fragments). Maybe I should widen it so each integration will be able to handle its own migration...
Not exactly: ```ts function getById(userId: UserId) { return sql`select name from posts where id = ${userId} } ``` How do you tell Postgres that `UserId` is a reference of `users...
TL;DR - SafeQL (currently) doesn't support nullability checks for SQL views. SafeQL's approach is "everything is nullable until proven otherwise" (for safety reasons). It infers whether a target result (e.g.,...
It seems like I didn't take into consideration enums. I'll push a fix today or in a few days
using `as` defeats the whole purpose of using typescript. Who am I supposed to get the value out of an ``` option: ValueType ``` without using `as`? the current workaround...
Hi! I recently started a new job and also became a parent to a beautiful daughter, so finding free time has been a bit challenging. That said, I’m making steady...
fixed in https://github.com/ts-safeql/safeql/pull/398
Hi @gajus! It might not be the answer you were looking for, but perhaps it will help to shed some light: When I initially released SafeQL, I thought it would...
I understand that the above-mentioned issue here revolves around conditional syntax, but I feel like it's actually more of how SafeQL could be integrated with large codebase as seamless as...
@TkDodo That's correct, but it does make sense to to add `typescript` as an optional peer dependency. We could leverage the type checker for additional enforcements when needed. But maybe...