trpc-openapi icon indicating copy to clipboard operation
trpc-openapi copied to clipboard

fix: add matched path params into req.params

Open benjaminbillet opened this issue 1 year ago • 0 comments

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?

benjaminbillet avatar Oct 13 '23 06:10 benjaminbillet