Currently, trpc-playground won't work if you are using a trpc-v10 server. I created this issue to discuss on how/when we should convert to using trpc-v10.
I think it would be better if we moved to a structure for writing queries like this:
await trpc.users.byId.query({ userId })
Instead of
await query("user.byId", { userId })
What do you think about this? Should we wait until v10 is released?
I am happy to work on this.
Currently, trpc-playground won't work if you are using a trpc-v10 server. I created this issue to discuss on how/when we should convert to using trpc-v10.
I think it would be better if we moved to a structure for writing queries like this:
Instead of
What do you think about this? Should we wait until v10 is released? I am happy to work on this.