Error calling middleware
I'm getting an error trying to test out some pretty basic middleware. This is my code
Getting
I'm following the documentation [https://trpc.io/docs/server/middlewares] and I'm using @trpc/server@next
Getting
TypeError: Cannot read properties of undefined (reading 'use')I'm following the documentation [https://trpc.io/docs/server/middlewares] and I'm using @trpc/server@next