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" ]
## Bug Report ## Current behavior When trying to inject a custom provider with `Transient` scope into a global middleware configured in the `configure()` method of the `AppModule`, the dependency is not passed into the constructor - instead `null` is passed in. Interestingly if the custom provider has scope `REQ...
Transient custom provider not injected into middleware
https://api.github.com/repos/nestjs/nest/issues/5427/comments
3
2020-09-15T15:05:32Z
2020-12-21T09:49:54Z
https://github.com/nestjs/nest/issues/5427
702,013,233
5,427
[ "nestjs", "nest" ]
## Bug Report ## Current behavior I'm trying to add ClassSerializerInterceptor to my controllers in order to be able to use the @Expose decorator of class-transformer on my request and response DTOs. In the docs of interceptors (https://docs.nestjs.com/interceptors) it seems that the interceptors should run both...
ClassSerializerInterceptor doesn't seem to work on request DTOs
https://api.github.com/repos/nestjs/nest/issues/5426/comments
3
2020-09-15T13:07:44Z
2020-09-17T14:55:35Z
https://github.com/nestjs/nest/issues/5426
701,914,785
5,426
[ "nestjs", "nest" ]
## Bug Report ## Current behavior I want a mqtt microservice service, but there might be some errors here. I'm just writing the examples code on the document but it doesn't work either, Every time I started the service, he would report an error. I also tried a few things, such as changing port Numbers and switch...
mqtt microservice can not running,Always prompt for ”ECONNREFUSED“
https://api.github.com/repos/nestjs/nest/issues/5425/comments
2
2020-09-15T00:52:59Z
2020-09-17T13:13:14Z
https://github.com/nestjs/nest/issues/5425
701,524,495
5,425
[ "nestjs", "nest" ]
See https://github.com/typescript-eslint/typescript-eslint/issues/2559 for discussion there ## Bug Report Since Typescript 3.8, Typescript has supported type-only imports and exports. This feature is incompatible with constructor dependency injection. ## Current behavior <!-- Describe how the issue manifests. ...
Nest dependency injection can't resolve type-only imports
https://api.github.com/repos/nestjs/nest/issues/5421/comments
1
2020-09-14T20:23:19Z
2020-09-15T06:35:42Z
https://github.com/nestjs/nest/issues/5421
701,400,622
5,421
[ "nestjs", "nest" ]
## Feature Request To be able to use ReactJS as a template engine other than HBS or PUG. ## Is your feature request related to a problem? Please describe. I have a conditional issue, where I need to check if the length of an array is greater than X, then display certain text. With HBS, I need to register a leng...
Support ReactSSR
https://api.github.com/repos/nestjs/nest/issues/5413/comments
4
2020-09-13T07:14:04Z
2020-11-25T21:05:28Z
https://github.com/nestjs/nest/issues/5413
700,514,508
5,413
[ "nestjs", "nest" ]
## Bug Report Unable to run the server after mapped-types package installation and usage of PickType, PartialType decorators. ## Current behavior ``` [12:26:00 AM] Starting compilation in watch mode... [12:26:13 AM] Found 0 errors. Watching for file changes. internal/modules/cjs/loader.js:969 throw e...
No dist folder in @nestjs/mapped-types. Unable to run the server.
https://api.github.com/repos/nestjs/nest/issues/5412/comments
2
2020-09-12T21:43:41Z
2020-09-13T06:51:19Z
https://github.com/nestjs/nest/issues/5412
700,387,261
5,412
[ "nestjs", "nest" ]
Hi, I have a bunch of controllers that needs to have the same annotations, like ``` @UseFilters(new HttpExceptionFilter()) @UseInterceptors(HttpResponseInterceptor) ``` Is there any option to implement a parent controller class with this annotations and then all my controllers could inherit them? Thanks
Set the same annotations for all my controllers
https://api.github.com/repos/nestjs/nest/issues/5410/comments
2
2020-09-12T05:10:43Z
2020-09-14T06:56:28Z
https://github.com/nestjs/nest/issues/5410
700,065,701
5,410
[ "nestjs", "nest" ]
## Bug Report ## Current behavior <!-- Describe how the issue manifests. --> We want to support both HTTP and HTTPS simultaneously so we are following instructions described here: https://docs.nestjs.com/faq/multiple-servers We also set a `WsAdapter` before calling `app.Init()` because we want to use web socket...
WebSockets can't work when initializing for multiple simultaneous servers
https://api.github.com/repos/nestjs/nest/issues/5407/comments
3
2020-09-11T07:58:45Z
2020-11-16T11:00:18Z
https://github.com/nestjs/nest/issues/5407
698,985,013
5,407
[ "nestjs", "nest" ]
## Bug Report Hi everybody, After many attempts, I still get the error that I report below, I have done it with the npm run build command and also with webpack, but it has not worked in any way when I want to pass my project to production. Apparently it is not loading any module in production. I really appreciat...
Error Modules & Dependencies production
https://api.github.com/repos/nestjs/nest/issues/5398/comments
6
2020-09-08T21:17:59Z
2021-07-16T16:00:34Z
https://github.com/nestjs/nest/issues/5398
696,184,144
5,398
[ "nestjs", "nest" ]
## Feature Request Nest.js should have a mail module that provides an integration for nodemailer/email-templates. There are already third-party solutions available, for example: - https://github.com/nest-modules/mailer (depends on nodemailer) - https://github.com/toondaey/nestjs-mailer (depends on email-templa...
Add official @nestjs/mail module
https://api.github.com/repos/nestjs/nest/issues/5388/comments
16
2020-09-06T21:59:26Z
2021-02-11T13:29:12Z
https://github.com/nestjs/nest/issues/5388
694,543,852
5,388
[ "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 [...] --> Create a CRUD API using just CLI. ## Describe the solution you'd like <!-- A clear and concise description of what you want to h...
Create CRUD API using CLI
https://api.github.com/repos/nestjs/nest/issues/5386/comments
2
2020-09-04T18:11:07Z
2020-09-07T07:36:15Z
https://github.com/nestjs/nest/issues/5386
693,456,959
5,386
[ "nestjs", "nest" ]
## Bug Report ## Current behavior Libraries generated by nest cli have one entry point "index.ts". This "index.ts" may contain a lot of exports, which slow down a lot unit testing. I'm not sure how to explain this, so let me show you with code: ## Input Code <!-- REPL or Repo link if applicable: --> Let...
Scaling issue while testing libraries
https://api.github.com/repos/nestjs/nest/issues/5385/comments
10
2020-09-04T13:13:10Z
2020-09-05T00:10:48Z
https://github.com/nestjs/nest/issues/5385
693,155,646
5,385
[ "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...
IIS web.config setting to http and web socket
https://api.github.com/repos/nestjs/nest/issues/5384/comments
1
2020-09-04T11:41:33Z
2020-09-07T07:36:19Z
https://github.com/nestjs/nest/issues/5384
693,078,806
5,384
[ "nestjs", "nest" ]
## Feature Request ## Is your feature request related to a problem? Please describe. Given a DTO with a following property definition: ``` class Dto { @Expose() @IsDefined() @ValidateNested({ each: true }) @Type((unit) => CustomType) props: CustomType[] } ``` and CustomType e.g. ``` ex...
ValidationPipe does not specify property name when ValidateNested is used with custom type array
https://api.github.com/repos/nestjs/nest/issues/5380/comments
5
2020-09-03T14:38:48Z
2020-12-08T10:38:26Z
https://github.com/nestjs/nest/issues/5380
692,030,420
5,380
[ "nestjs", "nest" ]
## Bug Report ## Current behavior When using HMR, upon any changes in file, nest js crashes and I get following error. ``` EntityMetadataNotFound: No metadata for "User" was found. ``` ## Expected behavior I have followed this guidance with CLI. https://docs.nestjs.com/recipes/hot-reload ## Environment ...
EntityMetadataNotFoundError with HMR
https://api.github.com/repos/nestjs/nest/issues/5377/comments
8
2020-09-02T19:25:08Z
2024-09-29T08:23:49Z
https://github.com/nestjs/nest/issues/5377
691,357,857
5,377
[ "nestjs", "nest" ]
Hi, I need to do the mock data testing for the controller and service files. I followed this link https://docs.nestjs.com/techniques/database#testing-1 help me to write the test files using NestJs+Jest(with mock data) What is mockModel and how to create similar to that with ApplicationUser refer the code...
Examples for mock data testing with Sequalize module
https://api.github.com/repos/nestjs/nest/issues/5375/comments
2
2020-09-02T08:58:05Z
2022-12-13T23:12:31Z
https://github.com/nestjs/nest/issues/5375
690,845,782
5,375
[ "nestjs", "nest" ]
## Bug Report While I run `npm run start` I'm getting this error ` Nest can't resolve dependencies of the UserService (?). Please make sure that the argument UserRepository at index [0] is available in the AuthModule context. Potential solutions: - If UserRepository is a provider, is it part of the current Aut...
Error: Nest can't resolve dependencies of the UserService (?). Please make sure that the argument UserRepository at index [0] is available in the AuthModule context.
https://api.github.com/repos/nestjs/nest/issues/5372/comments
2
2020-09-02T04:03:18Z
2020-09-07T07:38:32Z
https://github.com/nestjs/nest/issues/5372
690,696,711
5,372
[ "nestjs", "nest" ]
## Bug Report ## Current behavior When trying to call $method_definitions and $method_names, I get the error `TypeError: Function.prototype.apply was called on #<Object>, which is a object and not a function` thrown at [this line](https://github.com/nestjs/nest/blob/v7.4.4/packages/microservices/client/client-grpc....
Calling $method_definitions and $method_names from gRPC client results in an error
https://api.github.com/repos/nestjs/nest/issues/5371/comments
3
2020-09-01T21:46:57Z
2020-10-29T12:43:32Z
https://github.com/nestjs/nest/issues/5371
690,472,146
5,371
[ "nestjs", "nest" ]
## Bug Report ## Current behavior <!-- Describe how the issue manifests. --> Trying the use the recipe for running multiple servers in nest according to this FAQ https://docs.nestjs.com/faq/multiple-servers ## Terminal response ```sh (node:6955) UnhandledPromiseRejectionWarning: TypeError: express_1.default...
express_1.default is not a function using Nestjs with ExpressAdapter
https://api.github.com/repos/nestjs/nest/issues/5356/comments
1
2020-08-31T05:46:27Z
2020-08-31T06:33:10Z
https://github.com/nestjs/nest/issues/5356
688,922,370
5,356
[ "nestjs", "nest" ]
## Bug Report ## Current behavior Async provider added to the application root module and exported but its not available to the `NestModule` middleware. ## Input Code Repo: https://github.com/manju-reddys/nest_7.4.2_gql ```ts // Async provider export async function asyncClient(): Promise<string> { r...
Async provider export in parent not available in `NestModule`
https://api.github.com/repos/nestjs/nest/issues/5355/comments
4
2020-08-30T17:44:58Z
2020-08-30T19:47:48Z
https://github.com/nestjs/nest/issues/5355
688,760,770
5,355
[ "nestjs", "nest" ]
## Bug Report The application is dropping fields and creating sequences when they already exist. *if this is a problem with typeorm then I will make a bug report there* ## Current behavior I was following this tutorial https://www.techiediaries.com/nestjs-tutorial-rest-api-crud/ on how to create a simple CRUD w...
Don't change table if already exists
https://api.github.com/repos/nestjs/nest/issues/5354/comments
3
2020-08-30T15:33:43Z
2022-06-27T06:56:17Z
https://github.com/nestjs/nest/issues/5354
688,739,755
5,354
[ "nestjs", "nest" ]
## Feature Request ## Is your feature request related to a problem? Please describe. In Nest you can create a custom logger by implementing the `LoggerService` interface from here https://github.com/nestjs/nest/blob/master/packages/common/services/logger.service.ts#L11 and passing instance of a custom logger to `...
[Proposal] Refactor Logger implementation for better extensibility
https://api.github.com/repos/nestjs/nest/issues/5353/comments
3
2020-08-30T10:06:57Z
2021-01-25T08:20:27Z
https://github.com/nestjs/nest/issues/5353
688,690,758
5,353
[ "nestjs", "nest" ]
https://github.com/nestjs/nest/blob/e70196b8c20dd597fe98f4d3daeda588af0e832f/packages/core/injector/container.ts#L97 you need to wait for the promises to finish or it may cause unhandaled promise rejection and race conditions.
missing await
https://api.github.com/repos/nestjs/nest/issues/5347/comments
1
2020-08-28T12:35:13Z
2020-08-28T13:11:44Z
https://github.com/nestjs/nest/issues/5347
688,043,733
5,347
[ "nestjs", "nest" ]
## Bug Report ## Current behavior Testing "n" cases i have seen the API stucks and didn't sent response to UI/Postman and the. This weird behavior happens when you try to connect to a microservice TCP based in a pattern. ## Input Code <!-- REPL or Repo link if applicable: --> Not working example ```ts @Post...
API Call not responding after @Res declaration and TCP microservice connection
https://api.github.com/repos/nestjs/nest/issues/5345/comments
2
2020-08-28T03:06:45Z
2020-08-28T03:24:56Z
https://github.com/nestjs/nest/issues/5345
687,676,172
5,345
[ "nestjs", "nest" ]
## NestJs version 7.x.x "@nestjs-modules/mailer": "^1.5.1", "@nestjs/common": "^7.4.2", "@nestjs/config": "^0.5.0", "@nestjs/core": "^7.4.2", "@nestjs/platform-express": "^7.4.2", "@nestjs/swagger": "^4.6.0", "@nestjs/typeorm": "^7.1.1", ## Input Code <!-- REPL or Repo link if ap...
Controllers gets crazy !
https://api.github.com/repos/nestjs/nest/issues/5342/comments
1
2020-08-27T12:48:59Z
2020-08-27T16:52:23Z
https://github.com/nestjs/nest/issues/5342
687,216,082
5,342
[ "nestjs", "nest" ]
## Bug Report ## Current behavior Exception filter is not working after upgrading to fastify v3. Previously with fastify v2 is working fine. The error is originated from `auth.middleware.ts` which should be catched by `exception.filter.ts`. Also, `res.status` and `res.send` is also undefined inside the exception fi...
Exception filters is not working with fastify v3
https://api.github.com/repos/nestjs/nest/issues/5341/comments
5
2020-08-27T07:48:17Z
2020-08-31T10:48:57Z
https://github.com/nestjs/nest/issues/5341
687,024,848
5,341
[ "nestjs", "nest" ]
## Environment <pre><code> "@nestjs/platform-fastify": "^7.4.2", </code></pre>
Generic type 'FastifyRequest<RouteGeneric, RawServer, RawRequest, HttpRequest>' requires 4 type argument(s).
https://api.github.com/repos/nestjs/nest/issues/5340/comments
6
2020-08-27T07:25:53Z
2021-07-05T07:11:08Z
https://github.com/nestjs/nest/issues/5340
687,011,444
5,340
[ "nestjs", "nest" ]
## Bug Report ## Current behavior When applying a decorator to a controller method, Swagger ignores the body type of the the @Body. The @Body documentation is missing from Swagger but the logic behind the rateLimit decorator (which is my own decorator - not a nestJS decorator https://github.com/vlio20/utils-deco...
When decorator applied to controller body is ignored form Swagger
https://api.github.com/repos/nestjs/nest/issues/5337/comments
4
2020-08-26T18:43:53Z
2020-08-26T21:11:01Z
https://github.com/nestjs/nest/issues/5337
686,536,107
5,337
[ "nestjs", "nest" ]
## Bug Report When setting the allowed origins for cors and using regex, all origin are matched. ## Current behavior <!-- Describe how the issue manifests. --> After setting a regex for allowed origins, any value in the request header Origin is valid, and is included in the response header access-control-allow-o...
When using regex in allowed origins, all origin matches
https://api.github.com/repos/nestjs/nest/issues/5336/comments
2
2020-08-26T16:50:14Z
2020-08-28T08:13:20Z
https://github.com/nestjs/nest/issues/5336
686,470,002
5,336
[ "nestjs", "nest" ]
# Feature Request ## Scenario description I recently added an interceptor to my code that determines what the value of cache ttl will be based on request parameters, kind of a conditional ttl. ## Problem description When I want to define ttl as metadata on handler we need constant token of `CACHE_TTL_METADATA` a...
Export other cache constant token as public api
https://api.github.com/repos/nestjs/nest/issues/5335/comments
1
2020-08-26T10:54:51Z
2020-11-02T12:16:39Z
https://github.com/nestjs/nest/issues/5335
686,222,354
5,335
[ "nestjs", "nest" ]
## Bug Report Upgrade from `7.0.1` to `7.4.2` ## Current behavior The middleware registered to all requests are not invoked for graphql request and so the user inject into the request is not available to graphql queries. ## Input Code ``` # main.ts app.setGlobalPrefix('/api/v3'); // app.module.ts // se...
Middleware not called for GraphQL request in 7.4.2 (upgrade from 7.0.1)
https://api.github.com/repos/nestjs/nest/issues/5320/comments
18
2020-08-24T20:28:06Z
2020-11-16T11:01:14Z
https://github.com/nestjs/nest/issues/5320
684,944,430
5,320
[ "nestjs", "nest" ]
To repro: 1. use node v13.14.0 2. scaffold out a fresh nest project, `nest new backend`, 3. cd into it, and run `npm start` See it crash with the error: ``` > backend@0.0.1 start /Users/jim/Git-Projects/NestJs-Types-Over-The-Wire/backend > nest start /Users/jim/Git-Projects/NestJs-Types-Over-The-...
"SyntaxError: Unexpected token {" on fresh scaffold
https://api.github.com/repos/nestjs/nest/issues/5309/comments
1
2020-08-23T15:23:25Z
2020-08-23T15:26:20Z
https://github.com/nestjs/nest/issues/5309
684,203,127
5,309
[ "nestjs", "nest" ]
## Bug Report Original issue here https://github.com/fastify/help/issues/228. While the workaround in that thread works, it leaves open handles and has to hardcode port number. Also, they seem to conclude that something in `app.init` has to be changed. ## Current behavior <!-- Describe how the issue manifests. -->...
e2e testing not working with fastify V3
https://api.github.com/repos/nestjs/nest/issues/5308/comments
5
2020-08-23T07:53:35Z
2021-01-07T07:54:45Z
https://github.com/nestjs/nest/issues/5308
684,136,144
5,308
[ "nestjs", "nest" ]
## Bug Report ## Current behavior If you inject two classes with the same name, the first class in the providers list will be injected for both classes. This is a pretty rare issue, but many third-party packages export classes with generic names such as "Client". A couple workarounds: - Restructure your depen...
Classes with the same names are not injected properly
https://api.github.com/repos/nestjs/nest/issues/5306/comments
2
2020-08-21T19:15:37Z
2020-08-21T19:50:05Z
https://github.com/nestjs/nest/issues/5306
683,777,038
5,306
[ "nestjs", "nest" ]
I'm developing a project with nestjs and i try to run my unitest. most of my tests works well but in specific condition there is an error - `TypeError: queryOptions.getRawMany is not a function` Service function: let queryOptions = this.internalSearchReportRepository .create...
Testing module not recognize a specific function
https://api.github.com/repos/nestjs/nest/issues/5297/comments
1
2020-08-20T15:51:22Z
2020-08-21T06:42:14Z
https://github.com/nestjs/nest/issues/5297
682,836,819
5,297
[ "nestjs", "nest" ]
## Bug Report ## Current behavior Executing `test:cov` also executes the e2e tests in monorepo mode (`apps` folder structure project). This is because the `.spec.ts$` is not proper regex to capture unit test files (the dots act as any character). ## Expected behavior All the unit tests of applications/librarie...
Monorepo mode unit testing executes e2e tests as well
https://api.github.com/repos/nestjs/nest/issues/5293/comments
3
2020-08-20T07:54:22Z
2020-11-02T09:03:53Z
https://github.com/nestjs/nest/issues/5293
682,505,298
5,293
[ "nestjs", "nest" ]
I have a custom decorator like this. Not sure how to access the Request instance inside the CustomGuard? ``` export function CustomGuard() { return applyDecorators( UseGuards(JwtAuthGuard) ); } ``` Basically we have a shared Auth module in which we can have JWT or Google Auth. We want to imp...
Access Request Instance in Custom Decorator
https://api.github.com/repos/nestjs/nest/issues/5292/comments
0
2020-08-20T01:40:33Z
2020-08-20T03:45:24Z
https://github.com/nestjs/nest/issues/5292
682,286,095
5,292
[ "nestjs", "nest" ]
At present, we want to use Nest in the middle layer of our project. If server-side rendering is required in the page, what if we use Nest to write?
Does Nest currently support server-side rendering?
https://api.github.com/repos/nestjs/nest/issues/5290/comments
1
2020-08-19T11:38:39Z
2020-08-19T11:44:02Z
https://github.com/nestjs/nest/issues/5290
681,771,479
5,290
[ "nestjs", "nest" ]
Let's say I have the following service: ``` export const QB: FB = { provide: QUERY_BUILDER, scope: Scope.TRANSIENT, useFactory: () => new QueryBuilder(params), }; ``` And I wanna use inject it into `@Controller`. Smth like this: ``` @Inject(QUERY_BUILDER) private requestBuilder: RequestBuilder ``` ...
Is it possible to inject an array of similar services?
https://api.github.com/repos/nestjs/nest/issues/5288/comments
1
2020-08-18T10:59:34Z
2020-08-19T09:57:00Z
https://github.com/nestjs/nest/issues/5288
680,942,562
5,288
[ "nestjs", "nest" ]
## Bug Report ## Current behavior SO, this is really weird, and not sure if it's easy to simulate. I am running my dev server using `nest start --watch` . I got the following log: ``` yarn dev yarn run v1.22.4 $ nodemon src/server.ts [nodemon] 1.18.10 [nodemon] to restart at any time, enter `rs` [nodemon]...
Nest start is using the wrong folder
https://api.github.com/repos/nestjs/nest/issues/5287/comments
2
2020-08-18T01:26:01Z
2020-08-19T10:44:49Z
https://github.com/nestjs/nest/issues/5287
680,621,276
5,287
[ "nestjs", "nest" ]
## Bug Report ## Current behavior same as issue #3128, however it was not solved on nestjs 7.0.0 ## Input Code ```ts // main.ts import { NestFactory } from '@nestjs/core'; import { FastifyAdapter, NestFastifyApplication, } from '@nestjs/platform-fastify' import { AppModule } from './app.module'; ...
[Fastify-Adapter] Injecting @Res() resulting timeout of endpoint on v7.0.0
https://api.github.com/repos/nestjs/nest/issues/5283/comments
1
2020-08-17T15:44:13Z
2020-08-19T09:56:54Z
https://github.com/nestjs/nest/issues/5283
680,333,783
5,283
[ "nestjs", "nest" ]
## Feature Request ## Is your feature request related to a problem? Please describe. Many loggers have an `info()` method and having it in the default Logger/LoggerService allows easily switching between different kinds of loggers. ## Describe the solution you'd like Add an `info()` method to LoggerService and ...
Add info() method to Logger/LoggerService
https://api.github.com/repos/nestjs/nest/issues/5281/comments
10
2020-08-17T10:14:18Z
2020-11-16T12:23:47Z
https://github.com/nestjs/nest/issues/5281
680,117,254
5,281
[ "nestjs", "nest" ]
## Bug Report ## Current behavior After upgrading the fastify adapter to the latest version (7.4.2) it stopped working with POST requests, it simply throws the following error: "Unsupported Media Type: application/x-www-form-urlencoded +54073ms | FastifyError: Unsupported Media Type: application/x-www-form-urlenc...
FastifyError: Unsupported Media Type: application/x-www-form-urlencoded
https://api.github.com/repos/nestjs/nest/issues/5279/comments
14
2020-08-16T19:16:57Z
2020-08-19T10:47:15Z
https://github.com/nestjs/nest/issues/5279
679,809,805
5,279
[ "nestjs", "nest" ]
Hi, I'm following an udemy tutorial and we are building an API but I'm having this error I do not know what is the problem, can someone help me? ![image](https://user-images.githubusercontent.com/22060566/90318716-5f4b8400-df00-11ea-983e-ea182f9e68af.png) I think that the problem is in this part: ![image](https...
Metatype is not a constructor at Injector.instantiateClass
https://api.github.com/repos/nestjs/nest/issues/5277/comments
1
2020-08-15T18:06:33Z
2020-08-15T18:49:43Z
https://github.com/nestjs/nest/issues/5277
679,618,904
5,277
[ "nestjs", "nest" ]
## I'm submitting a... ``` [ ] Regression [x] Bug report [ ] Feature request [ ] Documentation issue or request [ ] Support request => Please do not submit support request here, instead post your question on Stack Overflow. ``` ## Current behavior `REQUEST` does not inject in request-scoped provider when ...
Request scoped provider works incorrectly with auth guard
https://api.github.com/repos/nestjs/nest/issues/5274/comments
2
2020-08-14T14:07:09Z
2020-08-17T23:07:45Z
https://github.com/nestjs/nest/issues/5274
679,181,412
5,274
[ "nestjs", "nest" ]
Hi there, I have an unique key for email in mongodb database. I'm trying to insert duplicate email and it is showing me this error. ``` { "statusCode": 500, "message": "Internal server error" } ``` But in the console it says, ``` [ExceptionsHandler] E11000 duplicate key error collection: da...
How to handle mongoose error on demand without creating global error filters.
https://api.github.com/repos/nestjs/nest/issues/5273/comments
0
2020-08-14T13:28:19Z
2020-08-14T13:45:42Z
https://github.com/nestjs/nest/issues/5273
679,157,147
5,273
[ "nestjs", "nest" ]
## Bug Report ## Current behavior This took the best part of a day to figure out and drove me to question everything, but naming a GraphQL model `Subscription` prevents `ResolveField` in the resolver to fire. ## Input Code Given the following model and resolver: ```ts // test.model.ts import { Field, ObjectT...
Subscription naming convention breaks ResolveField
https://api.github.com/repos/nestjs/nest/issues/5272/comments
1
2020-08-14T10:00:19Z
2020-08-19T10:47:25Z
https://github.com/nestjs/nest/issues/5272
679,047,550
5,272
[ "nestjs", "nest" ]
this is the code ```ts class Service1 {} class Service2 {} class Service99 {} class Service100 {} @Injectable() export class Super { constructor( protected readonly service1: Service1, protected readonly service2: Service2, // .... protected readonly service3: Service99 ) {} } @I...
How do I add properties to a constructor in a subclass
https://api.github.com/repos/nestjs/nest/issues/5271/comments
1
2020-08-14T08:34:17Z
2020-08-19T10:47:35Z
https://github.com/nestjs/nest/issues/5271
678,997,760
5,271
[ "nestjs", "nest" ]
## Bug Report Note: I created an issue because I experience this issue, but it was already properly described by someone else on StackOverflow, see [here](https://stackoverflow.com/questions/60749135/nestjs-validationpipe-in-websocketgateway-returns-internal-server-error). I'm trying to add some validation to my ...
ValidationPipe in WebsocketGateway returns Internal Server Error
https://api.github.com/repos/nestjs/nest/issues/5267/comments
6
2020-08-13T06:57:49Z
2021-04-06T06:44:26Z
https://github.com/nestjs/nest/issues/5267
678,201,948
5,267
[ "nestjs", "nest" ]
## Bug Report Seems like NestJS Class Validation is not behaving the same in testing environment (with `supertest`) and in dev/prod environment (`axios`, Postman). <img width="548" alt="Screen Shot 2563-08-13 at 02 49 56" src="https://user-images.githubusercontent.com/9304909/90060967-af172900-dd0f-11ea-8b73-678b...
NestJS class-validator is not the same in e2e testing mode
https://api.github.com/repos/nestjs/nest/issues/5264/comments
9
2020-08-12T19:54:39Z
2021-04-19T06:49:42Z
https://github.com/nestjs/nest/issues/5264
677,938,221
5,264
[ "nestjs", "nest" ]
## Feature Request I didn't see any old/closed issues referring to supporting sending files other than support requests that were directed towards [Discord](https://discord.gg/nestjs). I'd like to see Nest support sending files out of the box, by making a check in the `reply` method of the `ExpressAdapter` and `...
Sending Files
https://api.github.com/repos/nestjs/nest/issues/5263/comments
3
2020-08-12T19:43:36Z
2020-11-02T12:17:38Z
https://github.com/nestjs/nest/issues/5263
677,932,322
5,263
[ "nestjs", "nest" ]
## Bug Report ## Current behavior C:\Users\selvy\WebstormProjects\ETS3>npm i -g @nestjs/cli npm WARN deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated npm WARN deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated npm WARN deprecated chokidar@2.1.8: Chokidar 2 w...
lots of warnings on install, mainly deprecated packages
https://api.github.com/repos/nestjs/nest/issues/5260/comments
3
2020-08-12T11:11:22Z
2020-10-29T23:12:47Z
https://github.com/nestjs/nest/issues/5260
677,603,753
5,260
[ "nestjs", "nest" ]
## Feature Request ## Is your feature request related to a problem? Please describe. Using a few decorators make you method code very neat. But using lots of decorators make it too noisy and flickering. Using @nestjs/swagger is super useful but unfortunately leads to a decorators count increasing. ## Describe ...
Make SwaggerModule.createDocument parse some decorators from @nestjs/common
https://api.github.com/repos/nestjs/nest/issues/5257/comments
1
2020-08-11T22:05:52Z
2020-08-12T12:24:49Z
https://github.com/nestjs/nest/issues/5257
677,228,862
5,257
[ "nestjs", "nest" ]
## Feature Request ## Is your feature request related to a problem? Please describe. Some times teams uses non-standard status codes. For example for internal projects and with following any internal conventions. But if you try to pass a non-standard status code to a @HttpCode decorator, like @HttpCode(277), the...
Second optional argument with a status message for a @HttpCode decorator
https://api.github.com/repos/nestjs/nest/issues/5256/comments
1
2020-08-11T21:36:44Z
2020-08-12T12:26:06Z
https://github.com/nestjs/nest/issues/5256
677,213,798
5,256
[ "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...
nestjs core is dependent on core-js deprecated version. How do I upgrade to the latest version
https://api.github.com/repos/nestjs/nest/issues/5255/comments
1
2020-08-11T20:09:02Z
2020-08-12T12:26:16Z
https://github.com/nestjs/nest/issues/5255
677,163,817
5,255
[ "nestjs", "nest" ]
## Bug Report ## Current behavior Set the validation pipe globally with transform true: `app.useGlobalPipes(new ValidationPipe({ transform: true }));` Have a route taking path params e.g.: ``` @Get(':val') methodName(@Param() params: PathParamsWithPropertiesThatWeWantToBeIntegers) { } ``` ``` class P...
Validation pipe primitive transformation not working
https://api.github.com/repos/nestjs/nest/issues/5253/comments
8
2020-08-11T18:49:02Z
2024-07-23T20:43:56Z
https://github.com/nestjs/nest/issues/5253
677,113,549
5,253
[ "nestjs", "nest" ]
## Bug Report ## Current behavior I do have the following controller method which I'm trying to unit test: ``` @Get('list') public async findAll(@Res() res) { try { const users = await this.usersService.findAll(); return res.status(HttpStatus.OK).json(users); } c...
Unit test for controller
https://api.github.com/repos/nestjs/nest/issues/5252/comments
1
2020-08-11T16:40:05Z
2020-08-12T12:16:41Z
https://github.com/nestjs/nest/issues/5252
677,027,452
5,252
[ "nestjs", "nest" ]
import { NestFactory } from '@nestjs/core'; import { Transport, MicroserviceOptions } from '@nestjs/microservices'; import { AppModule } from './app.module'; async function bootstrap() { const app2 = await NestFactory.createMicroservice<MicroserviceOptions>( { transport: Transport.TCP, opti...
怎么同时启用http 和 tcp
https://api.github.com/repos/nestjs/nest/issues/5245/comments
0
2020-08-11T07:53:11Z
2020-08-11T08:01:49Z
https://github.com/nestjs/nest/issues/5245
676,663,262
5,245
[ "nestjs", "nest" ]
## Bug Report I'm using websockets and I need to use some specific headers. I need to be able to use my custom `configService` to get the values that I want. Right now it seems that it can't be achieved. ## Input Code <!-- REPL or Repo link if applicable: --> ```ts @WebSocketGateway({ handlePreflightReq...
WebSocketGateway should allow services
https://api.github.com/repos/nestjs/nest/issues/5244/comments
5
2020-08-11T07:44:55Z
2021-12-09T09:22:13Z
https://github.com/nestjs/nest/issues/5244
676,658,477
5,244
[ "nestjs", "nest" ]
## Bug Report ## Current behavior <!-- Describe how the issue manifests. --> I'm trying to import variables from a directory below my service (which was created with nestjs CLI in fact), but compilation can't be done due to Error: Cannot find module 'PATH\nest-build-bug\my-service\dist\main'. Moreover sometimes (q...
Nest does not build properly
https://api.github.com/repos/nestjs/nest/issues/5243/comments
1
2020-08-10T22:20:05Z
2020-08-11T06:52:18Z
https://github.com/nestjs/nest/issues/5243
676,450,876
5,243
[ "nestjs", "nest" ]
## Bug Report ## Current behavior I have an endpoint that is returning 500 when it should be returning 400. The controller associated with this endpoint is throwing a BadRequestException, but when it bubbles up to the global Nest error handling mechanism it is not being recognized as an instance or subclass of Ht...
BadRequestException 400 getting returned to client as a 500 error
https://api.github.com/repos/nestjs/nest/issues/5241/comments
7
2020-08-10T18:14:11Z
2021-03-30T13:43:15Z
https://github.com/nestjs/nest/issues/5241
676,322,657
5,241
[ "nestjs", "nest" ]
## Feature Request I'm curently using mysql with typeORM in a NestJS project and I would like to offer a suggestion. ### How it's working now: As of now, you have to declare each entity twice instead of once once in the forRoot and again in the forFeature function. app.module.ts: ```typescript @Module({ impo...
[Suggestion] Declaration of entities in TypeOrmModule.forFeature add them automaticly in typeOrmModule.forRoot entities list
https://api.github.com/repos/nestjs/nest/issues/5240/comments
2
2020-08-10T17:57:25Z
2020-08-11T08:31:42Z
https://github.com/nestjs/nest/issues/5240
676,313,382
5,240
[ "nestjs", "nest" ]
## Bug Report ## Current behavior I'm sending a application/x-www-form-urlencoded POST request and Nest won't parse the data, i get: ``` {"statusCode":400,"message":["email must be an email"],"error":"Bad Request"} ``` ## Input Code ``` curl -d "test@user.com&password=asdfasdf" -H "Content-Type: appli...
Nest.js won't accept application/x-www-form-urlencoded?
https://api.github.com/repos/nestjs/nest/issues/5237/comments
1
2020-08-10T03:36:00Z
2020-08-10T06:18:04Z
https://github.com/nestjs/nest/issues/5237
675,842,118
5,237
[ "nestjs", "nest" ]
## Bug Report ## Current behavior I can't run nest start because I'm getting ```sh $ npm start ``` ``` Nest] 2313 - 2020/08/09 10:02:24 [NestFactory] Starting Nest application... [Nest] 2313 - 2020/08/09 10:02:24 [ExceptionHandler] Nest can't resolve dependencies of the ProjectRepoService (Identi...
Nest can't resolve dependencies of service when starting up, despite e2e tests using the whole AppModule running just fine.
https://api.github.com/repos/nestjs/nest/issues/5235/comments
9
2020-08-09T08:19:07Z
2020-08-10T06:18:22Z
https://github.com/nestjs/nest/issues/5235
675,659,200
5,235
[ "nestjs", "nest" ]
## Bug Report Promise<void> doesn't resolve completely when running NESTJS standalone app as a script ## Current behavior <!-- Describe how the issue manifests. --> App closes before Promise resolves ( i.e `await app.close()`) ## Input Code <!-- REPL or Repo link if applicable: --> ```ts import { AppModule } ...
Promise<void> doesn't resolve completely when running NESTJS standalone app as a script
https://api.github.com/repos/nestjs/nest/issues/5234/comments
0
2020-08-08T18:32:22Z
2020-08-08T18:48:07Z
https://github.com/nestjs/nest/issues/5234
675,568,611
5,234
[ "nestjs", "nest" ]
## Feature Request ## Is your feature request related to a problem? Please describe. I want to make sure the object my api returns is of the right type. As Example: ``` @Get() test(): User { const x: any = { username: 'username', id: '0', noUserProperty: 'something' }; return x; } ``` should ...
Predifined data for reflectors
https://api.github.com/repos/nestjs/nest/issues/5229/comments
1
2020-08-07T09:34:23Z
2020-08-10T06:22:01Z
https://github.com/nestjs/nest/issues/5229
674,892,262
5,229
[ "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 [...] --> I am currently using NestJS Microservices v7.4.2 which is dynamically requiring GRPC lib for ClientGrpcProxy. However, GRPC lib is be...
Upgrading from grpc to @grpc/grpc-js
https://api.github.com/repos/nestjs/nest/issues/5227/comments
2
2020-08-06T20:24:39Z
2020-08-07T07:04:49Z
https://github.com/nestjs/nest/issues/5227
674,579,532
5,227
[ "nestjs", "nest" ]
## Bug Report ## Current behavior Validate nested objects is not working for me. Here's An example of what I'm trying to do: ```ts export class AdministratorDto { @IsNotEmpty() readonly firstName: string } export class BasicInformationDto { @ValidateNested() @Type(() => AdministratorDto) read...
ValidateNested Is not working as expected
https://api.github.com/repos/nestjs/nest/issues/5226/comments
2
2020-08-06T19:40:24Z
2020-08-06T21:08:45Z
https://github.com/nestjs/nest/issues/5226
674,556,098
5,226
[ "nestjs", "nest" ]
The problem mentioned in #2065 did not receive a proper solution. The issue was locked automatically, and therefore I want to give my solution to this problem here. @raffomania is using Fastify, which sets its parameter length limit to 100 characters, which is problematic if using an email as parameter. It was menti...
Can't accept URL params longer than 100 characters solution
https://api.github.com/repos/nestjs/nest/issues/5225/comments
3
2020-08-06T14:48:25Z
2023-03-30T13:35:45Z
https://github.com/nestjs/nest/issues/5225
674,372,780
5,225
[ "nestjs", "nest" ]
## Bug Report ## Current behavior When Fastify throws an error, it adds the `statusCode` field to the error object. NestJS ignores this field (and the error message) and always sets the response code to 500. ## Input Code <!-- REPL or Repo link if applicable: --> [Repo](https://github.com/mohd-akram/nestjs-swa...
FastifyError message/statusCode is ignored
https://api.github.com/repos/nestjs/nest/issues/5224/comments
4
2020-08-06T12:58:04Z
2020-12-21T11:45:31Z
https://github.com/nestjs/nest/issues/5224
674,293,582
5,224
[ "nestjs", "nest" ]
## Bug Report ## Current behavior <!-- Describe how the issue manifests. --> ## Input Code <!-- REPL or Repo link if applicable: --> ```ts const your = (code) => here; ``` ## Expected behavior <!-- A clear and concise description of what you expected to happen (or code). --> ## Possible Solution <!...
I provide PrismaClient over DI useValue, after update Nest from 7.1.3 to 7.4.2 it does not work application freeze on start
https://api.github.com/repos/nestjs/nest/issues/5223/comments
1
2020-08-06T12:57:34Z
2020-08-06T13:07:01Z
https://github.com/nestjs/nest/issues/5223
674,293,239
5,223
[ "nestjs", "nest" ]
npm i -g @nestjs/cli 此命令出错 npm ERR! code E404 npm ERR! 404 Not Found - GET https://registry.npmjs.org/@nestjs%2fcli - Not found npm ERR! 404 npm ERR! 404 '@nestjs/cli@latest' is not in the npm registry. npm ERR! 404 You should bug the author to publish it (or use the name yourself!) npm ERR! 404 npm ERR! 4...
构建工程安装出错
https://api.github.com/repos/nestjs/nest/issues/5221/comments
5
2020-08-06T10:09:04Z
2020-08-07T02:48:06Z
https://github.com/nestjs/nest/issues/5221
674,194,675
5,221
[ "nestjs", "nest" ]
## Bug Report ## Current behavior Following packages can not be installed. <pre><code> "@nestjs/common": "^6.11.3", "@nestjs/config": "^0.5.0", "@nestjs/core": "^6.11.3", "@nestjs/jwt": "^6.1.1", "@nestjs/passport": "^6.1.0", "@nestjs/platform-express": "^6.11.3", "@nestjs/swagger": "^4.2.2", "@nestjs/typ...
npm install command is not working for NestJs and its packages
https://api.github.com/repos/nestjs/nest/issues/5220/comments
10
2020-08-06T10:04:47Z
2020-08-06T20:13:30Z
https://github.com/nestjs/nest/issues/5220
674,192,232
5,220
[ "nestjs", "nest" ]
## Bug Report Try to install `"@nestjs/common": "^6.0.0"` and get error ## Current behavior ``` error An unexpected error occurred: "https://registry.yarnpkg.com/@nestjs/common/-/common-6.9.0.tgz: Request failed \"404 Not Found\"". ``` ## Expected behavior lib installed successfully ## Possible Soluti...
Not Found common-6.9.0.tgz
https://api.github.com/repos/nestjs/nest/issues/5219/comments
2
2020-08-06T09:59:18Z
2020-08-06T10:15:43Z
https://github.com/nestjs/nest/issues/5219
674,188,930
5,219
[ "nestjs", "nest" ]
## Bug Report ## Current behavior <!-- Describe how the issue manifests. --> After installing the nestjs, when i hit npm start. It will give below error Error host.onConfigFileDiagnostic is not a function ## Input Code <!-- REPL or Repo link if applicable: --> nest new projectname npm run start:dev ...
error after install nestjs
https://api.github.com/repos/nestjs/nest/issues/5218/comments
3
2020-08-06T09:31:01Z
2021-01-29T08:02:31Z
https://github.com/nestjs/nest/issues/5218
674,171,430
5,218
[ "nestjs", "nest" ]
## Bug Report ## Current behavior When importing services to a guard mixin using a constructor, even when the module the guard is used in imports all the correct associated modules, said services come up as `undefined`. ## Input Code [Repository to see the behavior described](https://github.com/Figments/roles...
Guard mixin doesn't properly import services in constructor
https://api.github.com/repos/nestjs/nest/issues/5215/comments
3
2020-08-05T18:21:58Z
2020-08-06T07:00:29Z
https://github.com/nestjs/nest/issues/5215
673,750,439
5,215
[ "nestjs", "nest" ]
## Bug Report ## Current behavior i registered the onApplicationShutdown to ensure the graceful shutdown inside kubernetes , and enable the `enableShutdownHooks` , but the app always been shutdown immediately when receive the `SIGTERM`. like the below code , only output `ready to exit xxxxxx` code run in dock...
onApplicationShutdown close the app immediately rather than wait the Promise to be resolved
https://api.github.com/repos/nestjs/nest/issues/5214/comments
3
2020-08-05T17:54:12Z
2023-04-20T18:53:54Z
https://github.com/nestjs/nest/issues/5214
673,734,854
5,214
[ "nestjs", "nest" ]
## Bug Report ## Current behavior <!-- Describe how the issue manifests. --> Wildcard message pattern works only for MQTT and NATS ## Input Code <!-- REPL or Repo link if applicable: --> @MessagePattern('private-channel-*') @MessagePattern('private-channel-+') None of them work for Redis message pattern. ...
Wildcard support for Redis Microservices
https://api.github.com/repos/nestjs/nest/issues/5211/comments
3
2020-08-05T14:48:07Z
2021-02-02T13:46:07Z
https://github.com/nestjs/nest/issues/5211
673,598,770
5,211
[ "nestjs", "nest" ]
## Feature Request ## Describe the solution you'd like <!-- A clear and concise description of what you want to happen. Add any considered drawbacks. --> Nest makes use of the Express framework. As mentioned earlier, Nest also provides compatibility with other libraries such as, for example, Fastify, I think it wo...
Provides compatibility with Koa.js library
https://api.github.com/repos/nestjs/nest/issues/5210/comments
1
2020-08-05T11:53:39Z
2020-08-05T11:59:20Z
https://github.com/nestjs/nest/issues/5210
673,480,813
5,210
[ "nestjs", "nest" ]
## Bug Report I'm trying to inject service as dependency to Gateway, but each time I try to do that - app crashes. ## Current behavior <!-- Describe how the issue manifests. --> Get error each time while trying to inject any service. It seems that `this.<any injected module>` does not exist in that file after de...
Injecting Service cause Gateway crash
https://api.github.com/repos/nestjs/nest/issues/5208/comments
3
2020-08-05T08:02:03Z
2023-04-17T22:24:29Z
https://github.com/nestjs/nest/issues/5208
673,340,498
5,208
[ "nestjs", "nest" ]
## Bug Report ## Current behavior Getting error while instantiating the PaymentProcessorModule: ``` Error: Nest can't resolve dependencies of the PaymentProcessor (?, PaymentsService, ProcessingService). Please make sure that the argument TransactionsService at index [0] is available in the PaymentProcessor c...
Injection of a provider from the same module: can't resolve dependencies
https://api.github.com/repos/nestjs/nest/issues/5206/comments
2
2020-08-04T21:30:49Z
2020-08-05T06:55:37Z
https://github.com/nestjs/nest/issues/5206
673,095,257
5,206
[ "nestjs", "nest" ]
## Bug Report ## Current behavior I using platform-ws on nestjs app. Sometimes on websocket conenction is closing direct after initialization. After OnGatewayConnection.handleConnection function is finished i receive in log message: [Nest] 22144 - 08/04/2020, 8:16:49 PM [WsAdapter] Object: {} +10239601ms...
Websocket connection closes with empty error object
https://api.github.com/repos/nestjs/nest/issues/5205/comments
1
2020-08-04T19:43:26Z
2020-08-05T07:00:38Z
https://github.com/nestjs/nest/issues/5205
673,037,602
5,205
[ "nestjs", "nest" ]
Hello, I have a controller that inherits all CRUD methods from a generic superclass, I want to implement swagger on the inherited methods. I have made a class decorator based on the swagger method decorators, but modifies the metadata of the superclass methods, causing all the controllers that use this decorator to hav...
How to implements swagger decorators on class level?
https://api.github.com/repos/nestjs/nest/issues/5203/comments
0
2020-08-04T15:46:59Z
2020-08-04T20:13:16Z
https://github.com/nestjs/nest/issues/5203
672,894,844
5,203
[ "nestjs", "nest" ]
## Feature Request ## Is your feature request related to a problem? Please describe. I found #956 this issue while I was trying to solve my problem: And I realize I need solution to catch and handle any type of error globally in all my controllers. Is there any way to do this now in NestJS? ## Describe t...
Handling Errors in components
https://api.github.com/repos/nestjs/nest/issues/5202/comments
2
2020-08-04T13:03:37Z
2020-08-04T18:48:22Z
https://github.com/nestjs/nest/issues/5202
672,776,341
5,202
[ "nestjs", "nest" ]
Hello, I'm new to NestJS. Any way for me to create my own OAuth2 server using NestJS? Thank you
OAuth2 server with NestJS
https://api.github.com/repos/nestjs/nest/issues/5200/comments
1
2020-08-04T12:24:59Z
2020-08-05T07:00:47Z
https://github.com/nestjs/nest/issues/5200
672,751,916
5,200
[ "nestjs", "nest" ]
## Bug Report Cannot determine a GraphQL output type for the "createProfile". Make sure your class is decorated with an appropriate decorator, ## Current behavior I have defined my code as show above, I do a `nest build` and its generating ok the `dist` folder, but when I try `nest start` ```` [Nest] 29368 -...
Cannot determine a GraphQL output type for the "query or mutation name".
https://api.github.com/repos/nestjs/nest/issues/5199/comments
1
2020-08-04T10:26:57Z
2020-08-04T10:53:58Z
https://github.com/nestjs/nest/issues/5199
672,684,223
5,199
[ "nestjs", "nest" ]
## Bug Report ## Current behavior <!-- Describe how the issue manifests. --> Unit testing fails because "Nest can't resolve dependencies of the MonitoringSelectionService (?). Please make sure that the argument selectionModel at index [0] is available in the RootTestModule context." The MonitoringSelectionServic...
NestJs can't resolve mongoose dependency despite it being exported into root module
https://api.github.com/repos/nestjs/nest/issues/5198/comments
0
2020-08-04T10:14:54Z
2020-08-04T11:52:46Z
https://github.com/nestjs/nest/issues/5198
672,676,867
5,198
[ "nestjs", "nest" ]
## Feature Request ## Is your feature request related to a problem? Please describe. Nest documentation describes how to use `helmet` at https://docs.nestjs.com/techniques/security#helmet However, `helmet` does not work with Fastify the way it is described in the documentation. The following error will be trigge...
Add instructions for running helmet with fastify
https://api.github.com/repos/nestjs/nest/issues/5195/comments
6
2020-08-03T15:54:06Z
2020-11-05T18:44:14Z
https://github.com/nestjs/nest/issues/5195
672,175,029
5,195
[ "nestjs", "nest" ]
## Bug Report ## Current behavior When i try to start my app with cache-manager-redis-store a TypeError is thrown. This is thrown inside the ConfigService in the reduce-callback in bindCustomHelpers(config) ``` TypeError: Cannot set property create of #<Object> which has only a getter at /node_modules/...
Config service error when starting application with cache-manager-redis-store
https://api.github.com/repos/nestjs/nest/issues/5194/comments
1
2020-08-03T14:47:38Z
2020-08-04T07:10:36Z
https://github.com/nestjs/nest/issues/5194
672,130,156
5,194
[ "nestjs", "nest" ]
## Feature Request Controller Path Alias - Allow developers to be able to define multi-path in a single controller ## Is your feature request related to a problem? Please describe. I have an issue when I want to bind the controller and all the routes of it with another endpoint. I've read #255 and #331 but the s...
Controller Path Alias - Allow developers to be able to define multi-path in a single controller
https://api.github.com/repos/nestjs/nest/issues/5193/comments
3
2020-08-03T08:29:05Z
2020-11-16T11:02:56Z
https://github.com/nestjs/nest/issues/5193
671,899,528
5,193
[ "nestjs", "nest" ]
## Bug Report ## Current behavior If you send a payload that is too big for body-parser, it should respond with a HTTP code 413. But Nest's`Base Exception Filter` is [considering BP's exception as an unknown error](https://github.com/nestjs/nest/blob/01dfe29458a2851e42efe8d5b4d614caf9935742/packages/core/exceptions...
Body-parser errors always transformed to 500
https://api.github.com/repos/nestjs/nest/issues/5191/comments
5
2020-08-01T22:40:15Z
2020-12-21T11:45:44Z
https://github.com/nestjs/nest/issues/5191
671,263,212
5,191
[ "nestjs", "nest" ]
## Bug Report Build artifacts depend `node_modules`. This is analogous to #1706, but for Nestjs 7. The issue seems different as it's not a building issue, but an issue *after* building succeeds. I tried to follow the discussion in #1706 but I couldn't find a fix. Can anyone provide a resolution? ## Current ...
Build artifacts depend node_modules, nestjs@7.x
https://api.github.com/repos/nestjs/nest/issues/5190/comments
12
2020-08-01T21:42:07Z
2024-12-02T07:01:54Z
https://github.com/nestjs/nest/issues/5190
671,223,312
5,190
[ "nestjs", "nest" ]
## Bug Report unable to listen on socket when a client emits on _channel_ WebSocketGateway.server.on(_channel_,(data)=>{ // do stuff }) ## Current behavior 1. create a server variable **@WebSocketServer() server: Server** inside **class @WebSocketGateway() MyServerGateway ** 2. get an...
unable to listen event on WebSocketServer.on()
https://api.github.com/repos/nestjs/nest/issues/5186/comments
1
2020-07-31T17:23:29Z
2020-08-03T06:55:21Z
https://github.com/nestjs/nest/issues/5186
670,035,950
5,186
[ "nestjs", "nest" ]
When can we user **_NestJS_** for _**deno**_ instead of _**node**_?
NestJS for deno...
https://api.github.com/repos/nestjs/nest/issues/5183/comments
3
2020-07-31T06:39:39Z
2021-01-05T08:45:03Z
https://github.com/nestjs/nest/issues/5183
669,469,479
5,183
[ "nestjs", "nest" ]
It is just a dude. I have to use an endpoint like 100 times and this can take a lot of time, like 30-40 mins. so im doing something like this. ` res.status(201).send(); await aLotOfWork(); return 'nobody will catch this so whatever'`;
is this a bad practice?
https://api.github.com/repos/nestjs/nest/issues/5181/comments
2
2020-07-31T05:05:53Z
2020-07-31T11:18:40Z
https://github.com/nestjs/nest/issues/5181
669,417,093
5,181
[ "nestjs", "nest" ]
## Bug Report When hooking nestjs to firebase functions/hosting, the JSON version of swagger works, but the interactive HTML swagger page returns a 404. I'm not 100% sure this is a bug, but I particularly noticed that the main issue seems to be having the nestjs app using the swagger middleware and the express ad...
Nest.js Swagger page returns 404 in firebase hosting setup
https://api.github.com/repos/nestjs/nest/issues/5178/comments
1
2020-07-30T23:23:14Z
2020-08-03T08:56:34Z
https://github.com/nestjs/nest/issues/5178
669,273,471
5,178
[ "nestjs", "nest" ]
I'm not sure if this is the right repo to be asking this question. I apologize if it's not! This is a really nice piece of documentation: https://docs.nestjs.com/microservices/custom-transport. I found it on Google but I don't see it referenced anywhere in the documentation navigator. Should it get a "topic link" un...
Nest documentation question
https://api.github.com/repos/nestjs/nest/issues/5177/comments
0
2020-07-30T22:56:54Z
2020-08-02T18:12:04Z
https://github.com/nestjs/nest/issues/5177
669,262,476
5,177
[ "nestjs", "nest" ]
## Bug Report ## Current behavior <!-- Describe how the issue manifests. --> When throwing a custom exception with a exception filter attached inside of a request scoped factory, the user never gets a response returned if returning a custom object inside the exception filter. If the exception filter throws a new e...
Request scoped factories exception filters results in hanging response
https://api.github.com/repos/nestjs/nest/issues/5173/comments
1
2020-07-30T17:55:21Z
2020-12-21T10:47:00Z
https://github.com/nestjs/nest/issues/5173
669,030,695
5,173
[ "nestjs", "nest" ]
## Regression Why constructor not working in service with using the Inject(REQUEST)? <!-- First check out: https://docs.nestjs.com/migration-guide --> ## Potential Commit/PR that introduced the regression** <!-- If you have time to investigate, what PR/date introduced this issue. --> ## Describe the regression...
Why constructor not working in service with using the Inject(REQUEST)?
https://api.github.com/repos/nestjs/nest/issues/5172/comments
4
2020-07-30T16:26:07Z
2020-07-31T07:34:47Z
https://github.com/nestjs/nest/issues/5172
668,936,107
5,172
[ "nestjs", "nest" ]
## Bug Report ## Current behavior 7.2.x requires fastify 2.x. 7.4.x requires fastify 3.x. Using 7.4x is breaking projects with fastify 2.x dependencies ```ts const serverOptions: fastify.ServerOptionsAsHttp = { logger: ['log', 'error', 'warn'], }; ``` throws error: Namespace '"<relative path>/node_...
@nestjs/platform-fastify 7.4 is a breaking change
https://api.github.com/repos/nestjs/nest/issues/5171/comments
14
2020-07-30T15:46:16Z
2021-07-07T11:29:07Z
https://github.com/nestjs/nest/issues/5171
668,889,804
5,171