Yiming Cao

Results 248 comments of Yiming Cao

> 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...

Nice, the demo structure looks pretty cool! Got it. I still have the worry that we'll probably allow the frontend to do "too much" 😄. Besides the risk of leaving...

Btw, for your use case, have you considered using trpc to achieve implementing a backend transaction and call it directly from the frontend?

Hey @Eliav2 , it's great to see the progress! The result looks very neat! I've been thinking about this problem too. I love the flexibility this offers to the frontend,...

> @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...

I think it's gonna be quite big a piece of work 😄. Prisma doesn't have such kind of a semi-interactive transaction, so we'll have to implement the infra. Here's what's...

> @ymc9 this feature would be a **huge** help in simplifying the access controls. Currently we have to use 7 layer deep nested access, and copying it to each child...

> I think it might be slightly different from the mentioned issue. > > In our simplified use case, a user in a team should be able to access all...

> ```js > auth using parent relation > ``` I think it should be the `option2` because the object will be directly as as a filter for model `Test`. We...

> From my understanding so far, given a statement like `@@allow(, )`, `ExpressionWriter` only handles the `` part, and does not bother with ``. > > So, if we have...