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" ]
I'm trying to create a reusable controller using decorator and class inheritance and update certain key depending on the inherited class name, but whenever I updated it using Reflect.defineMetadata, it ends up with the same key value. Example Implementation below: **Decorator** ``` const validMethods = ["find",...
Changing decorator property base on class name ended up with repeated value
https://api.github.com/repos/nestjs/nest/issues/4746/comments
1
2020-05-06T20:27:20Z
2020-05-07T05:59:07Z
https://github.com/nestjs/nest/issues/4746
613,591,908
4,746
[ "nestjs", "nest" ]
## Feature Request ## Is your feature request related to a problem? Please describe. This is related to NestJS being compatible with Prisma 1.x ## Describe the solution you'd like One would expect to have the option to use Prisma 2.x. I would even say that Prisma 1.x could be discontinued. ## Teachability, D...
Support for Prisma 2.x
https://api.github.com/repos/nestjs/nest/issues/4745/comments
3
2020-05-06T20:21:33Z
2020-07-20T06:55:50Z
https://github.com/nestjs/nest/issues/4745
613,588,565
4,745
[ "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...
certs reload without server rbeoot
https://api.github.com/repos/nestjs/nest/issues/4744/comments
1
2020-05-06T18:35:10Z
2020-05-07T06:01:37Z
https://github.com/nestjs/nest/issues/4744
613,527,229
4,744
[ "nestjs", "nest" ]
## Bug Report ## Current behavior Seems that if a provider has an `undefined` initial value, it cannot be overriden using `overrideProvider()`. ## Input Code <!-- REPL or Repo link if applicable: --> ```ts const mongoUriProvider = { provide: "MONGO_URI", useValue: process.env.MONGO_URI, // this is u...
Cannot use overrideProvider() to override undefined value
https://api.github.com/repos/nestjs/nest/issues/4743/comments
3
2020-05-06T15:52:22Z
2020-05-07T09:55:53Z
https://github.com/nestjs/nest/issues/4743
613,427,088
4,743
[ "nestjs", "nest" ]
## Bug Report I am using @nestjs/passport , after running npm run start:dev , I got an error ## Current behavior <!-- Describe how the issue manifests. --> ```sh node_modules/@nestjs/passport/dist/passport/passport.serializer.d.ts:1:27 - error TS2307: Cannot find module 'passport'. 1 import * as passport ...
Cannot find module 'passport'
https://api.github.com/repos/nestjs/nest/issues/4742/comments
1
2020-05-06T11:27:16Z
2020-05-06T12:41:25Z
https://github.com/nestjs/nest/issues/4742
613,247,022
4,742
[ "nestjs", "nest" ]
I tried to use the suggested methods of support/questions but have not been able to get any feedback. So I decided to test my luck here. **Design/Question:** Primarily regarding TypeORM As most of you are aware of it is common practice in web applications to keep track of data updates / insertions. Thus creating...
Question: Access request context in entity
https://api.github.com/repos/nestjs/nest/issues/4739/comments
1
2020-05-05T17:03:23Z
2020-05-05T18:48:33Z
https://github.com/nestjs/nest/issues/4739
612,756,552
4,739
[ "nestjs", "nest" ]
Trying to achieve what @kamilmysliwiec is doing in [Kamil's event video](https://youtu.be/jo-1EUxMmxc?list=PLcX0SGlW67YTvAMgMD4lvzCfc6NKaZQph&t=2521). I can work with services using `@Inject`. But stuck at how do I pass Dtos or Classes. I'm new to typescript & node. I have tried generics. ## Validation not working...
Question : CRUD with functional approach DTO validation not working
https://api.github.com/repos/nestjs/nest/issues/4736/comments
2
2020-05-05T13:16:12Z
2020-09-18T20:24:22Z
https://github.com/nestjs/nest/issues/4736
612,594,030
4,736
[ "nestjs", "nest" ]
It would be really awesome if Nest would add support for HTTP/2 for Express through [node-spdy](https://github.com/spdy-http2/node-spdy). ``` With this module you can create HTTP2 / SPDY servers in node.js with natural http module interface and fallback to regular https (for browsers that don't support neither...
Implement HTTP/2 server
https://api.github.com/repos/nestjs/nest/issues/4734/comments
3
2020-05-05T10:38:21Z
2021-11-15T12:52:27Z
https://github.com/nestjs/nest/issues/4734
612,503,253
4,734
[ "nestjs", "nest" ]
## Bug Report ## Current behavior <!-- Describe how the issue manifests. --> ```ts const moduleFixture: TestingModule = await Test.createTestingModule({ imports: [ NesBusTestModule ], }).compile(); app = moduleFixture.createNestMicroservice({ strategy: createSbServer() }); await ap...
Nest microservice registration does not wait for modules to init
https://api.github.com/repos/nestjs/nest/issues/4731/comments
1
2020-05-04T20:01:09Z
2021-01-25T12:25:38Z
https://github.com/nestjs/nest/issues/4731
612,131,421
4,731
[ "nestjs", "nest" ]
I've installed `nest.js` on fresh macOS machine and when I use yarn to start I get these warnings! > yarn run start ```zsh yarn run v1.22.4 $ nest start (node:6099) Warning: Accessing non-existent property 'cat' of module exports inside circular dependency (Use `node --trace-warnings ...` to show where th...
Nest is showing warnings when using node v14.1.0
https://api.github.com/repos/nestjs/nest/issues/4723/comments
4
2020-05-03T18:41:36Z
2020-05-05T00:27:32Z
https://github.com/nestjs/nest/issues/4723
611,478,802
4,723
[ "nestjs", "nest" ]
Hi, This isn't really a support question, its more of a request to include some info in the docs. I am using the GRPC proto implementation for microservices, i searched high and low for some libraries just to create standard interfaces - but I wasn't able to find anything. Anyway I created a pull request (at ...
Grpc interface creation using protoc - solution inside!
https://api.github.com/repos/nestjs/nest/issues/4722/comments
1
2020-05-03T16:50:13Z
2020-05-04T08:43:13Z
https://github.com/nestjs/nest/issues/4722
611,456,170
4,722
[ "nestjs", "nest" ]
Hello, ## Bug Report ## Current behavior <!-- Describe how the issue manifests. --> I'm building a multi apps projet using the nest and angular. I need to changed the dist path (to the parent folder) to have my angular and nestjs dist in the same folder. In the **tsconfig.app.json** of my nestjs app and si...
webpack build outDir doesn't work
https://api.github.com/repos/nestjs/nest/issues/4721/comments
2
2020-05-03T12:30:12Z
2020-05-04T09:44:48Z
https://github.com/nestjs/nest/issues/4721
611,403,513
4,721
[ "nestjs", "nest" ]
Everything's ok until I add IsNumber to DTO. I can get my transformed value in `body` but it but ValidationPipe is getting raw value with ignoring my pipe ToEnNumbersPipe ``` // ToEnNumbersPipe: @Injectable() export class ToEnNumbersPipe implements PipeTransform { transform(value: any, metadata: ArgumentMetadat...
ValidationPipe is getting raw value
https://api.github.com/repos/nestjs/nest/issues/4719/comments
1
2020-05-02T19:04:09Z
2020-05-02T19:29:55Z
https://github.com/nestjs/nest/issues/4719
611,253,990
4,719
[ "nestjs", "nest" ]
```shell FAIL src/modules/material/controller/material.controller.spec.ts ● Test suite failed to run Invalid guard passed to @UseGuards() decorator (CreativeController). 12 | @Controller('creative') 13 | @UseGuards(AuthGuard) > 14 | export class CreativeController { | ...
unit-test controller guard
https://api.github.com/repos/nestjs/nest/issues/4717/comments
4
2020-05-02T16:23:25Z
2021-09-01T07:52:07Z
https://github.com/nestjs/nest/issues/4717
611,224,556
4,717
[ "nestjs", "nest" ]
## Feature Request ## Is your feature request related to a problem? Please describe. Problem is not being able to run logic from the app (modules/services) from a command line. ## Describe the solution you'd like Allow app level code to be executed through CLI. Basically I'd like to be able to execute some code...
Allow Module level code to be executed from CLI
https://api.github.com/repos/nestjs/nest/issues/4716/comments
1
2020-05-01T23:46:34Z
2020-05-02T00:44:34Z
https://github.com/nestjs/nest/issues/4716
611,052,447
4,716
[ "nestjs", "nest" ]
## Bug Report I think this is a regression of https://github.com/nestjs/nest/issues/914#issue-345432908 ## Current behavior <!-- Describe how the issue manifests. --> Seems that an error happening in `OnModuleInit` is not exiting the process, and instead just leaves it hung. ``` [Nest] 3001 - 05/02/2020...
Error in OnModuleInit does not exit app
https://api.github.com/repos/nestjs/nest/issues/4715/comments
4
2020-05-01T22:32:51Z
2021-08-23T07:07:52Z
https://github.com/nestjs/nest/issues/4715
611,001,293
4,715
[ "nestjs", "nest" ]
I need to validate only one param in query. What I have now: ```typescript @Get('status') getStatus(@Query() token: string): IStatusResponse { if (!token) { throw new HttpException('Token param is empty', HttpStatus.BAD_REQUEST); } const response = this.service.getStatus(token); if ...
How to validate ONE param in query nestjs?
https://api.github.com/repos/nestjs/nest/issues/4713/comments
6
2020-05-01T17:00:24Z
2021-12-06T11:47:21Z
https://github.com/nestjs/nest/issues/4713
610,855,594
4,713
[ "nestjs", "nest" ]
Is there anything similar to [res.format](https://expressjs.com/en/api.html#res.format) in express that you can use without needing to directly interact with the native response? I've looked through docs and tried discord a few times but haven't got anywhere with this. If this isn't currently supported would writin...
Content Negotiation in Nest
https://api.github.com/repos/nestjs/nest/issues/4704/comments
7
2020-04-29T15:26:42Z
2021-04-23T04:32:49Z
https://github.com/nestjs/nest/issues/4704
609,147,576
4,704
[ "nestjs", "nest" ]
## Bug Report ## Current behavior Can't use an Axios Cancel Token in HttpService. Sometimes we can't rely on the timeout and we need to use the cancel token in order to make the request not last forever (or use any valid reason to cancel a request). HttpService uses a cancel token internally for its own purpose ...
Can't use an Axios CancelToken in HttpService
https://api.github.com/repos/nestjs/nest/issues/4698/comments
2
2020-04-28T17:27:58Z
2020-05-12T10:25:57Z
https://github.com/nestjs/nest/issues/4698
608,488,446
4,698
[ "nestjs", "nest" ]
## Feature Request ## Is your feature request related to a problem? Please describe. I want to turn on the application bootstrapping logging to tracing but there is no documentation how to enable or turn on tracing of bootstrapping ![image](https://user-images.githubusercontent.com/1906881/80429502-1d3ef980-88...
Enable bootstrap tracing
https://api.github.com/repos/nestjs/nest/issues/4694/comments
1
2020-04-27T23:09:12Z
2020-04-28T07:03:04Z
https://github.com/nestjs/nest/issues/4694
607,911,320
4,694
[ "nestjs", "nest" ]
## Feature Request ## Is your feature request related to a problem? Please describe. I'm currently trying to mock my gateways and avoid creating a real WebSocket server for tests or not getting it at all ## Describe the solution you'd like <!-- A clear and concise description of what you want to happen. Add any...
Gateway e2e tests
https://api.github.com/repos/nestjs/nest/issues/4693/comments
1
2020-04-27T22:44:40Z
2020-04-28T07:07:39Z
https://github.com/nestjs/nest/issues/4693
607,902,199
4,693
[ "nestjs", "nest" ]
## Bug Report ## Example repository https://github.com/AeroNotix/react-nest-test ## Related Issues * https://github.com/nestjs/nest/issues/1706 ## Current behavior I have a rush monorepo which has various packages, the two I am having issue are: * NestJS NodeJS application * React application crea...
Sharing type definitions between NodeJS package and React Application fails with dependency issues
https://api.github.com/repos/nestjs/nest/issues/4692/comments
3
2020-04-27T22:06:44Z
2020-09-27T11:03:55Z
https://github.com/nestjs/nest/issues/4692
607,886,340
4,692
[ "nestjs", "nest" ]
let prod = await this.productRepository.findOne(product.id, { relations: ['productAdditional']}); return: ![image](https://user-images.githubusercontent.com/41481028/80418105-3ea5e280-88ad-11ea-8306-11002fc15413.png) I need to check the two objects using **Object.assign**, but it **doesn't work** because the pro...
findOne - relations
https://api.github.com/repos/nestjs/nest/issues/4691/comments
1
2020-04-27T20:40:30Z
2020-04-28T07:20:27Z
https://github.com/nestjs/nest/issues/4691
607,839,258
4,691
[ "nestjs", "nest" ]
Hi all! I've been working with NestJS on a service that I have here and I got caught in a problem when creating test cases. I'm using NestJS + GraphQL. Most of my modules have circular reference, in order to create type resolvers and allow data to be queried from both sides of the relation. I have the current sce...
Issue when creating TestingModules with circular references
https://api.github.com/repos/nestjs/nest/issues/4688/comments
11
2020-04-27T15:34:12Z
2021-06-21T06:48:56Z
https://github.com/nestjs/nest/issues/4688
607,645,464
4,688
[ "nestjs", "nest" ]
## Feature Request ## Is your feature request related to a problem? Please describe. No ## Describe the solution you'd like Can a sample of how using apollo federation with nestjs be uploaded? Most of the docs sections have a sample attached, but this one has just a tutorial that is not working for my case. ...
Graphql Apollo Federation Sample
https://api.github.com/repos/nestjs/nest/issues/4686/comments
6
2020-04-27T00:35:26Z
2021-07-09T11:01:47Z
https://github.com/nestjs/nest/issues/4686
607,155,428
4,686
[ "nestjs", "nest" ]
## Bug Report I'm starting a new GraphQL project, following the code-first approach, but I'm getting a bunch of linting warning for rule `@typescript-eslint/no-unused-vars` whenever `@Field` is used. I see the same is happening with the following sample project: https://github.com/nestjs/nest/tree/master/sample/2...
Linting warnings in a new project
https://api.github.com/repos/nestjs/nest/issues/4684/comments
7
2020-04-26T20:01:33Z
2021-01-26T21:49:05Z
https://github.com/nestjs/nest/issues/4684
607,100,422
4,684
[ "nestjs", "nest" ]
## Bug Report ## Current behavior when setting an array of strings or regex as an origin the `Access-Control-Allow-Origin` header is missing completely. ## Input Code ```ts // this works perfectly fine app.enableCors({ origin: `https://my.domain.com, credentials: true, }); // this howev...
app.enableCors not working properly
https://api.github.com/repos/nestjs/nest/issues/4683/comments
3
2020-04-26T19:24:32Z
2022-05-04T13:51:17Z
https://github.com/nestjs/nest/issues/4683
607,092,703
4,683
[ "nestjs", "nest" ]
## Feature Request ## Is your feature request related to a problem? Please describe. I can open a PR to solve this issue myself however I wanted to get input in case I'm missing something. Say for example I want to create a route that gets all cats. I also what to be able to provide an optional limit query argume...
Make built in pipes not fail when value is not provided
https://api.github.com/repos/nestjs/nest/issues/4682/comments
1
2020-04-26T18:46:06Z
2020-04-27T07:01:18Z
https://github.com/nestjs/nest/issues/4682
607,084,423
4,682
[ "nestjs", "nest" ]
## Bug Report ## Current behavior internal/modules/cjs/loader.js:1174 throw new ERR_REQUIRE_ESM(filename, parentPath, packageJsonPath); ^ Error [ERR_REQUIRE_ESM]: Must use import to load ES Module: C:\Users\\Documents\nest-project\node_modules\is-promise\index.js require() of ES modules is not suppo...
When using nest cli, using commands like npm run start or nest g module <name> gives this error
https://api.github.com/repos/nestjs/nest/issues/4678/comments
2
2020-04-25T15:54:42Z
2020-04-27T07:02:25Z
https://github.com/nestjs/nest/issues/4678
606,798,821
4,678
[ "nestjs", "nest" ]
Getting this issue when I run `nest g module users` any ideas? ``` internal/modules/cjs/loader.js:1174 throw new ERR_REQUIRE_ESM(filename, parentPath, packageJsonPath); ^ Error [ERR_REQUIRE_ESM]: Must use import to load ES Module: C:\Users\USER\Documents\nest-project\node_modules\is-promise\index.j...
ERR_REQUIRE_ESM: Must Use import to load ES Module?
https://api.github.com/repos/nestjs/nest/issues/4677/comments
13
2020-04-25T15:40:24Z
2021-12-13T08:19:47Z
https://github.com/nestjs/nest/issues/4677
606,795,719
4,677
[ "nestjs", "nest" ]
## Bug Report Global filter or interceptor get dependency as undefined ## Current behavior When I use `Exception filters` as [exception-filters#binding-filters](https://docs.nestjs.com/exception-filters#binding-filters) say,register a global-scoped filter in `providers`。I get a wrong message: ```log (node:37173)...
Global filter or interceptor get dependency as undefined
https://api.github.com/repos/nestjs/nest/issues/4676/comments
4
2020-04-25T15:15:21Z
2020-04-30T08:59:38Z
https://github.com/nestjs/nest/issues/4676
606,790,519
4,676
[ "nestjs", "nest" ]
I have created a repo that reproduces the issue: https://github.com/mdaum/NestJSNpmLinkBug In it are two NestJS modules, Module A and Module B. Module A exposes GET route `say/:key`, which will print out the value of the `key` parameter, unless it is `badWord`, in which case it will respond with a 400. Module B is...
[Bug] @nodejs/common Exceptions thrown in an imported "npm linked" NestJS Module will give 500 instead of expected non-200 error code.
https://api.github.com/repos/nestjs/nest/issues/4674/comments
8
2020-04-25T07:09:27Z
2021-02-01T19:00:22Z
https://github.com/nestjs/nest/issues/4674
606,708,210
4,674
[ "nestjs", "nest" ]
## Feature Request ## Is your feature request related to a problem? Please describe. We started to build backend using nestjs and client eventually requested to use pure javascript instead of using typescript. ## Describe the solution you'd like I think it is not mandatory, but it would be cool if there is any...
Transpile existing project to pure javascript.
https://api.github.com/repos/nestjs/nest/issues/4671/comments
3
2020-04-24T20:35:09Z
2020-04-26T16:19:04Z
https://github.com/nestjs/nest/issues/4671
606,568,197
4,671
[ "nestjs", "nest" ]
Subdomains, and base routes are interfering. other controllers methods ran whole even subdomains something.localhost:3000 -> Hello World! localhost:3000 -> Hello World! app.controller.ts: ``` @Controller() export class AppController { @Get() getHello(): string { return 'Hello World!'; } } ```...
NestJS sub-domain and base domain missing
https://api.github.com/repos/nestjs/nest/issues/4670/comments
4
2020-04-24T15:17:27Z
2020-04-28T07:26:30Z
https://github.com/nestjs/nest/issues/4670
606,390,541
4,670
[ "nestjs", "nest" ]
## Feature Request ## Is your feature request related to a problem? Please describe. I find the documentation very weird because it mentions decorators / classes / interfaces etc by name and doesn't link to their documentation. The only way to see proper documentation is to see the source comments from the code edi...
Documentation needs improvement
https://api.github.com/repos/nestjs/nest/issues/4668/comments
1
2020-04-24T10:10:30Z
2020-04-24T12:49:31Z
https://github.com/nestjs/nest/issues/4668
606,200,452
4,668
[ "nestjs", "nest" ]
## Bug Report Validationpipe does not work ## Current behavior The pipe does not perform any parameter verification ## Input Code ```ts // SendNotificationDto.ts import { IsString } from 'class-validator'; export class SendNotificationDto { @IsString() tempId: string; } ``` ``` ts import { Con...
Validationpipe does not work
https://api.github.com/repos/nestjs/nest/issues/4666/comments
2
2020-04-24T04:27:50Z
2020-04-24T06:31:02Z
https://github.com/nestjs/nest/issues/4666
606,030,707
4,666
[ "nestjs", "nest" ]
I keep getting this error: Argument of type UserSchemaDto is not assignable to parameter of type ObjectSchema<any> I followed the EXACT documentation. ``` @Post() @UsePipes(new UserValidationPipe(UserSchemaDto)) async createUser( @Body() user: UserDao, @Res() response: Response, ) { tr...
Argument of type Schema is not assignable to parameter type of ObjectSchema<any>
https://api.github.com/repos/nestjs/nest/issues/4664/comments
1
2020-04-23T21:38:12Z
2022-07-18T13:55:47Z
https://github.com/nestjs/nest/issues/4664
605,891,618
4,664
[ "nestjs", "nest" ]
## Bug Report ## Current behavior <!-- Describe how the issue manifests. --> Can't resolve factory provider from applicationContext if it has request scoped service injected. Response: `UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'constructor' of null` ## Input Code <!-- REPL or Repo ...
Can't resolve factory provider if it has request scoped service injected.
https://api.github.com/repos/nestjs/nest/issues/4662/comments
1
2020-04-23T15:12:14Z
2020-04-24T07:03:30Z
https://github.com/nestjs/nest/issues/4662
605,620,881
4,662
[ "nestjs", "nest" ]
## Bug Report ## Current behavior My app is a simple Todo kinda app. I can create Tasks, and then I want to filter tasks based on search criteria. For the search/filter stuff, I have a service, whose method gets called from the controller. When running in debug mode, the code works as expected, printing console...
Code does not work in Mac. Works flawlessly in Linux, CodeSandbox without any changes
https://api.github.com/repos/nestjs/nest/issues/4658/comments
1
2020-04-22T20:47:42Z
2020-04-23T07:04:38Z
https://github.com/nestjs/nest/issues/4658
605,064,051
4,658
[ "nestjs", "nest" ]
## Bug Report ## Current behavior I have setup a nest project with swagger & webpack (for hot reload) all from the recipes and implemented the first module. Unfortunately the code doesn't compile due to a module not found issue i suppose comes from the nestswagger functionality.. ## Input Code <!-- REPL or Rep...
nestswagger can't find module when using webpack
https://api.github.com/repos/nestjs/nest/issues/4657/comments
3
2020-04-22T19:21:27Z
2020-04-23T07:54:45Z
https://github.com/nestjs/nest/issues/4657
605,002,142
4,657
[ "nestjs", "nest" ]
## Feature Request Hi would like to request a doc on which dependencies should be included for migrating from v6 to v7
A documentation of packages dependencies to be upgrade to work with v7
https://api.github.com/repos/nestjs/nest/issues/4656/comments
1
2020-04-22T02:00:02Z
2020-04-22T06:31:58Z
https://github.com/nestjs/nest/issues/4656
604,394,994
4,656
[ "nestjs", "nest" ]
## Bug Report ## Current behavior When using Typescript [accessors](https://www.typescriptlang.org/docs/handbook/classes.html#accessors) in service getter method, getting RangeError ![image](https://user-images.githubusercontent.com/4963779/79912043-0468bb00-843f-11ea-9ee5-837ba8664f89.png) ## Input Code ...
RangeError: Maximum call stack size exceeded on using TypeScript accessors in services
https://api.github.com/repos/nestjs/nest/issues/4655/comments
1
2020-04-21T20:45:29Z
2020-04-22T06:30:16Z
https://github.com/nestjs/nest/issues/4655
604,274,303
4,655
[ "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...
How can i send files(zip) in response
https://api.github.com/repos/nestjs/nest/issues/4649/comments
1
2020-04-21T10:40:31Z
2020-04-21T10:41:58Z
https://github.com/nestjs/nest/issues/4649
603,895,269
4,649
[ "nestjs", "nest" ]
## Bug Report ``` { "error": "Internal Server Error", "message": "Error: Unknown authentication strategy \"local\"" } ``` ## Current behavior in auth.module.ts ```ts @Module({ controllers: [ AuthController ], imports: [ PassportModule.register({ defaultStrategy: 'jwt' }), JwtMo...
nest.js jwt, if use Request, Unknown authentication strategy \"local\",defaultStrategy is invaild
https://api.github.com/repos/nestjs/nest/issues/4646/comments
4
2020-04-21T03:13:17Z
2020-04-21T09:40:39Z
https://github.com/nestjs/nest/issues/4646
603,672,383
4,646
[ "nestjs", "nest" ]
## Bug Report ## Current behavior 1. Install latest version of nest cli 2. Create a new project 3. Run `nest generate app api` (or whatever name you want to give it) 4. Run `nest build app` 5. Look at dist and see that source maps are missing despite them being configured in the tsconfig files. Have tried a bu...
Source maps aren't outputted for monorepo app buils
https://api.github.com/repos/nestjs/nest/issues/4644/comments
2
2020-04-20T22:00:36Z
2025-01-27T12:57:44Z
https://github.com/nestjs/nest/issues/4644
603,563,521
4,644
[ "nestjs", "nest" ]
## Bug Report ## Current behavior Take the following gateway: ```ts @WebSocketGateway() export class TestGateway implements OnGatewayInit { protected readonly logger = new Logger(TestGateway.name); @WebSocketServer() private readonly server: Server; constructor( private readonly eventsServ...
Gateway constructor not called when injecting dependency and after init weird behavior
https://api.github.com/repos/nestjs/nest/issues/4639/comments
7
2020-04-20T16:54:55Z
2020-04-20T21:43:37Z
https://github.com/nestjs/nest/issues/4639
603,386,281
4,639
[ "nestjs", "nest" ]
## Bug Report ## Current behavior <!-- Describe how the issue manifests. --> After cloning the repo it should be enough to install node modules and bootstrap lerna packages to be able to test nest. Instead some tests failed ## Input Code <!-- REPL or Repo link if applicable: --> ```bash git clone git clo...
Tests should work out of the box
https://api.github.com/repos/nestjs/nest/issues/4632/comments
0
2020-04-20T00:57:11Z
2020-04-23T07:09:36Z
https://github.com/nestjs/nest/issues/4632
602,869,741
4,632
[ "nestjs", "nest" ]
## Feature Request ## Is your feature request related to a problem? Please describe. I can't use request scope for standalone application ## Describe the solution you'd like Some new method on standalone application which will allow to do "requests". and so the app would be cappable to track of them. ## Wh...
Support REQUEST scope for standalone applications
https://api.github.com/repos/nestjs/nest/issues/4630/comments
3
2020-04-19T16:17:03Z
2023-03-08T16:41:53Z
https://github.com/nestjs/nest/issues/4630
602,756,838
4,630
[ "nestjs", "nest" ]
## Bug Report ## Current behavior I have a controller called transactionsController with a few endpoints where the first GET method is "empty" `@Get('')` which returns all transactions for a given user when calling localhost:xxxx/api/transactions. ## Input Code ```ts import { Controller, Get, Post, Put, Delet...
Route endpoints not working as expected
https://api.github.com/repos/nestjs/nest/issues/4628/comments
7
2020-04-18T20:01:28Z
2024-09-08T02:29:38Z
https://github.com/nestjs/nest/issues/4628
602,539,973
4,628
[ "nestjs", "nest" ]
## Bug Report ## Current behavior @nestjs/graphql has no exported member PartialType @nestjs/graphql has no exported member OmitType ## Input Code `import { InputType, PartialType, OmitType } from '@nestjs/graphql'; import { PartialType } from '@nestjs/common' import { CreateUserInput } from './create-user.i...
PartialType and OmitType
https://api.github.com/repos/nestjs/nest/issues/4627/comments
1
2020-04-18T12:42:55Z
2020-04-20T07:27:30Z
https://github.com/nestjs/nest/issues/4627
602,452,018
4,627
[ "nestjs", "nest" ]
## Bug Report ## Current behavior `useContainer` from `class-validator` is not working when using `TestingModule` object ## Input Code ```ts beforeAll(async () => { const moduleRef = await Test .createTestingModule({ imports: [TestDatabaseModule, UsersModule], }) .compile()...
class-validadtor useContainer is not accepting TestingModule container
https://api.github.com/repos/nestjs/nest/issues/4622/comments
0
2020-04-17T14:40:15Z
2020-04-17T15:06:11Z
https://github.com/nestjs/nest/issues/4622
602,024,714
4,622
[ "nestjs", "nest" ]
I can't find a way neither with serialization method in your options while starting the server like RMQ nor a transform-interceptor. I read there are ways: protocolbuffers/protobuf-javascript#68 https://developers.google.com/protocol-buffers/docs/proto3#any But nothing is provided to get the raw message only pre-fo...
Is there a way to use google.protobuf.Any in NestJs (gRPC/proto3)
https://api.github.com/repos/nestjs/nest/issues/4621/comments
4
2020-04-17T14:32:18Z
2022-05-16T18:33:19Z
https://github.com/nestjs/nest/issues/4621
602,019,303
4,621
[ "nestjs", "nest" ]
## Bug Report ## Current behavior <!-- Describe how the issue manifests. --> request failed with @Body decorator ## 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 cod...
PayloadTooLargeError: request entity too large
https://api.github.com/repos/nestjs/nest/issues/4615/comments
2
2020-04-17T06:04:16Z
2020-04-17T07:42:32Z
https://github.com/nestjs/nest/issues/4615
601,724,957
4,615
[ "nestjs", "nest" ]
## Bug Report If validation fails when using the `@ValidateNested()` from `class-validator` along with `Type(( ) => x)` from `class-transformer`, the http exception object will not contain the constraints that failed. ## Current behavior <!-- Describe how the issue manifests. --> The issue manifests when vali...
Nested validation failures not being sent to http exception in Nest v7
https://api.github.com/repos/nestjs/nest/issues/4614/comments
4
2020-04-17T05:53:28Z
2023-05-15T08:43:06Z
https://github.com/nestjs/nest/issues/4614
601,720,830
4,614
[ "nestjs", "nest" ]
## Feature Request Allow for microservices to be started on port 0 to allow for dynamically finding an open port ## 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 ran into this while working on a testin...
Allow for Microservices to bind on random port
https://api.github.com/repos/nestjs/nest/issues/4612/comments
12
2020-04-16T16:55:12Z
2024-06-19T07:47:35Z
https://github.com/nestjs/nest/issues/4612
601,245,122
4,612
[ "nestjs", "nest" ]
## Bug Report ## Current behavior I have a @Head() Route as shown in the code example. However when i try to make a HEAD request to the /appointments endpoint, nothing is logged to the console. ## Input Code ```ts import { Controller, Head } from "@nestjs/common"; import { ApiResponse } from '@nestjs/s...
Head Route is not working
https://api.github.com/repos/nestjs/nest/issues/4609/comments
1
2020-04-16T09:31:22Z
2020-04-16T12:45:15Z
https://github.com/nestjs/nest/issues/4609
600,889,824
4,609
[ "nestjs", "nest" ]
Hi, How to use seed data like laravel in nestjs? ref: https://laravel.tw/docs/5.2/seeding ex: php artisan db:seed --class=UserTableSeeder in nestjs
How to use seed data like laravel ?
https://api.github.com/repos/nestjs/nest/issues/4605/comments
1
2020-04-15T16:39:11Z
2020-04-16T07:27:53Z
https://github.com/nestjs/nest/issues/4605
600,436,748
4,605
[ "nestjs", "nest" ]
How to integrate application with JWT authentication with Passport.js by using session cookie method
Nest authentication - Passport, JWT, Cookie Session
https://api.github.com/repos/nestjs/nest/issues/4602/comments
1
2020-04-15T13:25:46Z
2020-04-15T14:14:24Z
https://github.com/nestjs/nest/issues/4602
600,296,284
4,602
[ "nestjs", "nest" ]
## Feature Request ## Is your feature request related to a problem? Please describe. I'm implementing a custom global exception filter that [Catch everything](https://docs.nestjs.com/exception-filters#catch-everything). And in a route handler I reject a promise intentionally, **without a param**: ```javascript ...
exception could contains some context information for error like promise reject without any params
https://api.github.com/repos/nestjs/nest/issues/4601/comments
1
2020-04-15T09:52:01Z
2020-04-15T11:44:51Z
https://github.com/nestjs/nest/issues/4601
600,170,097
4,601
[ "nestjs", "nest" ]
## Bug Report When there are 2 or more modules which expose services which require each other to work, the init sequence does not look at actual dependencies, but run init in reverse order of module definition. see: https://github.com/nestjs/nest/blob/master/packages/core/nest-application-context.ts#L212 (thanks...
Use a topological sort for module lifecycle hooks
https://api.github.com/repos/nestjs/nest/issues/4599/comments
9
2020-04-14T23:26:47Z
2024-07-30T07:40:11Z
https://github.com/nestjs/nest/issues/4599
599,918,307
4,599
[ "nestjs", "nest" ]
The project `class-transformer` [seems dead](https://github.com/typestack/class-transformer/issues/314). And this issue is marked as **moderate** ``` CVE-2020-7637 moderate severity Vulnerable versions: <= 0.2.3 Patched version: No fix class-transformer through 0.2.3 is vulnerable to Prototype Pollution. The ...
CVE-2020-7637 vulnerability
https://api.github.com/repos/nestjs/nest/issues/4598/comments
7
2020-04-14T20:49:48Z
2020-04-21T13:15:04Z
https://github.com/nestjs/nest/issues/4598
599,850,430
4,598
[ "nestjs", "nest" ]
## Bug Report ## Original behavior in Nestjs 6 In Nestjs 6, it was possible to set all GRPC options, e.g. grpc.ssl_target_name_override and grpc.default_authority which are required to have GRPC-SSL enabled on localhost: ``` const grpcOptionsAny: any = grpcClientOptions.options; grpcOptionsAny['grpc.ssl_target...
Regression: Additional GRPC options can't be set anymore in Nestjs 7
https://api.github.com/repos/nestjs/nest/issues/4597/comments
3
2020-04-14T20:28:42Z
2020-05-24T12:44:22Z
https://github.com/nestjs/nest/issues/4597
599,838,997
4,597
[ "nestjs", "nest" ]
My controller returns the class DTO of my entity, but I do it through queryBuilder, because I add one more value (sum) to select. It looks like this and it works when I use .getRawMany(): ``` public async getBills(user: UserEntity, pageOptionsDto: BillsPageOptionsDto): Promise<BillsPageDto | undefined> { c...
Add field to DTO that's missing entity
https://api.github.com/repos/nestjs/nest/issues/4596/comments
1
2020-04-14T14:52:38Z
2020-04-14T21:53:42Z
https://github.com/nestjs/nest/issues/4596
599,634,315
4,596
[ "nestjs", "nest" ]
## Feature Request ## Is your feature request related to a problem? Please describe. In monorepo mode, when you add `package.json` to a lib and then start app that depends on this lib (run through webpack), it will throw error 'MODULE_NOT_FOUND' . How to solve this problem?thx error code ``` code: 'MODULE_NOT_F...
Monorepo mode integration lerna.js
https://api.github.com/repos/nestjs/nest/issues/4593/comments
2
2020-04-14T13:42:01Z
2020-04-14T19:52:10Z
https://github.com/nestjs/nest/issues/4593
599,583,006
4,593
[ "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 working with controllers sometimes it would be nice to provide a default value for some parameters (i.e. boolean flags). One...
A default value pipe
https://api.github.com/repos/nestjs/nest/issues/4590/comments
8
2020-04-14T09:57:04Z
2020-10-16T22:00:14Z
https://github.com/nestjs/nest/issues/4590
599,445,080
4,590
[ "nestjs", "nest" ]
## Bug Report ## Current behavior Currently, when the module imports a clearly undefined module, it will throw the `InvalidModuleException` and reminding the user to use forwardRef. Though this is incorrect (false positive)! ## Input Code <!-- REPL or Repo link if applicable: --> Will throw `InvalidModuleExc...
Improve error message when imported module is nil
https://api.github.com/repos/nestjs/nest/issues/4586/comments
3
2020-04-13T21:47:30Z
2020-05-12T12:00:11Z
https://github.com/nestjs/nest/issues/4586
599,155,985
4,586
[ "nestjs", "nest" ]
## Bug Report `@grpc/proto-loader` was not able to load well-knows-photos like `google/protobuf/descriptor.proto` etc this was working before. ## Current behavior ``` (node:88142) Warning: google/protobuf/wrappers.proto not found in any of the include paths /Users/schintha/Developer/Work/SPA/yeti/dist/apps/api/...
grpc-loader not able to load well-knows-photos like google/protobuf/wrappers.proto
https://api.github.com/repos/nestjs/nest/issues/4584/comments
3
2020-04-13T18:50:45Z
2021-04-20T08:39:25Z
https://github.com/nestjs/nest/issues/4584
599,065,588
4,584
[ "nestjs", "nest" ]
## Bug Report cannot create the module instance when importing the pre-built library ## Current behavior Get an error: Nest cannot create the module instance. Often, this is because of a circular dependency between modules. Use forwardRef() to avoid it. ## Example <!-- REPL or Repo link if applicable: --> ...
Importing pre-compiled libraries Error
https://api.github.com/repos/nestjs/nest/issues/4582/comments
4
2020-04-13T17:03:36Z
2020-04-16T07:28:01Z
https://github.com/nestjs/nest/issues/4582
599,006,178
4,582
[ "nestjs", "nest" ]
## Bug Report ## Current behavior I am implementing some request scope injection on our project where I should inject a request object onto a service or into the http module but it's not working correctly with Useguards as I've encountered this error on runtime: ``` Error: Unknown authentication strategy "loca...
Injection scopes not working with UseGuards Passport implementation local strategy (or any strategy)
https://api.github.com/repos/nestjs/nest/issues/4581/comments
2
2020-04-13T15:28:06Z
2020-04-21T02:33:36Z
https://github.com/nestjs/nest/issues/4581
598,954,775
4,581
[ "nestjs", "nest" ]
![Screenshot from 2020-04-13 16-10-25](https://user-images.githubusercontent.com/21876329/79114600-4e97cf80-7da1-11ea-97b8-c6e15cacdfad.png) ## Bug Report ## Current behavior Property 'intercept' in type 'LoggingInterceptor' is not assignable to the same property in base type 'NestInterceptor<any, any>'. ## I...
Property 'intercept' in type 'LoggingInterceptor' is not assignable to the same property in base type 'NestInterceptor<any, any>'.
https://api.github.com/repos/nestjs/nest/issues/4578/comments
1
2020-04-13T10:39:54Z
2020-04-13T13:47:07Z
https://github.com/nestjs/nest/issues/4578
598,815,195
4,578
[ "nestjs", "nest" ]
I have a working application based on the [07-sequelize sample](https://github.com/nestjs/nest/tree/master/sample/07-sequelize), but am confused with the [doco that outlines how to mock a model when testing](https://docs.nestjs.com/techniques/database#testing-1) . It talks about a mockModel object but does not provide ...
Mocking data to test 07-sequelize sample
https://api.github.com/repos/nestjs/nest/issues/4574/comments
8
2020-04-13T07:38:05Z
2022-12-14T00:35:56Z
https://github.com/nestjs/nest/issues/4574
598,729,117
4,574
[ "nestjs", "nest" ]
How to become a contributor?
How to become a contributor?
https://api.github.com/repos/nestjs/nest/issues/4572/comments
1
2020-04-12T19:58:23Z
2020-04-12T21:04:32Z
https://github.com/nestjs/nest/issues/4572
598,559,803
4,572
[ "nestjs", "nest" ]
## Feature Request ## Is your feature request related to a problem? Please describe. no docs in ./packages/**/*, currently I just use the debugger to step through the source code and understand the framework execution contexts by guessing the meaning of the class and func. names ## Describe the solution you'd li...
Add more comments of intentions of all classes in ./packages/**/* to let opensource developers understand more
https://api.github.com/repos/nestjs/nest/issues/4571/comments
1
2020-04-12T18:43:50Z
2020-04-13T13:46:08Z
https://github.com/nestjs/nest/issues/4571
598,546,859
4,571
[ "nestjs", "nest" ]
my login table in aaaa schema, but my project config connectionStr is bbb schema ,now how can i write entity in schema aaaa, i check document i can use connect.query('custom sql') for login table to login ,but how can i get connection from typeorm , i don want to createConnection . i want to use anything that denpend...
how to get connect instance with typeorm oracle through nestjs DI
https://api.github.com/repos/nestjs/nest/issues/4570/comments
1
2020-04-12T13:43:05Z
2020-04-13T13:44:17Z
https://github.com/nestjs/nest/issues/4570
598,487,720
4,570
[ "nestjs", "nest" ]
## Bug Report ## Current behavior <!-- Describe how the issue manifests. --> Everytime when you're using `@Grpc(...)` decorator it use a `createGrpcMethodMetadata` where it checks if you provide a service name and method name, if you don't provide one of them, it will uppercase first latter of method name. ##...
[Microservices] Grpc allways capitalize first letter
https://api.github.com/repos/nestjs/nest/issues/4568/comments
5
2020-04-12T07:24:37Z
2022-05-06T16:59:55Z
https://github.com/nestjs/nest/issues/4568
598,428,092
4,568
[ "nestjs", "nest" ]
## Feature Request ## Is your feature request related to a problem? Please describe. The current logo is a bit unclear. For example, what does the lower, left part of the logo represent? Is it part of the cat's jaw? Is it fur? ## Describe the solution you'd like It should be simplified to be more concise so tha...
Logo update
https://api.github.com/repos/nestjs/nest/issues/4566/comments
1
2020-04-11T17:24:50Z
2020-04-11T19:10:17Z
https://github.com/nestjs/nest/issues/4566
598,312,856
4,566
[ "nestjs", "nest" ]
Please don't close this issue like earlier once. Please provide detailed explanation to debug nestjs in all major ide used.
How to debug Nest in WebStorm
https://api.github.com/repos/nestjs/nest/issues/4565/comments
1
2020-04-11T14:38:31Z
2020-04-11T19:10:34Z
https://github.com/nestjs/nest/issues/4565
598,279,022
4,565
[ "nestjs", "nest" ]
Hello, I apologize if this post isn't at the right place. I didn't know if it's a bug or a documentation issue or another kind of problem. I have done a stackoverflow [post](https://stackoverflow.com/questions/61148959/fileinterceptor-and-body-issue-in-nestjs-upload-a-file-and-data-in-a-request) where I explain the ...
FileInterceptor and Body Issue
https://api.github.com/repos/nestjs/nest/issues/4564/comments
1
2020-04-11T09:49:21Z
2020-04-11T10:57:27Z
https://github.com/nestjs/nest/issues/4564
598,232,311
4,564
[ "nestjs", "nest" ]
## Bug Report ## Current behavior When I am testing context in the JwtGuard , I console.log(context); , it shows more than 1 times in a single API call. I use Postman and Swagger to execute, same result; ## Input Code **jwt.guard.ts** ```JWT Guard import { CanActivate, ExecutionContext, Injectable } f...
Guard invoke more than 1 times on Controller
https://api.github.com/repos/nestjs/nest/issues/4563/comments
2
2020-04-11T09:24:23Z
2020-04-22T18:35:17Z
https://github.com/nestjs/nest/issues/4563
598,228,518
4,563
[ "nestjs", "nest" ]
I am newbie in nest js. I want to use **jwt tokens**. can you please help for what to pass in '**secretkey**' ? **and how to generate it ? and from where to generate it ?** ``` export const jwtConstants = { secret: 'secretKey', }; ```
secret key for jwt
https://api.github.com/repos/nestjs/nest/issues/4555/comments
1
2020-04-09T09:57:49Z
2020-04-09T10:12:24Z
https://github.com/nestjs/nest/issues/4555
597,165,960
4,555
[ "nestjs", "nest" ]
Nestjs uses `class-transformer` and `class-validator` as a primary dependency. Both of these projects are maintained under the same organization - https://github.com/typestack. Despite the primary maintainers continuing to be active on github, these two projects have received little attention. `class-transformer` h...
Dependency Maintenance - class-transformer and class-validator
https://api.github.com/repos/nestjs/nest/issues/4553/comments
1
2020-04-09T01:27:34Z
2020-04-09T06:33:13Z
https://github.com/nestjs/nest/issues/4553
596,958,623
4,553
[ "nestjs", "nest" ]
I am not sure if this is an issue but I think default exception messages should be the same everywhere. node_modules/@nestjs/core/guards/constants.d.ts `export declare const FORBIDDEN_MESSAGE = "Forbidden resource";` the same values in the HttpStatus.FORBIDDEN node_modules/@nestjs/common/exceptions/forbidden.ex...
Forbidden exception message in guards not the same as in ForbiddenException/HttpStatus Enum Key
https://api.github.com/repos/nestjs/nest/issues/4552/comments
1
2020-04-08T22:44:59Z
2020-04-08T22:49:49Z
https://github.com/nestjs/nest/issues/4552
596,907,350
4,552
[ "nestjs", "nest" ]
## Bug Report ## Current behavior Following [the doc](https://docs.nestjs.com/techniques/logger#using-the-logger-for-application-logging) in order to set the log level for my app. I'm getting this at startup time: ``` nodemon] 1.19.4 [nodemon] to restart at any time, enter `rs` [nodemon] watching dir(...
V8 crash when specifying log levels
https://api.github.com/repos/nestjs/nest/issues/4551/comments
4
2020-04-08T20:39:07Z
2020-04-09T09:14:20Z
https://github.com/nestjs/nest/issues/4551
596,846,899
4,551
[ "nestjs", "nest" ]
## Bug Report The source code for catsProvider in sample 14-mongoose-base has the wrong type as parameter to useFactory function. ## Current behavior useFactory function is declared to receive a parameter of type Connection, however the actual parameter type received is of type Mongoose. This is the type provide...
Wrong object type in catsProvider sample code
https://api.github.com/repos/nestjs/nest/issues/4543/comments
3
2020-04-08T09:00:27Z
2020-04-10T11:18:44Z
https://github.com/nestjs/nest/issues/4543
596,421,476
4,543
[ "nestjs", "nest" ]
When I type npm -g ls this comes up after my installed packages. npm ERR! error in /home/dimitrios1988/.npm-global/lib/node_modules/@nestjs/cli/node_modules/watchpack/node_modules/fsevents: ENOENT: no such file or directory, open '/home/dimitrios1988/.npm-global/lib/node_modules/@nestjs/cli/node_modules/watchpack/no...
Watchpack error
https://api.github.com/repos/nestjs/nest/issues/4540/comments
1
2020-04-07T15:27:00Z
2020-04-07T17:38:21Z
https://github.com/nestjs/nest/issues/4540
595,954,513
4,540
[ "nestjs", "nest" ]
I use it solution for create and run migrations. https://github.com/ambroiseRabier/typeorm-nestjs-migration-example How to add data to this ? I want to populate the database with data during migration.
How to add data to DB with migration ?
https://api.github.com/repos/nestjs/nest/issues/4539/comments
2
2020-04-07T13:02:21Z
2020-04-07T14:20:40Z
https://github.com/nestjs/nest/issues/4539
595,851,205
4,539
[ "nestjs", "nest" ]
## Bug Report ## Current behavior I'm trying to create a simple REST API. I have a controller, service and a repository layer. My service and repository are both basically providers, annotated with `@Injectable()` The logic behind this is the following, controller calls the service methods, and service calls repos...
Can't inject a provider into another provider
https://api.github.com/repos/nestjs/nest/issues/4537/comments
1
2020-04-07T10:13:03Z
2020-04-09T07:01:11Z
https://github.com/nestjs/nest/issues/4537
595,753,677
4,537
[ "nestjs", "nest" ]
## Bug Report each time i start the server typeorm drop some columns and adding them back and it wont start untill i cleare all the table. ## Current behavior query: SELECT * FROM "information_schema"."tables" WHERE "table_schema" = current_schema() AND "table_name" = 'typeorm_metadata' query: ALTER TABLE "us...
typeorm droping then adding the same column
https://api.github.com/repos/nestjs/nest/issues/4536/comments
1
2020-04-07T06:55:41Z
2020-04-07T07:03:03Z
https://github.com/nestjs/nest/issues/4536
595,636,778
4,536
[ "nestjs", "nest" ]
## Bug Report ## Current behavior Within the 'handleWaitingHash' function, the EventsServices service has a public field where connected users are stored. Throughout the application, EventsServices stores that information seamlessly and shares it in Singleton mode. But specifically, inside 'EventsPattern', it's l...
Microservices @EventPattern use injected factory and loose factory data or context
https://api.github.com/repos/nestjs/nest/issues/4533/comments
7
2020-04-06T18:17:01Z
2020-04-10T11:19:12Z
https://github.com/nestjs/nest/issues/4533
595,325,011
4,533
[ "nestjs", "nest" ]
## Feature Request ## Is your feature request related to a problem? Please describe. Cannot hook pre-build with npm scripts when `nest [build|start] --watch ...` ## Describe the solution you'd like `nest [build|start] --watch --before=./executable ...` (+ API if you have this) (+ nest-cli.json ?) ## Teacha...
[CLI] Pre-build hook
https://api.github.com/repos/nestjs/nest/issues/4529/comments
3
2020-04-05T23:04:56Z
2020-04-06T12:12:53Z
https://github.com/nestjs/nest/issues/4529
594,697,338
4,529
[ "nestjs", "nest" ]
Hi all, I know that there are many companies using NestJs in production. But... Any using in a corporate level application? I'm not talking about websites, todo's, simple form applications and others. I'm talking about a large application with >50 forms, generating PDF reports, connected to an Oracle DB and w...
[Question] - Using NestJS in an enterprise-level application.
https://api.github.com/repos/nestjs/nest/issues/4527/comments
1
2020-04-05T17:57:37Z
2020-04-05T18:15:35Z
https://github.com/nestjs/nest/issues/4527
594,579,068
4,527
[ "nestjs", "nest" ]
## Bug Report ## Current behavior Server won't start up. Can't find entity files. ## Input Code Updated packages to these versions: ``` "dependencies": { "dependencies": { "@nestjs/common": "^7.0.3", "@nestjs/common": "^7.0.7", "@nestjs/config": "^0.4.0", "@nestjs/config": "^0.4.0"...
Error: Cannot find module
https://api.github.com/repos/nestjs/nest/issues/4524/comments
1
2020-04-05T14:48:46Z
2020-04-07T17:39:38Z
https://github.com/nestjs/nest/issues/4524
594,494,385
4,524
[ "nestjs", "nest" ]
## Bug Report ## Current behavior @Expose() does not awaits async methods before serialization. Given code returns: ```json { "name": "Name Value", "servers": {} } ``` While "servers" should be an array of entities. ## Input Code ```ts import { Controller, Get, UseInterceptors, ClassSerializerInt...
Can't expose async methods
https://api.github.com/repos/nestjs/nest/issues/4523/comments
2
2020-04-05T13:39:53Z
2020-04-05T14:26:30Z
https://github.com/nestjs/nest/issues/4523
594,461,364
4,523
[ "nestjs", "nest" ]
## Bug Report Request scope is very useful in request based flows, where one would need to store information to be used throughout the request's life. However, when the provider that is scoped for a request is injected to singleton controllers, these get request scope as well, making the whole chain request scoped. Wh...
Using request scope efficiently
https://api.github.com/repos/nestjs/nest/issues/4521/comments
1
2020-04-05T07:54:35Z
2020-04-05T09:47:31Z
https://github.com/nestjs/nest/issues/4521
594,316,282
4,521
[ "nestjs", "nest" ]
## Bug Report ## Current behavior <!-- Describe how the issue manifests. --> Optional dependency didn't resolve properly and throws exception. ## Input Code <!-- REPL or Repo link if applicable: --> ![image](https://user-images.githubusercontent.com/11873100/78454949-02c49680-76ce-11ea-8d3a-7f5bc0f7afe5.png...
Optional injection doesn't work properly in graphql modules.
https://api.github.com/repos/nestjs/nest/issues/4518/comments
3
2020-04-04T15:47:45Z
2020-04-09T09:01:34Z
https://github.com/nestjs/nest/issues/4518
593,933,774
4,518
[ "nestjs", "nest" ]
## Bug Report Getting syntax error when trying to run tests on a new project. ## Current behavior Create a project, run `npm run test` (or `test:cov`, `test:watch`). Getting an error: ``` Details: /Users/dklymenko/Repo/nxx/web-nest/src/app.controller.spec.ts:1 import { Test, TestingModule } fro...
NestJS v7 new project test SyntaxError: Cannot use import statement outside a module
https://api.github.com/repos/nestjs/nest/issues/4517/comments
2
2020-04-04T14:57:48Z
2020-04-05T13:16:57Z
https://github.com/nestjs/nest/issues/4517
593,909,112
4,517
[ "nestjs", "nest" ]
## Feature Request Allow defining custom condition for when an exception filter should be called. ## Is your feature request related to a problem? Please describe. The current stituation where an exception filter only checks for `instanceof` and catches any instances of these errors (or any error when `@Catch()` i...
Custom condition in @Catch()
https://api.github.com/repos/nestjs/nest/issues/4516/comments
6
2020-04-04T13:59:06Z
2023-06-19T12:53:40Z
https://github.com/nestjs/nest/issues/4516
593,876,162
4,516
[ "nestjs", "nest" ]
## Feature Request As far as i can see the kafkajs logCreator config is hard coded and can not be customized by the nestjas application developer. Please propagate the config of the logCreator up to kafkajs. ## Is your feature request related to a problem? Please describe. `ClientKafka` class has this code: ``` ...
Allow customization of kafka logcreator
https://api.github.com/repos/nestjs/nest/issues/4508/comments
3
2020-04-03T21:17:03Z
2020-11-16T11:09:28Z
https://github.com/nestjs/nest/issues/4508
593,645,987
4,508
[ "nestjs", "nest" ]
## Feature Request I am using Nest for every web and app backend but whenever i have to add real-time functionality even for a simple curd, i have to manually make socket connection and manually handle all the functionality associated with it (using nest socket wrapper). So when my friends ask me which framework to ...
Abstraction for Real Time Applications
https://api.github.com/repos/nestjs/nest/issues/4501/comments
1
2020-04-03T09:10:02Z
2020-04-03T09:34:05Z
https://github.com/nestjs/nest/issues/4501
593,236,051
4,501
[ "nestjs", "nest" ]
As it stands, there's no way to use the AuthGuard when the connection is initially made. Are there any plans on adding this? In the meantime, has anyone found a workaround for this? I'm trying to capture the users id and add it to the connection pool. This seems like it should be doable. Thanks
Allow auth guard on handleConnection
https://api.github.com/repos/nestjs/nest/issues/4497/comments
1
2020-04-02T20:47:29Z
2020-04-03T07:02:55Z
https://github.com/nestjs/nest/issues/4497
592,910,318
4,497