trpc-openapi
trpc-openapi copied to clipboard
fix: add matched path params into req.params
A quick fix for ensuring req.params
is set with path params, so that createContext
can access it.
It's express-specific and shouldn't be in core.ts, so I'm not very satisfied by this solution. Other options may imply a lot of changes though. What do you think?