Merged routes not working with latest trpc and msw-trpc
madi-tracksuit opened this issue · 2 comments
madi-tracksuit commented
Describe the bug
When using msw-trpc with the latest version of trpc and merged / sub routers, every route exposes an (errornous) mutation
method instead of the subrouter
To Reproduce
Steps to reproduce the behavior:
- Create a trpc router with nested/merged routers
- Setup msw-trpc
- Try to access sub routers
- See error
maloguertin commented
I just created a branch to test it with the latest trpc: https://github.com/maloguertin/msw-trpc/tree/nested-merged-router
It seems to be working?
madi-tracksuit commented
Found it, I was on the next
(v11) versions of trpc, downgrading back to v10 sorted it. Sorry for the false alarm!