Cannot read property 'ip' of undefined when testing rate limiting on nest.js
So I have the following configured in my nest.js graphql applicaiton, which seems to be working; @Module({ imports: [ ThrottlerModule.forRootAsync({ imports: [ConfigModule], inject: [ConfigService], useFactory: (config: ConfigService) => ({ ttl: config.get(‘THROTTLE_TTL’), limit: config.get(‘THROTTLE_LIMIT’), }), }), ], providers: [ { provide: APP_GUARD, useClass: ThrottlerGuard, }, ], }) export class AppModule {} but when I try to… Read More Cannot read property 'ip' of undefined when testing rate limiting on nest.js