Closed anwaar931 closed 4 years ago
I'll take a look.
I only tested with the default express implementation. I'll take a look at Fastify and try and identify the issue and at minimum make a note in the README
Until this repository supports fastify, anybody who wants to use this package on fastify can install from https://github.com/feednext/nestjs-rate-limiter with npm i --save nestjs-fastify-rate-limiter
. Nothing changed for usage wise, @RyanTheAllmighty take a look at what I have changed and implement it to this package when you have time. I think you should take parameter on initialization like 'express' or 'fastify' and do the job conditionally in interceptor.
Also, custom error message support added
Moved to #17
It throws this error.