Eugen Istoc

Results 86 comments of Eugen Istoc

The way you should do it is to make the whole first argument a computed property. Not just the where clause

You can do something like this: ```ts const { data } = useFindFirstPost( computed(() => ({ where: { id: id.value } })) ) ```

I can confirm this issue as well. If you have a large iconset json, it will cause the memory issue. See https://github.com/iconify/iconify/issues/326 `fluent-emoji` for example, is a very big icon...

This might be related, but say I'm building a complex component: ```md -| components/ ---| MediaManager -----| index.vue -----| toolbar ---------| ImageEditor.vue ---------| PdfExport.vue ---------| ... ``` I would really...

> Another complication is, whether "list" should govern `groupBy` call, since `groupBy` is partly "listing" data as well. What do you think? I'm not exactly sure, but I think I...

@ymc9 Do we need to distinguish between between `findFirst` and `findMany` here? https://github.com/zenstackhq/zenstack/blob/b41fd93977416de1e9d2ab39f941440b38ddc302/packages/runtime/src/enhancements/node/policy/handler.ts#L133-L151 or should `injectForRead` be modified here to accept a `findMany` parameter to indicate that the `list` permission...

@ymc9 Here are some ideas from thinking through this: **findMany** - Controlled by list permission since you're viewing multiple resources - Would attribute permissions be required to determine what fields...

@ymc9 Do you mind taking over this PR, I'm not exactly sure how to proceed. I'll keep an eye out for an updates and review/test as needed.

> What happened to this list permission? Is work stopped? Correct me if I'm wrong @ymc9 but I believe this feature is being pushed to `v3` which is in the...