Filters no Executing
I've checked all enhancers, everything works well except for Filters when it comes to @UseFilters(FilterClassName)
. The filter does catch and works fine when using @UseFilters(new FilterClassName())
, but this is a problem when DI needs to happen for the filter.
Reproduction Steps
- git clone
- install dependencies
- start the server
curl http://localhost:3300
- Notice no logs saying "In the filter"
Expected Outcome
I expect the DI to work on filters like it does for pipes, guards, and interceptors.