Guillaume Chau
                                            Guillaume Chau
                                        
                                    Here is what I've been doing (slightly modified to leave out the vue-meteor-tracker parts): https://gist.github.com/Akryum/1a26bf4cc82b9a5cd63035aea1a374e4 It provides very simple and fully typed methods (including multiple arguments) + runtime checking
I have updated my gist to use `z.tuple` which allows tuples `[1,2] as const` in JS too: https://gist.github.com/Akryum/1a26bf4cc82b9a5cd63035aea1a374e4 It has: - Simple signature: `(name, args, handler) => call` - Allows...
```js const Tasks = createRouter('tasks') .addMethod('insert', z.object({ description: z.string() }), insertTask) .addMethod('update', z.object({ newDescripiton: z.string(), taskId: z.string() }), updateTask) .addMethod('remove', z.object({ taskId: z.string() }), removeTask) .addMethod('toggleDone', z.object({ taskId: z.string() }),...
Updated the gist with subscriptions that I just implemented in my app: https://gist.github.com/Akryum/1a26bf4cc82b9a5cd63035aea1a374e4 Automatic inference :heart_eyes_cat:   
My thoughts on type merging is that is saves a little bit of code but I find usability to be much worse than implicit typing with zod and exporting functions:...
> Having support for Zod, Yup, and Simpl is a must, and also have the choice of just using it as a callback. I don't really see how you can...
Right now I do not see a use case for them in my app. IMO it adds to the API surface without providing much more than native `try { await...
Implemented with the `gridItems` and `itemSecondarySize` props
I'm not sure I have to do anything on vue-apollo side to support this.
Is there anything we need to support this? Are the current observers enough?