trpc icon indicating copy to clipboard operation
trpc copied to clipboard

docs: Howto add typed input (without validation)

Open mubaidr opened this issue 1 year ago โ€ข 0 comments

Area of Improvement

Currently documentation gives idea on how to use different validation libraries. But what if I just want to specify input type. to get typed inference on on trpc client.

  • Is it possible?
  • Will it have any drawback?

Link to related docs

No response

Additional information

For now, I am trying to make my server type-safe only, validation is being handled in database side.

I am using trpc 10+

๐Ÿ‘จโ€๐Ÿ‘งโ€๐Ÿ‘ฆ Contributing

  • [x] ๐Ÿ™‹โ€โ™‚๏ธ Yes, I'd be down to file a PR implementing the suggested changes!

mubaidr avatar Dec 04 '22 13:12 mubaidr