Eliav2
Eliav2
I actually don't get why this is necessary. Making `status` of type PostStatus instead of String would already validate the type natively in prisma. No need for in operator in...
hey @ymc9 I want to play around with this idea and check out how feasible it is. I've cloned zenstack monorepo and i have a demo of zenstack app (backend+frontend...
I've already taken the approach of a "nested" pnpm workspace with a demo project containing git sub module for my zenstack fork, and including zenstack workspaces in the upper demo...
regarding TRPC, i stopped using it and i don't want require the usage of a specific framework to enable certain feature, and also, using trpc won't enable the 'magic' client...
marking progress here, typesafe client transactions actually works!! ``` function HomeComponent() { const transaction = sendTransaction('ws://localhost:3000/model/transaction'); return ( { transaction(async (tx) => { const res = await tx.product.findFirst(); console.log('res', res);...
another awesome update: **WORKS AS EXPECTED** for expressjs after improving it more, and few hours of playing with it, it works as expected. you get magic client side typesafe API,...
@ymc9 did you had any repeating `error TS5055: Cannot write file 'dist/index.d.ts' because it would overwrite input file.` errors in zenstack workspace while running `pnpm run build`? how did you...
@ymc9 it's actually a very good idea, and completely removes the need for WS. i'm still not sure how to implement it though(maybe proxies based solution?). i would try explore...
> Do you have an immediate need for frontend transaction in a project? All the time, but currently Im just creating new REST handlers on my backend and calling it...
Yes i know that deleting the pool from amplify studio and recreating it from cli would work. But i can't delete this pool. Does there is any way to 'pull'...