exclude
method bug of Fastify adapter's middleware consumer
#7848
Labels
needs triage
This issue has not been looked into
Bug Report
Current behavior
Middleware consumer
exclude
method works different:when
.forRoutes(MyController)
is set afterexclude
it doesn't work and middleware does applywhen
.forRoutes({ path: '*', method: RequestMethod.ALL });
is set afterexclude
it works and middleware doesn't applyInput Code
https://github.com/iamolegga/fastify-routing-test/blob/master/src/app.module.ts#L17-L32
Expected behavior
exclude
method should work the same way in both casesPossible Solution
Environment
The text was updated successfully, but these errors were encountered: