Kirimase's tRPC usage CRUD route
Hey, using Nico's Kirimase tRPC package. I am trying to call the queries and mutations, in the db/schema/posts it has the 'to use' CRUD functions, but how do I use these in my postsRouter as for example: /api/trpc/posts.create and /api/trpc/posts.id/1?
I have been seeing some createCaller online, and haven't been able to use this with my values from my form.
Thank you in advance!
![No description](https://answer-overflow-discord-attachments.s3.amazonaws.com/1197352040876216360/Screenshot_2024-01-17_at_5.22.58_PM.png)
![No description](https://answer-overflow-discord-attachments.s3.amazonaws.com/1197352041148862515/Screenshot_2024-01-17_at_5.18.47_PM.png)
![No description](https://answer-overflow-discord-attachments.s3.amazonaws.com/1197352041626996736/Screenshot_2024-01-17_at_8.29.21_PM.png)
0 Replies