#Middleware with parameter
12 messages · Page 1 of 1 (latest)
What kind of parameter? What do you mean?
I want to send some values in middleware, like a number or string when I will use it on module
Can you show a pseudocode example?
In my express project I am doing this, and I am migrating the whole code in nestjs
so in userTypeMiddleware im passing some extra values
so that thing I want to do with nest middleware