Replies: 1 comment 2 replies
-
Hello @HenriJ ,
Exactly for that reason. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi @RobinTail ,
So nice to discover this project and how clean and thought out it is! I was also evaluating tRPC, and I feel express-zod-api is providing the same ease-of-use and type-safety while still keeping compatibility with good old rest which is great 👍 !
It was a bit surprising for me when first testing express-zod-api to see that all sources are merged inside a single input object. I was naively expecting to have for each route a inputParams, inputQuery, inputHeaders and inputBody.
Maybe you could share the reasoning behind this design decision?
Thank you again for this great project!
Beta Was this translation helpful? Give feedback.
All reactions