TRPC-Image
Hello,
Someone know if there are some news about a way to pass an image in a TRPC mutation? I don't want to upload the image before and later send the url to the mutation, someone know how can i handle this stuff?
4 Replies
tRPC supports blob and file types
https://github.com/trpc/trpc/tree/next/examples/minimal-content-types
GitHub
trpc/examples/minimal-content-types at next ยท trpc/trpc
๐งโโ๏ธ Move Fast and Break Nothing. End-to-end typesafe APIs made easy. - trpc/trpc
Not fully documented yet but the example project is simple to read
Thanks a lot, i have read it the project and i havent understood nothing ahahahah ๐ do you have any other example with that?
you're not going to get any simpler than 2 procedures and 2 files mate