issue_owner_repo
listlengths
2
2
issue_body
stringlengths
0
262k
⌀
issue_title
stringlengths
1
1.02k
issue_comments_url
stringlengths
53
116
issue_comments_count
int64
0
2.49k
issue_created_at
stringdate
1999-03-17 02:06:42
2025-06-23 11:41:49
issue_updated_at
stringdate
2000-02-10 06:43:57
2025-06-23 11:43:00
issue_html_url
stringlengths
34
97
issue_github_id
int64
132
3.17B
issue_number
int64
1
215k
[ "nestjs", "nest" ]
## Feature Request ## Is your feature request related to a problem? Please describe. No. ## Describe the solution you'd like Have Nest.js loggers use an ISO8601 conform timestamp by default. ## Teachability, Documentation, Adoption, Migration Strategy Not really required. Folks that parse log output might b...
Logging: method to turn on ISO8601 format
https://api.github.com/repos/nestjs/nest/issues/4262/comments
6
2020-03-10T16:00:01Z
2025-05-23T22:46:27Z
https://github.com/nestjs/nest/issues/4262
578,688,638
4,262
[ "nestjs", "nest" ]
## Feature Request related to: https://github.com/nestjs/nest/issues/4112 ## Is your feature request related to a problem? Please describe. We are running NestJS container that run a HTTP/GraphQL api, but also process GRPC, Queuing requests, in the same nestjs instance I would like to run grpc alongside the gra...
Configuration for microservice in hybrid application
https://api.github.com/repos/nestjs/nest/issues/4261/comments
11
2020-03-10T15:38:59Z
2020-05-24T12:44:19Z
https://github.com/nestjs/nest/issues/4261
578,673,152
4,261
[ "nestjs", "nest" ]
I want log "uncaughtException", "unhandledRejection" and I finded that it make https://github.com/nestjs/nest/blob/master/packages/core/errors/exception-handler.ts. How I can change ExceptionHandler on my custom handler?
How do I can change ExceptionHandler on my custom handler?
https://api.github.com/repos/nestjs/nest/issues/4260/comments
1
2020-03-10T14:24:47Z
2020-03-10T14:50:23Z
https://github.com/nestjs/nest/issues/4260
578,618,184
4,260
[ "nestjs", "nest" ]
## Bug Report Issue #692 appears to have regressed. ## Current behavior <!-- Describe how the issue manifests. --> Create middleware as follows: ```typescript export class AppModule implements NestModule { configure(consumer: MiddlewareConsumer): any { consumer.apply(TransactionContextMid...
Apply middleware for routes(string) has regressed #692
https://api.github.com/repos/nestjs/nest/issues/4259/comments
6
2020-03-10T13:19:39Z
2020-03-11T12:10:31Z
https://github.com/nestjs/nest/issues/4259
578,573,181
4,259
[ "nestjs", "nest" ]
## Feature Request ## Is your feature request related to a problem? Please describe. <!-- A clear and concise description of what the problem is. Ex. I have an issue when [...] --> ## Describe the solution you'd like <!-- A clear and concise description of what you want to happen. Add any considered drawbacks. ...
not reload when edit .graphql schema file in --watch mode
https://api.github.com/repos/nestjs/nest/issues/4254/comments
1
2020-03-10T03:58:06Z
2020-03-10T07:34:54Z
https://github.com/nestjs/nest/issues/4254
578,321,588
4,254
[ "nestjs", "nest" ]
Hello everyone. Question is pretty simple but can't reach solution. Let's say i have list of endpoints that accept id as a param. example: `@Post(':id/someroute')` I would like each endpoint with param `:id` automatically check if entity exists and if yes return it to controller What i have tried. Pipe ``` @I...
Transform id from request params to object
https://api.github.com/repos/nestjs/nest/issues/4248/comments
1
2020-03-09T13:23:14Z
2020-03-09T13:40:17Z
https://github.com/nestjs/nest/issues/4248
577,906,100
4,248
[ "nestjs", "nest" ]
## Bug Report ## Current behavior I've followed the docs at https://docs.nestjs.com/techniques/authentication. and got this error: "Error: Unknown authentication strategy "local", despite that I think that I've done everything right. ## Input Code <!-- REPL or Repo link if applicable: --> ```ts const your =...
Unknown authentication strategy "local"
https://api.github.com/repos/nestjs/nest/issues/4247/comments
3
2020-03-09T11:16:35Z
2021-07-13T01:17:05Z
https://github.com/nestjs/nest/issues/4247
577,831,526
4,247
[ "nestjs", "nest" ]
## Feature Request Swagger solves an important problem - the interaction between front-end and back-end. But it is limited by standard OpenAPI. The data that the swagger generates is not enough for front-end. I would like to send validation schemas from API in the development process to synchronize validation sch...
Get all dto's metatypes
https://api.github.com/repos/nestjs/nest/issues/4246/comments
1
2020-03-09T10:16:22Z
2020-03-09T13:40:49Z
https://github.com/nestjs/nest/issues/4246
577,795,870
4,246
[ "nestjs", "nest" ]
## Feature Request ## Is your feature request related to a problem? Please describe. In e2e test we may often find lines like `http = app.getHttpServer();` or `request(app.getHttpServer())`, where `getHttpServer()` return any, but we exacly now, it's a http server. `@nestjs/core/interfaces/nest-application.inte...
Make type of INestApplication.getHttpServer() be equal to its @returns in jsdoc
https://api.github.com/repos/nestjs/nest/issues/4245/comments
2
2020-03-08T19:28:01Z
2020-03-10T14:26:23Z
https://github.com/nestjs/nest/issues/4245
577,551,864
4,245
[ "nestjs", "nest" ]
How can we upload multiple files with different options (mime type) and storage path? I checked the documentation for the details and found `FileFieldsInterceptor` but this interceptor only allows a single set of options and does not allow us to control option based on the field. Please can anyone help me with th...
Upload multiple files with different options
https://api.github.com/repos/nestjs/nest/issues/4243/comments
1
2020-03-07T16:20:40Z
2020-03-08T10:19:38Z
https://github.com/nestjs/nest/issues/4243
577,356,896
4,243
[ "nestjs", "nest" ]
## Bug Report ## Current behavior when an exception is generated in the consumption of an event, retries are not performed in the way that kafkajs does. ## Input Code ### Message Controller ./src/user.api.controller.ts ```ts count = 0; @MessagePattern ('user.error')   userError (@Ctx () context: KafkaContex...
Failed retries do not work in kafka.
https://api.github.com/repos/nestjs/nest/issues/4241/comments
6
2020-03-06T20:12:55Z
2023-03-18T18:34:05Z
https://github.com/nestjs/nest/issues/4241
577,151,564
4,241
[ "nestjs", "nest" ]
## Bug Report When I have an interceptor that I want to use globally and when I set that interceptor to use the provider syntax described in the docs, and explicitly defined below: ```ts import { Module } from '@nestjs/common'; import { APP_INTERCEPTOR } from '@nestjs/core'; @Module({ providers: [ { ...
Global Interceptor DI Not Working
https://api.github.com/repos/nestjs/nest/issues/4240/comments
1
2020-03-06T19:38:29Z
2020-03-06T21:06:36Z
https://github.com/nestjs/nest/issues/4240
577,135,985
4,240
[ "nestjs", "nest" ]
## Feature Request ## Is your feature request related to a problem? Please describe. There is currently no way to change the default maximum metadata size for gRPC and it will always be set at the default (4KB). ## Describe the solution you'd like Add a `maxMetadataSize` on `GrpcOptions` to override the default...
It's not possible to set the gRPC max metadata size
https://api.github.com/repos/nestjs/nest/issues/4237/comments
3
2020-03-06T11:57:57Z
2020-06-24T19:06:41Z
https://github.com/nestjs/nest/issues/4237
576,885,956
4,237
[ "nestjs", "nest" ]
## Bug Report The docs tell me that I can make my service a singleton, but this scope does not exist. https://docs.nestjs.com/fundamentals/injection-scopes ## Current behavior Scope singleton missing ## Expected behavior Should be there ## Environment Nest version: 6.8.3
Scope Singleton missing (v6.8.3)
https://api.github.com/repos/nestjs/nest/issues/4236/comments
4
2020-03-06T10:45:12Z
2020-08-24T10:25:19Z
https://github.com/nestjs/nest/issues/4236
576,848,236
4,236
[ "nestjs", "nest" ]
## Bug Report ## Current behavior <!-- Describe how the issue manifests. --> typeOrm is working fine if don't using nest, but when post with body,and the body has one of parameter equal with colunm-value i want to save ,it can't save correctly. it will be ommited by unknow reson here is my post data ![image]...
[fatal bug!!]typeOrm cant‘ save @Column('simple-json') correctly when body has parameter equal with the colunm-value i want to save
https://api.github.com/repos/nestjs/nest/issues/4235/comments
3
2020-03-06T10:39:18Z
2020-03-07T06:30:35Z
https://github.com/nestjs/nest/issues/4235
576,844,646
4,235
[ "nestjs", "nest" ]
## Bug Report ## Current behavior Hi, I have an error when I start using JWT functionnality. when I add "private readonly jwtService: JwtService" to the constractor in auth.service.ts I have an ExceptionHandler: Nest can't resolve dependencies of the AuthService (?, UserService). Please make sure that the argumen...
JWT functionality doesn't work !
https://api.github.com/repos/nestjs/nest/issues/4234/comments
3
2020-03-06T09:03:53Z
2020-03-06T12:43:03Z
https://github.com/nestjs/nest/issues/4234
576,790,734
4,234
[ "nestjs", "nest" ]
## Bug Report ## Current behavior Hi, I ran into an issue when I was updating nestjs from 6.7.2 to 6.11.11: my validation pipe for websocket event wouldn't work as expected anymore. I found that all parameters of an event handler are put to the validation pipe and only if all of them succeeded the validation, the h...
Cannot use `UsePipes` with `ConnectedSocket`
https://api.github.com/repos/nestjs/nest/issues/4233/comments
1
2020-03-06T06:42:18Z
2020-03-10T09:30:19Z
https://github.com/nestjs/nest/issues/4233
576,730,941
4,233
[ "nestjs", "nest" ]
## Feature Request ## Is your feature request related to a problem? Please describe. I'm using the request method decorators from the nestjs/common package (Post, Get, Delete, etc.) and have a controller decorated with an authorization guard. I'd like to perform different authorization logic according to the reques...
Expose metadata keys in nestjs/common
https://api.github.com/repos/nestjs/nest/issues/4232/comments
2
2020-03-05T20:03:08Z
2020-05-23T04:18:08Z
https://github.com/nestjs/nest/issues/4232
576,498,664
4,232
[ "nestjs", "nest" ]
Hello, following the documentation: https://docs.nestjs.com/fundamentals/module-ref#getting-current-sub-tree I can get value of request by: ```typescript @Controller({scope: Scope.REQUEST}) export class RequestController { constructor( @Inject (REQUEST) request: any }{} ``` but, if i try to get Cont...
how to get context Id in microservices(e.g. nats) ?
https://api.github.com/repos/nestjs/nest/issues/4231/comments
4
2020-03-05T19:50:51Z
2020-03-10T09:21:10Z
https://github.com/nestjs/nest/issues/4231
576,492,001
4,231
[ "nestjs", "nest" ]
## Feature Request 1. Automatically throw unhandled exceptions in handlers of WebSocketGateway; 2. Add a strategy to attach global exception handlers for websockets; ## Is your feature request related to a problem? Please describe. <!-- A clear and concise description of what the problem is. Ex. I have an issue w...
Global exception handling for SubscribeMessage of WebSocketGateway
https://api.github.com/repos/nestjs/nest/issues/4229/comments
1
2020-03-05T15:12:26Z
2020-03-06T08:05:41Z
https://github.com/nestjs/nest/issues/4229
576,324,546
4,229
[ "nestjs", "nest" ]
## Bug Report So I have a monorepo project, 2x parts of my project (frontend and backend) which have a root package to use both together. These use yarn workspaces to do so and pull the majority of my node_modules to the root layer including my @types files for both frontend and backend. My backend is nestjs/jest and ...
Yarn Workspaces - Root Module Types Conflicts (Jest/Jasmine)
https://api.github.com/repos/nestjs/nest/issues/4223/comments
6
2020-03-04T11:02:46Z
2020-03-06T18:18:41Z
https://github.com/nestjs/nest/issues/4223
575,313,334
4,223
[ "nestjs", "nest" ]
There is a any way to start project in debug mode link in normal nestjs project **package.json** "start:debug": "nest start --debug --watch", Sorry that i ask here but i can't find any anwser on github or stacoverflow or google
[@nestjs/ng-universal] How to debug nestjs part in the project
https://api.github.com/repos/nestjs/nest/issues/4221/comments
1
2020-03-04T08:04:40Z
2020-03-05T07:28:18Z
https://github.com/nestjs/nest/issues/4221
575,208,899
4,221
[ "nestjs", "nest" ]
## Bug Report ## Current behavior There is a possibility to specify alternative name for a property. @ApiProperty({ name: 'message_type' }) public messageType: string; It gets reflected in the swagger documentation but at Post the mapping is ignored and incoming object has a property message_type and is of ty...
ApiProperty name is ignored during post request
https://api.github.com/repos/nestjs/nest/issues/4217/comments
1
2020-03-03T17:07:57Z
2020-03-03T18:01:04Z
https://github.com/nestjs/nest/issues/4217
574,813,668
4,217
[ "nestjs", "nest" ]
## Feature Request ## Is your feature request related to a problem? Please describe. In my app I have a lot of services that can either be called by a controller or for example via a cronjob. For controllers I find the pipe and exception filter feature really helpful. I wonder if it would be possible to use thes...
ExceptionFilters and Pipes for Services
https://api.github.com/repos/nestjs/nest/issues/4215/comments
1
2020-03-03T14:13:46Z
2020-03-03T14:42:47Z
https://github.com/nestjs/nest/issues/4215
574,697,306
4,215
[ "nestjs", "nest" ]
## Bug Report With yesterday's nestJS release (6.11.9) it seems that deprecation warnings because of unwanted ways to import the `uuid` package are thrown. ## Current behavior <!-- Describe how the issue manifests. --> When running my application or tests for my application, it seems that nestJS logs a depre...
DeprecationWarning for uuid@7 package
https://api.github.com/repos/nestjs/nest/issues/4211/comments
6
2020-03-03T07:57:28Z
2020-04-21T11:29:18Z
https://github.com/nestjs/nest/issues/4211
574,483,087
4,211
[ "nestjs", "nest" ]
## Bug Report Params from a request like this: `/api/project/sdadasda` is empty ## Current behavior <!-- Describe how the issue manifests. --> I'm creating a middleware and using NestMiddleware, i would like to get params from my request but it always empty ## Input Code <!-- REPL or Repo link if applicable: --...
[NestMiddleware][Request, Respon] Request param is empty
https://api.github.com/repos/nestjs/nest/issues/4210/comments
6
2020-03-03T04:41:54Z
2020-03-06T09:40:27Z
https://github.com/nestjs/nest/issues/4210
574,411,581
4,210
[ "nestjs", "nest" ]
Hi, Kamil. I have a question that came into my mind that is there a particular reason why the Nest needs to use `body-parser`? 🤔 ```typescript // platform-express/adapters/express-adapter.ts import * as bodyParser from 'body-parser'; public registerParserMiddleware() { const parserMiddleware = { jsonPa...
body-parser obsolescence
https://api.github.com/repos/nestjs/nest/issues/4209/comments
2
2020-03-03T03:22:20Z
2020-03-03T08:31:48Z
https://github.com/nestjs/nest/issues/4209
574,389,264
4,209
[ "nestjs", "nest" ]
## Feature Request ## Is your feature request related to a problem? Please describe. <!-- A clear and concise description of what the problem is. Ex. I have an issue when [...] --> ## Describe the solution you'd like <!-- A clear and concise description of what you want to happen. Add any considered drawbacks. ...
Implement a context.switchToGraphql().getRequest()
https://api.github.com/repos/nestjs/nest/issues/4208/comments
1
2020-03-03T02:43:58Z
2020-03-03T07:23:19Z
https://github.com/nestjs/nest/issues/4208
574,378,273
4,208
[ "nestjs", "nest" ]
## Bug Report ## Current behavior My problem is the same of #3148. I tried the @kamilmysliwiec's solution ([here](https://github.com/nestjs/nest/issues/3148#issuecomment-541043223)) ## Input Code ```ts // app.module.ts @Module({ imports: [], controllers: [AppController], providers: [ { ...
req.body empty in NestMiddleware #2
https://api.github.com/repos/nestjs/nest/issues/4205/comments
11
2020-03-02T18:37:58Z
2022-12-01T09:58:21Z
https://github.com/nestjs/nest/issues/4205
574,167,173
4,205
[ "nestjs", "nest" ]
## Bug Report ## Current behavior I need to send a client streaming call to a gRPC server (not implemented with nest). The request to the gRPC server must include a gRPC Metadata object with an authorization key. However, the Metadata are not sent to the gRPC server. ## Input Code I set up a (relatively) ...
Unable to send gRPC metadata with client streaming method
https://api.github.com/repos/nestjs/nest/issues/4203/comments
2
2020-03-02T17:50:37Z
2020-03-04T06:31:22Z
https://github.com/nestjs/nest/issues/4203
574,141,919
4,203
[ "nestjs", "nest" ]
## Bug Report ## Current behavior It looks like the lifecycle event are not called while runnings tests. In my app I have some queue workers that poll the queue via interval. The workers get stopped with the `onModuleDestroy` event. While doing some integration test, I see that the app never quits, jests hangs and ...
Lifecycle events in tests not called
https://api.github.com/repos/nestjs/nest/issues/4199/comments
3
2020-03-02T11:13:33Z
2021-07-07T07:04:45Z
https://github.com/nestjs/nest/issues/4199
573,902,207
4,199
[ "nestjs", "nest" ]
## Bug Report Recently, I tried to implement the Serve Static module and I received a warning in the console as given below. ```bash (node:277) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'getInstance' of null web_1 | at ExpressLoader.register (/usr/src/app/node_modules/@nestjs/serve-...
(ServeStatic Module) TypeError: Cannot read property 'getInstance' of null
https://api.github.com/repos/nestjs/nest/issues/4196/comments
4
2020-03-02T05:54:38Z
2020-04-10T14:20:05Z
https://github.com/nestjs/nest/issues/4196
573,736,798
4,196
[ "nestjs", "nest" ]
## Bug Report I just scaffolded brand new nest project with nest new _nest-api_ command then _npm start_ it found 41 errors. ## Current behavior ## Input Code $ npm start > nest-api@0.0.1 start D:\projects\courierCore\nest-api > nest start node_modules/@types/jest/index.d.ts:32:1 - error TS6200: Defi...
App broken at the nest new app-name
https://api.github.com/repos/nestjs/nest/issues/4194/comments
6
2020-03-01T16:16:27Z
2021-04-14T06:16:50Z
https://github.com/nestjs/nest/issues/4194
573,572,976
4,194
[ "nestjs", "nest" ]
for example: one controller in module called "pages" with a router: @Controller('') class PagesController{ @Get('*') function(){ // match existed pages firstly, if not match will call next() to match posts. } } and another controller in module called "posts" with a same router: @Controller('') cl...
if two different controller have same router, which one will go first?
https://api.github.com/repos/nestjs/nest/issues/4191/comments
2
2020-02-29T21:21:54Z
2020-03-02T07:55:28Z
https://github.com/nestjs/nest/issues/4191
573,413,681
4,191
[ "nestjs", "nest" ]
## Bug Report It's mentioned in the documentation that Nestjs provides a built-in module for multer. However, on trying to import it from the `@nestjs/common` we received an error that the package doesn't have any exported member with that name. ## Current behaviour "/node_modules/@nestjs/common"' has no expor...
MulterModule not found in @nestjs/common
https://api.github.com/repos/nestjs/nest/issues/4190/comments
5
2020-02-29T19:25:51Z
2020-03-02T08:11:42Z
https://github.com/nestjs/nest/issues/4190
573,395,841
4,190
[ "nestjs", "nest" ]
## Feature Request ## Is your feature request related to a problem? Please describe. Axios project is dead. Even with 8.3 mln of downloads, project is no longer maintained. https://github.com/axios/axios/issues/1965 ## Describe the solution you'd like Switch to [gaxios](https://github.com/googleapis/gaxios)
Replace axios by different http package
https://api.github.com/repos/nestjs/nest/issues/4189/comments
4
2020-02-29T18:19:24Z
2023-09-29T15:36:50Z
https://github.com/nestjs/nest/issues/4189
573,371,202
4,189
[ "nestjs", "nest" ]
## Bug Report ## Current behavior Making a request seems to be very slow. CURL'ing to the same URL takes about 10ms, doing it in a newly created NestJS project takes about 3100ms. This could (ofcourse) be on my end, but I'm having trouble seeing what it could be. I've looked around a bunch and can't really find any...
Requests made with HttpService is very slow
https://api.github.com/repos/nestjs/nest/issues/4184/comments
7
2020-02-28T16:18:40Z
2020-03-02T11:48:48Z
https://github.com/nestjs/nest/issues/4184
572,854,729
4,184
[ "nestjs", "nest" ]
## Bug Report Hi All, When I try to retrieve image from one URL and sending the response. I am getting the following error. **controller.file.ts** ```` @Get("/:id/photo") @Header("Content-Type", "image/png") @ApiResponse({ status: HttpStatus.OK, description: "Get user photo" }) @ApiResponse({ status:...
RangeError: Maximum call stack size exceeded
https://api.github.com/repos/nestjs/nest/issues/4183/comments
6
2020-02-28T14:49:07Z
2021-04-03T09:41:00Z
https://github.com/nestjs/nest/issues/4183
572,802,473
4,183
[ "nestjs", "nest" ]
## Bug Report ## Current behavior There's a weird error when using express' Response object. I's returning the result but the server will stop due to the error. (see screenshot). <img width="749" alt="Screen Shot 2020-02-28 at 5 22 33 PM" src="https://user-images.githubusercontent.com/46916819/75531071-e9855600...
Got assertionError when using express' Response object
https://api.github.com/repos/nestjs/nest/issues/4181/comments
2
2020-02-28T09:25:43Z
2020-03-02T02:11:27Z
https://github.com/nestjs/nest/issues/4181
572,631,228
4,181
[ "nestjs", "nest" ]
- Documentation for mixin is not available in docs site. - Files for mixin docs is still available in the [repository](https://github.com/nestjs/docs.nestjs.com/tree/master/src/app/homepage/pages/advanced/mixin-components), but no route is defined for the same in [app-routing.module.ts](https://github.com/nestjs/doc...
Documentation for mixin in @nestjs/common is missing
https://api.github.com/repos/nestjs/nest/issues/4180/comments
4
2020-02-28T08:10:37Z
2023-10-03T13:29:27Z
https://github.com/nestjs/nest/issues/4180
572,596,431
4,180
[ "nestjs", "nest" ]
Limit usage of `any` and enable strict flags in TypeScript compiler by default. So whenever I try to use strict flags with NestJS projects, I get some errors. mostly regarding to `any`. For example, ```javascript TypeOrmModule.forRootAsync({ imports: [ConfigModule], useFactory: (config: Confi...
Make NestJS more strict
https://api.github.com/repos/nestjs/nest/issues/4178/comments
5
2020-02-27T21:58:06Z
2020-04-15T12:25:02Z
https://github.com/nestjs/nest/issues/4178
572,385,935
4,178
[ "nestjs", "nest" ]
## Bug Report hi together. I'm quite new to nest.js and typescript in general but so far I really like the concept behind it. I've been stuck with this problem for a few days now and I really would appreciate some help with this. so far I isolated the error to the following point. ## Current behavior i created a c...
@ConnectedSocket() decorator is giving wrong socket instance with custom ws-adapter
https://api.github.com/repos/nestjs/nest/issues/4176/comments
6
2020-02-27T20:30:00Z
2024-02-20T09:54:11Z
https://github.com/nestjs/nest/issues/4176
572,340,650
4,176
[ "nestjs", "nest" ]
## Feature Request feat(microservice): add Kafka transport IncomingMessage interface ## Is your feature request related to a problem? Please describe. <!-- A clear and concise description of what the problem is. Ex. I have an issue when [...] --> In the documentation https://docs.nestjs.com/microservices/kafka I...
feat(microservices): add IncomingKafkaMessage interface
https://api.github.com/repos/nestjs/nest/issues/4175/comments
3
2020-02-27T20:07:56Z
2020-04-10T11:21:26Z
https://github.com/nestjs/nest/issues/4175
572,328,195
4,175
[ "nestjs", "nest" ]
## Bug Report I encountered a couple of validation and transformation issues using multipart-forms. I collected them in the following points and an isolated sample project. ## Current behavior <!-- Describe how the issue manifests. --> 1. if the content type is multipart-form then transform for the nested obj...
Invalid behaviors in Multipart-form transform and validation
https://api.github.com/repos/nestjs/nest/issues/4172/comments
5
2020-02-27T16:09:09Z
2021-05-17T06:45:14Z
https://github.com/nestjs/nest/issues/4172
572,185,410
4,172
[ "nestjs", "nest" ]
## Bug Report ## Current behavior It's a little bit hard to describe and I'm not sure what causes the problem in the first place, but I will try to describe it: We have a Service A which has a property, let's call it `foo`. In the constructor of Service A we set `foo` to 1, trigger an async function and in this ...
Maybe Circular Dependency creates an error when accessing property of a service
https://api.github.com/repos/nestjs/nest/issues/4168/comments
5
2020-02-26T16:59:25Z
2020-02-28T09:43:17Z
https://github.com/nestjs/nest/issues/4168
571,526,876
4,168
[ "nestjs", "nest" ]
## Bug Report ## Current behavior <!-- Describe how the issue manifests. --> `Unknown authentication strategy "local"` error thrown from `node_modules\@nestjs\passport\dist\auth.gurad.js:16:12` ## Input Code <!-- REPL or Repo link if applicable: --> steps to reproduce: 1- follow these [steps ](https://docs....
`Unknown authentication strategy "local"` error when injecting Request to a service
https://api.github.com/repos/nestjs/nest/issues/4166/comments
3
2020-02-26T14:25:01Z
2024-06-26T06:27:14Z
https://github.com/nestjs/nest/issues/4166
571,416,317
4,166
[ "nestjs", "nest" ]
## Bug Report ## Current behavior During tests, it is common to return a Proxy object that will wrap an instance with spying abilities over its. When trying to resolve the instance, for some reason, Nest assumes the return object is a promise, and if it has a method named "then" it `await` for it. ## Input Code...
Can't overrideProvider with a Proxy (or any object with a "then" function)
https://api.github.com/repos/nestjs/nest/issues/4165/comments
4
2020-02-26T13:52:37Z
2020-03-02T08:00:31Z
https://github.com/nestjs/nest/issues/4165
571,386,321
4,165
[ "nestjs", "nest" ]
## Bug report: How can I use service in resolver? ## Current behavior Injected `service` in `resolver` is `undefined` ## Input Code Module where I use the service: ```ts import { Module } from '@nestjs/common'; import { TypeOrmModule } from '@nestjs/typeorm'; import { User } from './user.entity'; im...
I have a problem, that in Resolver my Service is undefined
https://api.github.com/repos/nestjs/nest/issues/4163/comments
2
2020-02-26T11:55:18Z
2020-02-26T13:00:58Z
https://github.com/nestjs/nest/issues/4163
571,286,166
4,163
[ "nestjs", "nest" ]
## Feature Request ## Is your feature request related to a problem? Please describe. I want to change my view template using [Squirrelly](https://squirrelly.js.org/) ## Describe the solution you'd like Might something like ``` app.setViewEngine({ engine: { squirrelly: require('squirrelly'), ...
Support for Squirrelly view engine template
https://api.github.com/repos/nestjs/nest/issues/4161/comments
1
2020-02-26T05:29:04Z
2020-02-26T07:43:28Z
https://github.com/nestjs/nest/issues/4161
571,079,401
4,161
[ "nestjs", "nest" ]
## Feature Request ## Is your feature request related to a problem? Please describe. <!-- A clear and concise description of what the problem is. Ex. I have an issue when [...] --> Currently, when trying to receive and access the metadata within the Grpc method using the `@GrpcStreamMethod` decorator, the second a...
Grpc @GrpcStreamMethod Metadata
https://api.github.com/repos/nestjs/nest/issues/4158/comments
1
2020-02-25T22:36:33Z
2020-03-02T16:45:08Z
https://github.com/nestjs/nest/issues/4158
570,883,198
4,158
[ "nestjs", "nest" ]
## Bug Report When trying to use another `global` module's service from one `global` module, I get an error thrown by NestJs at launch time. Nest complains that it cannot resolve the dependency. ## Current behavior The error thrown by Nest: ``` [ExceptionHandler] Nest can't resolve dependencies of the Logger...
Global module not resolved
https://api.github.com/repos/nestjs/nest/issues/4152/comments
3
2020-02-25T18:48:22Z
2020-02-26T18:47:49Z
https://github.com/nestjs/nest/issues/4152
570,760,446
4,152
[ "nestjs", "nest" ]
<!-- We primarily use GitHub as an issue tracker; for usage and support questions, please check out these resources below. Thanks! 😁. --> Hello, NestJS contributors In RU-lang NestJS (https://t.me/nest_ru) community was sent link to https://github.com/nodejs/node/commit/9c702922cdcf830cedb92d51e5dc9f956584c3ee w...
NodeJS CLS support. NestJS scope improvements
https://api.github.com/repos/nestjs/nest/issues/4150/comments
1
2020-02-25T13:42:25Z
2020-02-25T14:52:02Z
https://github.com/nestjs/nest/issues/4150
570,580,275
4,150
[ "nestjs", "nest" ]
May be have decorator? May be in the `nest` it differently? Or where i can pass router schema data to `fastify`? For example: In Nest ```js @Post() login() { // get user bla bla bla user = { password: 'changeme', username: 'admin' } const { password, ..data } = user; return data; } ``` response return ...
How i can pass fastify response schema from nest to fastify?
https://api.github.com/repos/nestjs/nest/issues/4149/comments
7
2020-02-25T13:06:16Z
2022-06-14T07:49:34Z
https://github.com/nestjs/nest/issues/4149
570,556,397
4,149
[ "nestjs", "nest" ]
I want transform the uuid to be entity instance for validate in dto,but can not get container service of connection,and use `getConnection` import from typeorm directly also can not found named `default` connection。 but in service which inject to modules it work fine if @body has dto type class, how to validate uuid...
How to transform the uuid to be entity instance for validate in dto?
https://api.github.com/repos/nestjs/nest/issues/4148/comments
1
2020-02-25T06:42:12Z
2020-02-25T07:47:26Z
https://github.com/nestjs/nest/issues/4148
570,347,664
4,148
[ "nestjs", "nest" ]
## Bug Report ## Current behavior After a http request from the httpmodule with a `requestType: 'stream'`, the response seems to not pass the stream after call the `toPromise()` ## Input Code <!-- REPL or Repo link if applicable: --> ```ts async getStreamFromUrl(url: string) { const writeStream = fs.cr...
HttpService has an issue with stream response type
https://api.github.com/repos/nestjs/nest/issues/4144/comments
5
2020-02-24T17:25:04Z
2020-02-29T20:45:42Z
https://github.com/nestjs/nest/issues/4144
570,004,788
4,144
[ "nestjs", "nest" ]
Running the server and testing it with the postman works fine, but the test case gives the following error: **error message** ``` Failed: CommandHandlerNotFoundException { "message": "CommandHandler not found exception!", } ``` **auth.service.spec.ts** ``` import { Test, TestingModule } from '@...
CQRS test, CommandHandlerNotFoundException
https://api.github.com/repos/nestjs/nest/issues/4141/comments
4
2020-02-24T10:27:13Z
2022-08-29T08:26:20Z
https://github.com/nestjs/nest/issues/4141
569,762,440
4,141
[ "nestjs", "nest" ]
<!-- We primarily use GitHub as an issue tracker; for usage and support questions, please check out these resources below. Thanks! 😁. --> * Discord Community Chat: https://discord.gg/G7Qnnhy * StackOverflow: https://stackoverflow.com/questions/tagged/nestjs using the tag `nestjs` * Twitter: If it's just a quick q...
RabbitMQ Consumer with Multiple Queue's
https://api.github.com/repos/nestjs/nest/issues/4132/comments
4
2020-02-22T04:50:45Z
2025-02-23T21:02:24Z
https://github.com/nestjs/nest/issues/4132
569,281,372
4,132
[ "nestjs", "nest" ]
## Bug Report ## Current behavior When we create a route, and use the `@All` decorator, express doesn't set the `req.route.path` property. ## Input Code ```ts @All('/') getDefaultHello(@Req() req: any, @Res() res: any): string { console.log(req.route?.path); return res.end(req.route?.path); }...
req.route.path is not set on @All
https://api.github.com/repos/nestjs/nest/issues/4129/comments
1
2020-02-21T17:11:04Z
2020-02-22T12:58:37Z
https://github.com/nestjs/nest/issues/4129
569,078,324
4,129
[ "nestjs", "nest" ]
we have a nestjs application that uses the typeorm module to connect to a database. we also use the swagger module and a script to generate an openapi spec - but instead of serving the spec over http we write it to disk. a simplified version of our script: ```typescript async function main() { const app = await N...
Delaying database connection until application bootstrap
https://api.github.com/repos/nestjs/nest/issues/4128/comments
2
2020-02-21T17:10:48Z
2024-07-23T14:45:12Z
https://github.com/nestjs/nest/issues/4128
569,078,205
4,128
[ "nestjs", "nest" ]
## Bug Report ## Current behavior Can not run `sample/04-grpc` with `npm run start:prod` correctly ## Input Code ```shell npm run start:prod ## ... nest application bootstrap log [Server] ENOENT: no such file or directory. /path/to/nest/sample/04-grpc/dist/hero/hero.proto ``` ## Expected beha...
sample/04-grpc might out of maintain
https://api.github.com/repos/nestjs/nest/issues/4122/comments
5
2020-02-21T07:45:01Z
2025-01-05T15:44:39Z
https://github.com/nestjs/nest/issues/4122
568,792,203
4,122
[ "nestjs", "nest" ]
## Bug Report https://stackoverflow.com/questions/60331532/nestjs-413-payload-too-large-multipart ## Current behavior <!-- Describe how the issue manifests. --> 413 PayloadTooLarge ## Environment ``` "dependencies": { "@nestjs/common": "^6.7.2", "@nestjs/core": "^6.7.2", "@nestjs/jwt": "^6.1.1...
413 PayloadTooLarge Multipart
https://api.github.com/repos/nestjs/nest/issues/4121/comments
4
2020-02-21T03:17:43Z
2020-02-21T08:20:25Z
https://github.com/nestjs/nest/issues/4121
568,710,382
4,121
[ "nestjs", "nest" ]
**My problem is that the route is overwritten。** ![image](https://user-images.githubusercontent.com/2443075/74932169-1e285a80-541c-11ea-8e9f-266214e40b4f.png) If I use `adminApp.init()` first , I can't get access to apiApp router. **I only have access to the ‘adminApp‘ module internal routes that are initi...
Route overridden
https://api.github.com/repos/nestjs/nest/issues/4114/comments
6
2020-02-20T12:04:21Z
2023-03-24T04:18:07Z
https://github.com/nestjs/nest/issues/4114
568,253,205
4,114
[ "nestjs", "nest" ]
## Bug Report Similar to #353 but with suggestion to fix ## Current behavior When connecting a microservice to a NestApplication I would expect it to inherit configuration like Interceptors and such ```ts const app = await NestFactory.create(AppModule, { logger }) app.useGlobalInterceptors(LoggerInterceptor...
Hybrid application's microservice doesn't inherit application configuration
https://api.github.com/repos/nestjs/nest/issues/4112/comments
3
2020-02-20T09:57:44Z
2021-11-29T08:26:19Z
https://github.com/nestjs/nest/issues/4112
568,181,028
4,112
[ "nestjs", "nest" ]
## Bug Report ## Current behavior I'm building an application with a microservices architecture, and everything works fine. The underneath services are orchestrated by a central Gateway that emits events, and send messages using the ClientProxy configured with a Redis connection. The thing is that sometimes (do...
ClientProxy on Redis random CONNECTION_BROKEN
https://api.github.com/repos/nestjs/nest/issues/4111/comments
12
2020-02-20T09:39:54Z
2022-02-03T09:23:26Z
https://github.com/nestjs/nest/issues/4111
568,170,300
4,111
[ "nestjs", "nest" ]
## Feature Request ## Is your feature request related to a problem? Please describe. I'm using TypeORM with MongoDB and want to validate and transform incoming id params in my Controller. These IDs are of type `ObjectID` and there is no built-in pipe for validation and transformation. **The problem is that I don...
ParseObjectIdPipe for projects using TypeORM with MongoDB
https://api.github.com/repos/nestjs/nest/issues/4109/comments
4
2020-02-20T08:07:32Z
2020-03-12T08:10:18Z
https://github.com/nestjs/nest/issues/4109
568,121,993
4,109
[ "nestjs", "nest" ]
## Bug Report Created JS sample from cli. Ran `npm run start`, runs correctly. Modified for Fastify by changing `main.js` as shown below. Then run fails with error `TypeError: app.listen is not a function`. ## Current behavior <!-- Describe how the issue manifests. --> ``` ~/d/neserver (master|…) $ npm run star...
Can't get Fastify JS starter to work
https://api.github.com/repos/nestjs/nest/issues/4108/comments
2
2020-02-20T01:11:55Z
2020-05-20T19:03:02Z
https://github.com/nestjs/nest/issues/4108
567,987,498
4,108
[ "nestjs", "nest" ]
Hi, **Context:** Currently, NestJS decorators have fixed default values for the expected attributes. **Problem:** As projects using NestJS vary a lot in context, these default values will work for some projects, but not for others. For these projects, developers have to specify the same attribute every single ...
Allow module-wide customisation of default attributes for decorators
https://api.github.com/repos/nestjs/nest/issues/4107/comments
2
2020-02-20T00:09:49Z
2020-02-21T12:48:36Z
https://github.com/nestjs/nest/issues/4107
567,947,324
4,107
[ "nestjs", "nest" ]
Hello everybody. Sorry my english is very poor, but there is a possibility to create entity from database sql, that the tables in your database.
It´s possible create entity(orm) from database
https://api.github.com/repos/nestjs/nest/issues/4106/comments
2
2020-02-19T22:13:48Z
2020-02-21T12:40:32Z
https://github.com/nestjs/nest/issues/4106
567,880,849
4,106
[ "nestjs", "nest" ]
## Bug Report ## Current behavior <!-- Describe how the issue manifests. --> After using encodeURIComponent to request a url with a query string for e.g: http://foo.bar?query=some1247%/weirdtoken This is happening: ![error](https://user-images.githubusercontent.com/23245646/74844443-35782280-530c-11ea-926b-4f0e...
encodeURIComponent have some conflict with HttpService Module
https://api.github.com/repos/nestjs/nest/issues/4102/comments
2
2020-02-19T14:42:03Z
2020-05-20T19:05:01Z
https://github.com/nestjs/nest/issues/4102
567,617,544
4,102
[ "nestjs", "nest" ]
## Bug Report When uploading a file, the request doesn't even get to the controller and gets rejected with `Access to XMLHttpRequest at 'http://domainname.com/api/app/upload' from origin 'http://domainname.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resou...
Systematic CORS error with multipart/form-data error
https://api.github.com/repos/nestjs/nest/issues/4099/comments
8
2020-02-19T10:46:02Z
2022-07-26T09:17:33Z
https://github.com/nestjs/nest/issues/4099
567,479,505
4,099
[ "nestjs", "nest" ]
How to clear a cache in NestJS way?
https://api.github.com/repos/nestjs/nest/issues/4095/comments
2
2020-02-19T05:55:38Z
2020-05-20T19:07:20Z
https://github.com/nestjs/nest/issues/4095
567,334,759
4,095
[ "nestjs", "nest" ]
I did not find it when I searched with keepalive on Discord. Fixing a connection issue in an AWS environment requires the keepalive setting in the grpc client option. ```ts 'grpc.keepalive_time_ms': 120000, 'grpc.http2.min_time_between_pings_ms': 120000, 'grpc.keepalive_timeout_ms': 20000, 'grpc.http2.max_pings...
How to add keepalive options in grpc client?
https://api.github.com/repos/nestjs/nest/issues/4094/comments
2
2020-02-19T04:50:55Z
2020-03-02T16:45:12Z
https://github.com/nestjs/nest/issues/4094
567,314,410
4,094
[ "nestjs", "nest" ]
## Feature Request Nest's injection system is great, but it doesn't extend to custom decorators, which means one is severely limited in what they can do in them. ## Is your feature request related to a problem? Please describe. I want to inject certain common data (in this case, selected language and translati...
Injectables in custom decorators
https://api.github.com/repos/nestjs/nest/issues/4090/comments
3
2020-02-18T13:31:01Z
2020-05-20T19:17:40Z
https://github.com/nestjs/nest/issues/4090
566,894,499
4,090
[ "nestjs", "nest" ]
This is my bootstrap file. `import {NestFactory} from '@nestjs/core'; import {AppModule} from './app.module'; import {Logging} from './shared/logging/logging.service'; import {ConfigService} from './config/config.service'; import {Transport} from '@nestjs/microservices'; async function bootstrap() { const ...
Can I create a nest application and microservice together?
https://api.github.com/repos/nestjs/nest/issues/4088/comments
3
2020-02-18T09:51:32Z
2020-05-20T19:10:25Z
https://github.com/nestjs/nest/issues/4088
566,771,789
4,088
[ "nestjs", "nest" ]
I'm submitting a... ``` [ ] Regression [ ] Bug report [x] Feature request [ ] Documentation issue or request ``` **Current Behavior** ```@Query()``` decorator is working perfectly in most cases but when we need to cast the value of the query to ```Number```, ```Boolean``` or ```Array``` types we must writ...
Typed @Query Decorator
https://api.github.com/repos/nestjs/nest/issues/4081/comments
4
2020-02-17T21:32:35Z
2020-02-21T13:09:01Z
https://github.com/nestjs/nest/issues/4081
566,526,234
4,081
[ "nestjs", "nest" ]
Hello, I have an existing express app and would like to iteratively migrate to nest.js. ``` const server = express(); server.use('api/something', ...); const app = await NestFactory.create( ApplicationModule, new ExpressAdapter(server), ); app.listen(3000); app.init(); ``` When I created app in ...
Controler of the nest application created with ExpressAdapter doesn't work.
https://api.github.com/repos/nestjs/nest/issues/4079/comments
2
2020-02-17T17:59:14Z
2020-05-20T20:20:46Z
https://github.com/nestjs/nest/issues/4079
566,448,375
4,079
[ "nestjs", "nest" ]
I have been trying to implement [Typeorm lazy loading](https://github.com/typeorm/typeorm/blob/master/docs/eager-and-lazy-relations.md) but it seems that it does not work in my [project](https://github.com/krystofrezac/next-nest-template/tree/feature/lazy-loading/api) (files user.resolver and user-entity). When I fetch...
Typeorm lazy loading
https://api.github.com/repos/nestjs/nest/issues/4078/comments
3
2020-02-17T17:54:55Z
2020-02-22T13:10:32Z
https://github.com/nestjs/nest/issues/4078
566,446,762
4,078
[ "nestjs", "nest" ]
## Feature Request ## Is your feature request related to a problem? Please describe. When calling the static methods on the Logger (log, error, warn, debug, verbose), it then calls the stdout printing [code here](https://github.com/nestjs/nest/blob/549e2927775690db6db7f6efc683eb896d610ab3/packages/common/services/...
Improve Logger static calls behaviour
https://api.github.com/repos/nestjs/nest/issues/4077/comments
2
2020-02-17T16:44:54Z
2020-05-20T19:33:13Z
https://github.com/nestjs/nest/issues/4077
566,415,223
4,077
[ "nestjs", "nest" ]
## Feature Request ## Is your feature request related to a problem? Please describe. <!-- A clear and concise description of what the problem is. Ex. I have an issue when [...] --> When ServerRMQ.close() invoke, channel immediately closes. All my 'ack' lost, because channel closed. Instead of this I want to stop r...
Graceful shutdown in rabbitmq
https://api.github.com/repos/nestjs/nest/issues/4076/comments
2
2020-02-17T16:12:11Z
2020-05-20T19:27:27Z
https://github.com/nestjs/nest/issues/4076
566,397,896
4,076
[ "nestjs", "nest" ]
## Bug Report Using the "All" route handler with a path wildcard does not work when using the fastify framework. It works when using express, however. ## Current behavior Returns 404 with the following payload ``` { "statusCode": 404, "error": "Not Found", "message": "Cannot GET /any/old/path" } ...
The "All" route handler does not work with Fastify.
https://api.github.com/repos/nestjs/nest/issues/4075/comments
2
2020-02-17T13:31:54Z
2020-05-20T19:22:22Z
https://github.com/nestjs/nest/issues/4075
566,301,292
4,075
[ "nestjs", "nest" ]
## Feature Request ## Is your feature request related to a problem? Please describe. While trying to write tests for NestJS, I'm trying to override nestjs-middleware, by defining it with `overrideProvider(MyMiddleware).useValue({ use(req, res, next) { next() })`. This doesn't work however, since he just keeps drop...
OverrideMiddleware is missing
https://api.github.com/repos/nestjs/nest/issues/4073/comments
10
2020-02-17T09:02:37Z
2025-04-30T14:40:52Z
https://github.com/nestjs/nest/issues/4073
566,151,921
4,073
[ "nestjs", "nest" ]
## Feature Request During bootstrap, when there exist a request scoped dependency somewhere deep in the application, we will get an undefined provider, and a nasty error is thrown, e.g. ``` TypeError: Cannot read property 'xxx' of undefined at FooModule.onApplicationBootstrap ``` I've encountered this num...
Warn about undefined providers during bootstrap when there is a request scope dependency
https://api.github.com/repos/nestjs/nest/issues/4070/comments
4
2020-02-15T14:12:08Z
2020-02-22T13:00:37Z
https://github.com/nestjs/nest/issues/4070
565,752,966
4,070
[ "nestjs", "nest" ]
> Getting Exception in Microservice Event Name "check_shipping_charge" > "@nest-middlewares/compression": "^6.0.0", > "@nest-middlewares/cors": "^6.0.1", > "@nest-middlewares/helmet": "^6.0.0", > "@nest-middlewares/morgan": "^6.0.0", > "@nestjs/common": "^6.8.3", > "@nestjs/config": "^0.0...
Exception Raised in microservice pattern name during Debugging
https://api.github.com/repos/nestjs/nest/issues/4066/comments
2
2020-02-14T06:45:56Z
2020-05-20T21:04:33Z
https://github.com/nestjs/nest/issues/4066
565,138,202
4,066
[ "nestjs", "nest" ]
## I'm submitting a... ``` [ ] Regression [ ] Bug report [x] Feature request [ ] Documentation issue or request [ ] Support request => Please do not submit support request here, instead post your question on Stack Overflow. ``` ## Current behavior I use microservice(gRPC). and i want to get client ip for lo...
[gRPC Microservice] How to know client ip by using microservice(gRPC)?
https://api.github.com/repos/nestjs/nest/issues/4065/comments
2
2020-02-14T00:18:56Z
2020-05-20T21:07:27Z
https://github.com/nestjs/nest/issues/4065
565,027,207
4,065
[ "nestjs", "nest" ]
## Bug Report I have a boilerplate project with Nest.js using postgresql with TypeORM. I am trying to inject a repository from a different module into a service but I receive the following error: > Nest can't resolve dependencies of the CasbinService. Please make sure that the argument ClientRepository at index [0...
Can't inject a repository from a different module
https://api.github.com/repos/nestjs/nest/issues/4062/comments
3
2020-02-13T16:51:18Z
2020-05-20T21:01:39Z
https://github.com/nestjs/nest/issues/4062
564,817,904
4,062
[ "nestjs", "nest" ]
hi i use netsjs 6.14 with interceptorsn some property like 'url' or 'method' in Request class is 'undefined'
NestJS Interceptor issue
https://api.github.com/repos/nestjs/nest/issues/4060/comments
2
2020-02-13T11:03:40Z
2020-05-20T21:18:38Z
https://github.com/nestjs/nest/issues/4060
564,604,839
4,060
[ "nestjs", "nest" ]
Hi, I don't know if this is a feature request, or a support question, but I'm trying to create a plugin architecture. I'm creating a multitenant app (an application for multiple companies with each their own database), but also the loaded modules should be dependent on the current tenant. I would achieve this by load...
Plugin framework NestJS
https://api.github.com/repos/nestjs/nest/issues/4057/comments
4
2020-02-13T07:56:07Z
2020-05-20T21:13:07Z
https://github.com/nestjs/nest/issues/4057
564,503,617
4,057
[ "nestjs", "nest" ]
I have a core module that provides an authentication interceptor in Nest js. Here is the core module. ``` @Module({ imports: [ providers: [{ provide: APP_INTERCEPTOR, useClass: LoggerInterceptor } ] }) export class ConfModule { } ``` This conf module is been imported by th...
Mocking HTTP interceptors in Nest JS
https://api.github.com/repos/nestjs/nest/issues/4053/comments
7
2020-02-12T20:13:29Z
2020-05-20T21:15:58Z
https://github.com/nestjs/nest/issues/4053
564,243,026
4,053
[ "nestjs", "nest" ]
## Bug Report Consider the following snippet: ```ts export class AppModule implements NestModule { public configure(consumer: MiddlewareConsumer) { consumer .apply(TradingApplicationContextMiddleware) .forRoutes('*'); ... ``` This is a module that uses a middleware, ...
NestModule.configure is not called when a module is created in Test.createTestingModule
https://api.github.com/repos/nestjs/nest/issues/4052/comments
2
2020-02-12T16:44:38Z
2020-05-20T21:33:36Z
https://github.com/nestjs/nest/issues/4052
564,126,811
4,052
[ "nestjs", "nest" ]
## Bug Report ## Current behavior If in e2e tests you use `app.enableShutdownHooks();` and you have more than 10 test cases, NodeJS will print a warning: "MaxListenersExceededWarning: Possible EventEmitter memory leak detected." ## Input Code It's just generated project by `nest-cli` without any changes except ...
E2E tests: MaxListenersExceededWarning: Possible EventEmitter memory leak detected.
https://api.github.com/repos/nestjs/nest/issues/4051/comments
3
2020-02-12T16:15:49Z
2020-05-20T21:21:16Z
https://github.com/nestjs/nest/issues/4051
564,108,031
4,051
[ "nestjs", "nest" ]
## Bug Report I'm having an issue with my microservices communication. ## Current behavior <!-- Describe how the issue manifests. --> Currently, I have two microservices, a resource provider and another one is a consumer. Also, the provider is connected to a DB through a gRPC client (ClientGrpc). I've defined a c...
TCP ClientProxy strange behavior when returning value from catchError in observable
https://api.github.com/repos/nestjs/nest/issues/4049/comments
4
2020-02-12T10:15:53Z
2020-05-20T21:23:48Z
https://github.com/nestjs/nest/issues/4049
563,892,755
4,049
[ "nestjs", "nest" ]
We have been using NestJS in production for 6-8 months but it's nothing but pleasantness to work with defining module/controllers/service/repositories/entities/transforms/pipes everyday. Feature development on the backend is way faster than frontend work, and I am glad I am on the backend team because I get to work ...
Thank you so much for making this project!
https://api.github.com/repos/nestjs/nest/issues/4046/comments
2
2020-02-12T00:40:17Z
2020-05-20T21:35:59Z
https://github.com/nestjs/nest/issues/4046
563,649,020
4,046
[ "nestjs", "nest" ]
## Bug Report ## Current behavior <!-- Describe how the issue manifests. --> The default output of HTTPException is `{statusCode, message}`, but the default output for another specific exception (e.g., BadRequestException) is `{statusCode, error}`. They should be consistent. ## Input Code <!-- REPL or Repo lin...
Inconsistent output for HTTP exceptions
https://api.github.com/repos/nestjs/nest/issues/4044/comments
2
2020-02-11T23:03:15Z
2020-05-20T21:40:53Z
https://github.com/nestjs/nest/issues/4044
563,575,027
4,044
[ "nestjs", "nest" ]
The documentation for the HTTP exceptions in `packages/common/exceptions/` is incorrect: - The default return format for specific HTTP exceptions is `{ statusCode, error }`, not `{ statusCode, message }` (this leads to #4044, but it may be a breaking change and it can wait); - The `statusCode` in the result cannot...
Documentation for HTTP exceptions is incorrect
https://api.github.com/repos/nestjs/nest/issues/4042/comments
1
2020-02-11T22:48:45Z
2020-03-11T21:56:57Z
https://github.com/nestjs/nest/issues/4042
563,558,776
4,042
[ "nestjs", "nest" ]
## Feature Request ## Is your feature request related to a problem? Please describe. Currently i have to write static values into ClientModule.register(). I would like to inject my ConfigModule and read values from there. ## Describe the solution you'd like Make a ClientsModule.registerAsync(). Like the Ty...
Possibility of ClientsModule.registerAsync
https://api.github.com/repos/nestjs/nest/issues/4040/comments
16
2020-02-11T19:33:33Z
2022-01-19T22:45:25Z
https://github.com/nestjs/nest/issues/4040
563,428,211
4,040
[ "nestjs", "nest" ]
## Bug Report ## Current behavior Currently, when using the `applyDecorators` https://docs.nestjs.com/custom-decorators#decorator-composition with static class methods the decorators are applied to the class instead of the method. ## Input Code ```ts /* eslint-disable max-classes-per-file */ import { GUARDS_M...
Composite Decorators Defining Metadata on Class when Targeting Methods
https://api.github.com/repos/nestjs/nest/issues/4039/comments
5
2020-02-11T18:40:04Z
2020-05-20T20:40:15Z
https://github.com/nestjs/nest/issues/4039
563,400,265
4,039
[ "nestjs", "nest" ]
## Bug Report ERROR in C:/_myplace/gen3/platform-libs/node_modules/@nestjs/core/nest-application.d.ts(44,5): TS2416: Property 'enableCors' in type 'NestApplication' is not assignable to the same property in base type 'INestApplication'. Type '(options?: CorsOptions | undefined) => void' is not assignable to type '...
NestApplication does not correctly implement INestApplication
https://api.github.com/repos/nestjs/nest/issues/4036/comments
5
2020-02-11T15:08:21Z
2020-05-20T21:10:15Z
https://github.com/nestjs/nest/issues/4036
563,270,539
4,036
[ "nestjs", "nest" ]
## Bug Report ## Current behavior <!-- Describe how the issue manifests. --> ![not-working](https://user-images.githubusercontent.com/29735669/74172878-f8f15a80-4c6b-11ea-91d2-c8afd196c9c8.png) ## Input Code <!-- REPL or Repo link if applicable: --> Use `nest n proj` to create a blank project and change...
Controller prefix not working, can't create route with given prefix
https://api.github.com/repos/nestjs/nest/issues/4028/comments
7
2020-02-10T17:19:27Z
2020-05-20T22:22:56Z
https://github.com/nestjs/nest/issues/4028
562,708,611
4,028
[ "nestjs", "nest" ]
## Bug Report ## Current behavior Taking the example of the hero controller, I generated the hero.proto using https://github.com/improbable-eng/ts-protoc-gen the output files are hero_pb.d.ts ``` // package: hero // file: hero.proto import * as jspb from "google-protobuf"; export class HeroById exten...
Using generated classes from proto
https://api.github.com/repos/nestjs/nest/issues/4025/comments
2
2020-02-10T05:39:14Z
2020-05-20T22:28:35Z
https://github.com/nestjs/nest/issues/4025
562,337,139
4,025
[ "nestjs", "nest" ]
## Bug Report ## Current behavior In my main nest application I use an interceptor which transforms the response into different structure, here it is: ```ts export interface Response<T> { content: T; } @Injectable() export class TransformInterceptor<T> implements NestInterceptor<T, Response<T>> { int...
Wrong response structure while performing e2e test
https://api.github.com/repos/nestjs/nest/issues/4018/comments
2
2020-02-09T08:26:54Z
2020-05-20T22:25:51Z
https://github.com/nestjs/nest/issues/4018
562,142,141
4,018