iway1 / trpc-panel

MIT License
627 stars 43 forks source link

feat: add support for nested inputs #64

Open lcjnil opened 1 year ago

lcjnil commented 1 year ago

@iway1 Hello, I recently discovered that the trpc-panel was not correctly handling nested input, such as the  createNestedPost function which was added in this pull request.

dca123 commented 1 year ago

This will also fix #78 . However, before the reduce we should verify that each instance is a zod object. Else we can return { parseInputResult: "failure" };