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"
] | This is a follow up on "Fastify + middleware wildcards" #972
According to https://github.com/fastify/fastify/issues/1896#issuecomment-541395980
we can make it work by `forRoutes('(.*)')` if globalPrefix is set
Also after some digging around, previously it was behaving weirdly with globalPrefix because:
in htt... | Fastify + middleware wildcards (2) | https://api.github.com/repos/nestjs/nest/issues/3497/comments | 10 | 2019-11-29T08:27:08Z | 2020-04-10T11:22:42Z | https://github.com/nestjs/nest/issues/3497 | 530,216,085 | 3,497 |
[
"nestjs",
"nest"
] | Hi, I have a question:
How to access servier(inject with Request) in Interceptors?
My service:
It's ok when I use it in other controller or service.
```
@Injectable()
export class MyLogger implements LoggerService {
constructor(
@Inject('winston') private readonly logger: WinstonLog,
@Inject(REQUES... | How to access service(inject with Request) in Interceptors | https://api.github.com/repos/nestjs/nest/issues/3496/comments | 6 | 2019-11-29T08:15:20Z | 2020-02-28T07:13:56Z | https://github.com/nestjs/nest/issues/3496 | 530,211,797 | 3,496 |
[
"nestjs",
"nest"
] | ## Feature Request
## Is your feature request related to a problem? Please describe.
Some of the tests of the source suffer from one of two problems.
a) Expectation inside catch handlers or within promise catch methods.
I have cleared a few of these locally and will make a pull request shortly but there sti... | Apply linting against the specs in the source code | https://api.github.com/repos/nestjs/nest/issues/3491/comments | 3 | 2019-11-28T16:18:54Z | 2020-03-10T18:45:50Z | https://github.com/nestjs/nest/issues/3491 | 529,997,932 | 3,491 |
[
"nestjs",
"nest"
] | ## Bug Report
When using `PassportModule.register({ defaultStrategy: 'strategy' })`, removing the strategy name from `@UseGuards(AuthGuard)` doesn't work.
## Current behavior
Throws the following error:
```
[Nest] 20652 - 11/28/2019, 1:23:30 PM [ExceptionsHandler] Cannot read property 'challenge' of undefine... | Trouble using defaultStrategy with PassportModule | https://api.github.com/repos/nestjs/nest/issues/3490/comments | 5 | 2019-11-28T15:43:28Z | 2020-02-28T07:13:51Z | https://github.com/nestjs/nest/issues/3490 | 529,981,691 | 3,490 |
[
"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 [...] -->
Sometimes I want to trigger some async actions without using `await`. For example, in a API Rest route, when as signs up, I want to tr... | Catch error on async functions | https://api.github.com/repos/nestjs/nest/issues/3484/comments | 3 | 2019-11-28T08:26:55Z | 2020-02-28T07:14:14Z | https://github.com/nestjs/nest/issues/3484 | 529,761,958 | 3,484 |
[
"nestjs",
"nest"
] | Hello
We recently migration two of our applications from pure Express framework to NestJS. We are trying to use the similar debug config for NestJS as shown below. Everything is working fine with the debugger like hitting the endpoint etc but as soon as we change any files, the debugger is killed and we need to manu... | VSCode Debugger killed after file changes | https://api.github.com/repos/nestjs/nest/issues/3480/comments | 2 | 2019-11-27T18:32:41Z | 2020-02-28T07:14:20Z | https://github.com/nestjs/nest/issues/3480 | 529,512,577 | 3,480 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
After creating microservice that connects to RabbitMQ, if the connection hangs or fail, it tries to reconnect, but always create a new channel and keep the others online too.
## Input Code
```ts
import { NestFactory } from '@nestjs/core';
import { Transport } from '@nestj... | Microservice disconnect creates new channel and don't kill others | https://api.github.com/repos/nestjs/nest/issues/3479/comments | 3 | 2019-11-27T13:22:15Z | 2020-03-17T13:33:12Z | https://github.com/nestjs/nest/issues/3479 | 529,342,822 | 3,479 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
When DTO validation failed "Internal server error" returned instead validation error.
## Input Code
<!-- REPL or Repo link if applicable: -->
```ts
@UsePipes(new ValidationPipe())
@SubscribeMessage('subscribe-transactions')
subscribeTransactions(
@MessageBody()... | WebSocketGateway returns "server internal error" when validation failed | https://api.github.com/repos/nestjs/nest/issues/3476/comments | 3 | 2019-11-26T22:03:02Z | 2020-02-25T10:58:41Z | https://github.com/nestjs/nest/issues/3476 | 528,996,440 | 3,476 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
When I define app.useGlobalPipes it doesn't apply to WebSocketGateway
## Input Code
main.ts
```ts
app.useGlobalPipes(new ValidationPipe({
transform: true,
whitelist: true,
forbidNonWhitelisted: true,
}));
```
app.gateway.ts
```ts
@UsePipes(new Validati... | useGlobalPipes doesn't work for WebSocketGateway | https://api.github.com/repos/nestjs/nest/issues/3475/comments | 3 | 2019-11-26T21:48:05Z | 2020-02-25T10:58:44Z | https://github.com/nestjs/nest/issues/3475 | 528,990,090 | 3,475 |
[
"nestjs",
"nest"
] | ## Bug Report
For file upload uses "fastify-file-upload" version "2.0.1".
When value in ValidationPipe.transform includes file object plainToClass function try to run mv function in transformation process. Because it differs from /express-fileupload/lib/fileFactory.js implementation it fail.
This issue is duplicat... | Validation Pipe not working with files when fastify adapter uses. Updated | https://api.github.com/repos/nestjs/nest/issues/3473/comments | 3 | 2019-11-26T16:39:39Z | 2020-05-20T22:31:14Z | https://github.com/nestjs/nest/issues/3473 | 528,843,575 | 3,473 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
When I use formData to send file and some string to nestjs, everything is ok except I use CreatePackageDto to type body, it would turn to 400 http code.(I use validationPipe globally).
There are more codes in [offline-package-admin](https://github.com/mcuking/offline-package-adm... | How to write dto for multipart/form-data? | https://api.github.com/repos/nestjs/nest/issues/3470/comments | 2 | 2019-11-26T11:48:35Z | 2020-02-24T13:53:50Z | https://github.com/nestjs/nest/issues/3470 | 528,673,203 | 3,470 |
[
"nestjs",
"nest"
] | ## Feature request
Having the ability to run nestjs on deno.land
Why? Faster more secure, quicker to deploy.
The world is embracing typescript why not hug deno as well :) ? | Deno support, is it on the roadmap? | https://api.github.com/repos/nestjs/nest/issues/3464/comments | 1 | 2019-11-25T12:04:48Z | 2019-11-26T09:12:51Z | https://github.com/nestjs/nest/issues/3464 | 528,042,633 | 3,464 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
Websocket client (Socket.io-client) doesn't connect properly with websocket server on e2e tests. The connection is established but the socket.id is always undefined in both server and client side.
## Input Code
### Main
```ts
import { NestFactory } from '@nestjs/core';
impor... | Websocket socket.io-client testing doesn't connect properly | https://api.github.com/repos/nestjs/nest/issues/3463/comments | 2 | 2019-11-25T11:39:03Z | 2020-02-23T18:57:01Z | https://github.com/nestjs/nest/issues/3463 | 528,030,377 | 3,463 |
[
"nestjs",
"nest"
] | ## Regression
## Potential Commit/PR that introduced the regression**
<!-- If you have time to investigate, what PR/date introduced this issue. -->
Looks like it was [this commit](https://github.com/nestjs/nest/commit/ed3da85252fef246c73b5bc120fb218018a5abf9) that introduced the problem. Something about how instea... | Dynamically Configured Reused Modules | https://api.github.com/repos/nestjs/nest/issues/3462/comments | 3 | 2019-11-25T04:46:44Z | 2020-02-24T14:56:56Z | https://github.com/nestjs/nest/issues/3462 | 527,842,807 | 3,462 |
[
"nestjs",
"nest"
] | I am trying to use .hbs templates in my nestjs project but the **/views** and **/ public** folders do not appear in the **/ build** folder.
Note: I am copying exactly the same code as our Nestjs doc about **MVC**. | The /views and /public folders do not appear in the /build folder usign hbs. | https://api.github.com/repos/nestjs/nest/issues/3461/comments | 3 | 2019-11-25T01:35:11Z | 2020-02-24T17:03:29Z | https://github.com/nestjs/nest/issues/3461 | 527,796,386 | 3,461 |
[
"nestjs",
"nest"
] | ## Bug Report
Hello i got a problem in nest.js. i change code but not working not seen error. Example i create new function or change route but this not working postman
## Current behavior
<!-- Describe how the issue manifests. -->
## Input Code
<!-- REPL or Repo link if applicable: -->
`http://localhost:3000/b... | Nest.js code change but no changes appear | https://api.github.com/repos/nestjs/nest/issues/3460/comments | 2 | 2019-11-24T16:18:53Z | 2020-02-22T18:03:41Z | https://github.com/nestjs/nest/issues/3460 | 527,721,151 | 3,460 |
[
"nestjs",
"nest"
] | I believe theres a bug in the documentation.
Here is the link to the page:
https://docs.nestjs.com/techniques/configuration
The issue is with this code block:
```ts
import { Injectable } from '@nestjs/common';
import { ConfigService } from './config/config.service';
@Injectable()
export class AppService {... | Possible issue with configuration docs | https://api.github.com/repos/nestjs/nest/issues/3459/comments | 3 | 2019-11-24T15:33:20Z | 2020-02-23T04:34:22Z | https://github.com/nestjs/nest/issues/3459 | 527,714,951 | 3,459 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
<!-- Describe how the issue manifests. -->
CORS simply does not work regardless of how I enable it.
1. `const app = await NestFactory.create(AppModule, { cors: true });`
2. `const app = await NestFactory.create(AppModule, { cors: {corsOptions} });`
3. `app.enableCors() ;`
4.... | CORS does not seem to activate | https://api.github.com/repos/nestjs/nest/issues/3458/comments | 3 | 2019-11-24T07:25:45Z | 2020-02-25T10:58:38Z | https://github.com/nestjs/nest/issues/3458 | 527,660,954 | 3,458 |
[
"nestjs",
"nest"
] | ## Feature Request
## Is your feature request related to a problem? Please describe.
I must redeclare the decorators again and again when I'm trying to override a method from the parent class that already have some decorators
## Describe the solution you'd like
I have solved this by my self by adding a ```over... | Override decorators for overriden methods? | https://api.github.com/repos/nestjs/nest/issues/3457/comments | 5 | 2019-11-23T01:47:29Z | 2020-12-21T10:37:54Z | https://github.com/nestjs/nest/issues/3457 | 527,492,260 | 3,457 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
When an error is thrown from a core express middleware (like body parser), the error is handled by the BaseExceptionFilter. The error response this sends has a different structure than the rest of the HTTP exception responses
Here is where that is thrown
https://github.com/ne... | Unknown exceptions when returned do not have an "error" key, unlike all other nest error responses. | https://api.github.com/repos/nestjs/nest/issues/3454/comments | 2 | 2019-11-22T23:20:08Z | 2020-03-15T12:10:44Z | https://github.com/nestjs/nest/issues/3454 | 527,460,117 | 3,454 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
For file upload uses "fastify-file-upload" version "2.0.1".
When value in `ValidationPipe.transform` includes file object `plainToClass` function try to run `mv` function in transformation process. Because it differs from `/express-fileupload/lib/fileFactory.js` implementation it fa... | Validation Pipe not working with files when fastify adapter uses | https://api.github.com/repos/nestjs/nest/issues/3449/comments | 3 | 2019-11-21T21:06:05Z | 2020-02-24T18:06:44Z | https://github.com/nestjs/nest/issues/3449 | 526,841,342 | 3,449 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
Added the valid list of HOST from where the request should be allowed
## Input Code
```ts
const allowedOrigins = [
'http://192.168.X.XXX',
'http://localhost'
];
// Reflect the origin if it's in the allowed list or not defined (cURL, Postman, etc.)
const ... | Not able to restrict CORS by origin | https://api.github.com/repos/nestjs/nest/issues/3447/comments | 3 | 2019-11-21T11:51:32Z | 2020-02-24T11:47:17Z | https://github.com/nestjs/nest/issues/3447 | 526,545,957 | 3,447 |
[
"nestjs",
"nest"
] | ## Bug Report
Normally Nest's DI "propagates" the scope: When injecting e.g. a request-scoped service into `MyIntermediateService` then `MyIntermediateService` implicitly becomes request scoped.
**But:** This does not work when the request-scoped service is imported from another module.
## Current behavior
... | [Modules] Exported request-scoped providers don't propagate | https://api.github.com/repos/nestjs/nest/issues/3446/comments | 14 | 2019-11-21T09:45:48Z | 2020-03-10T19:57:09Z | https://github.com/nestjs/nest/issues/3446 | 526,477,680 | 3,446 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
In the responses section of https://docs.nestjs.com/recipes/swagger it shows this class:
```
export class Cat {
@ApiModelProperty()
name: string;
@ApiModelProperty()
age: number;
@ApiModelProperty()
breed: string;
}
```
But the response shows:
```
... | Documentation: Swagger Response has Extra Attribute: id | https://api.github.com/repos/nestjs/nest/issues/3444/comments | 3 | 2019-11-21T01:32:26Z | 2020-02-23T18:56:58Z | https://github.com/nestjs/nest/issues/3444 | 526,310,685 | 3,444 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
I have a micro-service configuration with a `clean` session parameter set to `false`. As such I was expecting to receive QoS 1 messages sent while application is offline, when the application comes online again, but didn't happen.
## Input Code
<!-- REPL or Repo link if app... | Unable to receive QoS 1 messages on mqtt after application restart | https://api.github.com/repos/nestjs/nest/issues/3441/comments | 3 | 2019-11-20T20:23:02Z | 2024-06-12T16:08:56Z | https://github.com/nestjs/nest/issues/3441 | 526,169,801 | 3,441 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
<!-- Describe how the issue manifests. -->
I've use thirdparty winston logger, and disable system built-in logger in application create param, but thirdparty logger can't output some error like `[ExceptionHandler] xxxScheduleService is not defined`, I checked [ExceptionHandler](ht... | When disable built-in logger, ExceptionHandler can't output by overrideed logger | https://api.github.com/repos/nestjs/nest/issues/3439/comments | 2 | 2019-11-20T16:53:02Z | 2020-02-22T18:03:39Z | https://github.com/nestjs/nest/issues/3439 | 525,933,338 | 3,439 |
[
"nestjs",
"nest"
] | ## Feature Request
## Is your feature request related to a problem? Please describe.
Take the following simple module dependency example. When some services within `DomainModule` need to inject _implementations_ from `DataAccessModule`, then Nest forces us to do a `imports: [DataAccessModule]` in `DomainModule` (... | [Modules] Better support inversion of control between modules | https://api.github.com/repos/nestjs/nest/issues/3437/comments | 4 | 2019-11-20T14:36:50Z | 2020-02-25T13:05:07Z | https://github.com/nestjs/nest/issues/3437 | 525,843,639 | 3,437 |
[
"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
<!... | FileInterceptor no import, is version: 6.x.x | https://api.github.com/repos/nestjs/nest/issues/3436/comments | 1 | 2019-11-20T08:40:50Z | 2020-02-18T11:17:42Z | https://github.com/nestjs/nest/issues/3436 | 525,655,016 | 3,436 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
Using WsAdapter, I am successfully connecting to the WebSocketGateway from the client, but messages aren't being emitted when calling emit() from the handleConnection() function. I am also able to successfully disconnect from the gateway using client. No errors are being thrown fr... | Can't emit messages to client using WsAdapter | https://api.github.com/repos/nestjs/nest/issues/3431/comments | 6 | 2019-11-19T20:35:10Z | 2020-03-10T18:55:49Z | https://github.com/nestjs/nest/issues/3431 | 525,250,993 | 3,431 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
<!-- Describe how the issue manifests. -->
We have a HttpModule with many different configurations, but this not working because Nestjs take the first instance with the first configuration. So we saw the implementation of [HttpModule](https://github.com/nestjs/nest/blob/master/pac... | Dynamic modules needs a configuration with a identifier per module | https://api.github.com/repos/nestjs/nest/issues/3427/comments | 2 | 2019-11-18T19:07:30Z | 2020-02-22T18:03:35Z | https://github.com/nestjs/nest/issues/3427 | 524,559,091 | 3,427 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
I have an e2e test which is testing a certain route correct responsiveness. The issue is that I have a DTO class as a dependency of that particular controller method and the DTO class is using a custom Validator which is checking some values from a database in order to validate th... | Can't mock custom Validator in end-to-end tests | https://api.github.com/repos/nestjs/nest/issues/3426/comments | 4 | 2019-11-18T12:43:24Z | 2020-02-22T18:03:32Z | https://github.com/nestjs/nest/issues/3426 | 524,344,578 | 3,426 |
[
"nestjs",
"nest"
] | I like to import dynamically one sub-module, from multiple sub-modules I have into root module folder, depending from some .ENV configuration value (similar to useFactory, but for modules).
src\
rootFolder (rootModule, etc..)
folderA (service, sub-module, etc..)
folderB (service, sub-module, etc..)
Folde... | Dynamic importing of modules (Not dynamic modules) | https://api.github.com/repos/nestjs/nest/issues/3423/comments | 2 | 2019-11-17T22:57:28Z | 2020-02-16T09:36:00Z | https://github.com/nestjs/nest/issues/3423 | 524,062,344 | 3,423 |
[
"nestjs",
"nest"
] | ## Feature Request
## Is your feature request related to a problem? Please describe.
I would love to use the new azure event grid for event sourcing. I have tested the azure-func-http and it works great but it requires that we use a callback via event grid which means the azure function needs to have a public url e... | Azure event grid trigger support, similar to @nestjs/azure-func-http | https://api.github.com/repos/nestjs/nest/issues/3421/comments | 5 | 2019-11-17T16:08:17Z | 2020-02-15T22:02:09Z | https://github.com/nestjs/nest/issues/3421 | 524,006,721 | 3,421 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
With TestingModule, the injection is not made when the service uses the `Injectable` and `Scope.TRANSIENT`. Constructor seems not to be called (I put some log)
## Input Code
```ts
// Wrapper to implement Nest LoggerService Interface and use our custom logger
// src/core/logge... | TestingModule not calling constructor when class is Injectable and Scope.TRANSIENT | https://api.github.com/repos/nestjs/nest/issues/3419/comments | 9 | 2019-11-17T10:57:46Z | 2020-02-28T13:33:18Z | https://github.com/nestjs/nest/issues/3419 | 523,968,743 | 3,419 |
[
"nestjs",
"nest"
] | # Bug Report
`ClassSerializerInterceptor` doesn't work with websockets.
## Current behavior
Property marked with `@Exclude()` appears in response in every of these three cases. I don't have any global interceptors defined.
## Input Code
```ts
import { Exclude } from 'class-transformer';
export class ... | [Websockets] ClassSerializerInterceptor doesn't work | https://api.github.com/repos/nestjs/nest/issues/3417/comments | 3 | 2019-11-16T10:03:58Z | 2020-02-15T20:59:25Z | https://github.com/nestjs/nest/issues/3417 | 523,825,358 | 3,417 |
[
"nestjs",
"nest"
] | ## Bug Report
dto failed when I wrote the basecontroller
## Current behavior
<!-- Describe how the issue manifests. -->
## Input Code
<!-- REPL or Repo link if applicable: -->
> BaseController
```ts
import { BaseService } from './base.service';
import { Body, Controller, Get, Post, Query } from '@nestjs/com... | My dto failed when I wrote the basecontroller | https://api.github.com/repos/nestjs/nest/issues/3416/comments | 2 | 2019-11-16T08:18:31Z | 2020-02-15T20:59:22Z | https://github.com/nestjs/nest/issues/3416 | 523,813,986 | 3,416 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
FilesInterceptor return UnhandledPromiseRejection when number of files exceed maxCount parameter.
Error with stack trace:
```
UnhandledPromiseRejectionWarning: TypeError [ERR_INVALID_ARG_TYPE]: The "chunk" argument must be one of type string or Buffer. Received type object
... | FilesInterceptor return UnhandledPromiseRejection when number of fields exceed maxCount | https://api.github.com/repos/nestjs/nest/issues/3413/comments | 5 | 2019-11-15T14:42:34Z | 2020-02-17T16:21:23Z | https://github.com/nestjs/nest/issues/3413 | 523,508,611 | 3,413 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
<!-- Describe how the issue manifests. -->
HttpModule seems to ignore options into useFactory
## Minimal reproduction of the problem with instructions
```
@Module({
imports: [
HttpModule.registerAsync({
useFactory: () => ({
timeout: 7000,
maxRe... | HttpModule registerAsync not working | https://api.github.com/repos/nestjs/nest/issues/3409/comments | 2 | 2019-11-15T08:49:35Z | 2020-02-17T15:18:09Z | https://github.com/nestjs/nest/issues/3409 | 523,336,018 | 3,409 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
<!-- Describe how the issue manifests. -->
After installing the class-transformer npm module, whenever I reference the plainToClass method, I get the following runtime error:
const class_transformer_1 = __webpack_require__(!(function webpackMissingModule() { var e = new Error("... | Error: Cannot find module 'class-transformer' | https://api.github.com/repos/nestjs/nest/issues/3405/comments | 2 | 2019-11-14T17:04:24Z | 2020-02-17T15:18:12Z | https://github.com/nestjs/nest/issues/3405 | 522,989,349 | 3,405 |
[
"nestjs",
"nest"
] | ## Current behavior
<!-- Describe how the issue manifests. -->
```cmd
ts-node .\src\main.ts
[Nest] 10052 - 2019-11-14 16:00:07 [NestFactory] Starting Nest application...
[Nest] 10052 - 2019-11-14 16:00:07 [InstanceLoader] AppModule dependencies initialized +30ms
[Nest] 10052 - 2019-11-14 16:00:07 ... | feature(gateways): support multiple websocket gateways on different paths(WsAdapter) #722 | https://api.github.com/repos/nestjs/nest/issues/3397/comments | 11 | 2019-11-14T07:57:42Z | 2025-01-27T06:24:04Z | https://github.com/nestjs/nest/issues/3397 | 522,687,055 | 3,397 |
[
"nestjs",
"nest"
] | ## Feature Request
## Is your feature request related to a problem? Please describe.
In testing Controller
I would like to add useGlobalPipes(.....) before compile to be able to use build-in Body validation in controller params
```
beforeEach(async () => {
const module: TestingModule = await Test.create... | Testing module - how to useGlobalPipes | https://api.github.com/repos/nestjs/nest/issues/3396/comments | 3 | 2019-11-14T04:56:43Z | 2020-03-17T13:30:59Z | https://github.com/nestjs/nest/issues/3396 | 522,624,659 | 3,396 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
Method `server.emit` on WsAdapter returns false and does not send any data to the WebSocket, but method `client.send`
## Input Code
main.ts:
```ts
import { NestFactory } from '@nestjs/core';
import { AppModule } from './app.module';
import { WsAdapter } from '@nestjs/plat... | Method emit on WsAdapter returns false | https://api.github.com/repos/nestjs/nest/issues/3390/comments | 2 | 2019-11-13T14:21:43Z | 2020-02-15T22:02:12Z | https://github.com/nestjs/nest/issues/3390 | 522,254,358 | 3,390 |
[
"nestjs",
"nest"
] | Hi, I was wondering if exporting a Repository file in the module is a good practice, I'm making some unit testing for a module, I would like just to use the service and test indirectly the repository. But when I inject it into testingModule, it asks me about the repository file with following error:
> Potential sol... | Exporting Repository class in the Module | https://api.github.com/repos/nestjs/nest/issues/3385/comments | 2 | 2019-11-12T16:23:39Z | 2020-02-10T21:56:26Z | https://github.com/nestjs/nest/issues/3385 | 521,654,559 | 3,385 |
[
"nestjs",
"nest"
] | ### Hi there.
What if I want to change the `baseUrl ` on **tsconfig.json**
From `./`
To `./src`?
And use as **import/require** file path `*` in place of `src/*`.
It can't find the modules after the I change the `baseUrl` and throw errors.
### Thanks. | Change tsconfig baseUrl | https://api.github.com/repos/nestjs/nest/issues/3378/comments | 2 | 2019-11-11T17:13:51Z | 2020-02-10T10:02:03Z | https://github.com/nestjs/nest/issues/3378 | 521,084,008 | 3,378 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
<!-- Describe how the issue manifests. -->
I've created a module called Documents, and i imported in the appModule (Main)
This module have its own middlewares (documentByIdMiddleware, documentValidatorMiddleware)
The whole application have 3 middlewares, LoggerMiddleware, Toke... | Very strange behavior Importing modules | https://api.github.com/repos/nestjs/nest/issues/3371/comments | 3 | 2019-11-10T00:17:51Z | 2020-04-10T11:28:30Z | https://github.com/nestjs/nest/issues/3371 | 520,532,429 | 3,371 |
[
"nestjs",
"nest"
] | ## Bug Report
Honestly I'm not sure if this is an issue/bug with NestJs, TypeOrm or TypeScript itself. I'm not sure also if it is because the field was defined with `type: 'bigint'`
## Current behavior
I'm trying to check the value of a number field using a triple equals if the values are the same. But the tripl... | Triple Equals not working on number field (but regular double equals does) [TypeOrm Entity object] | https://api.github.com/repos/nestjs/nest/issues/3369/comments | 5 | 2019-11-09T10:15:28Z | 2020-02-09T03:09:33Z | https://github.com/nestjs/nest/issues/3369 | 520,379,314 | 3,369 |
[
"nestjs",
"nest"
] | I am trying to implement TypeORM with Nestjs and got stuck in the circular dependency issue which I am sure I am missing something but not able to identify.
**Error I'm getting:**
Error: Nest can't resolve dependencies of the QRCodeRepository (?). Please make sure that the argument QRCodeRepository at index [0] is ... | Nest can't resolve dependencies : Stuck while integrating TypeORM | https://api.github.com/repos/nestjs/nest/issues/3365/comments | 2 | 2019-11-08T13:35:36Z | 2020-02-08T01:12:35Z | https://github.com/nestjs/nest/issues/3365 | 520,018,094 | 3,365 |
[
"nestjs",
"nest"
] | ## Feature Request
As I need to send email using nestjs I would like an official framework lib. I don't feel safe using third parties.
## Is your feature request related to a problem? Please describe.
I need to send emails in nestjs but the framework does not support this yet.
## Describe the solution you'd lik... | As I need to send email using nestjs I would like an official framework lib. I don't feel safe using third parties. | https://api.github.com/repos/nestjs/nest/issues/3364/comments | 3 | 2019-11-08T13:08:36Z | 2020-02-08T01:12:32Z | https://github.com/nestjs/nest/issues/3364 | 520,005,614 | 3,364 |
[
"nestjs",
"nest"
] | ## Current behavior
I cannot have two modules with same name in application. Only the first module will be available in the application. In my case, this is the `AModule` from "./my-a-module".
## Input Code
<!-- REPL or Repo link if applicable: -->
#### Third party library
```javascript
@Module({
provi... | I cannot have two modules with same name in application. Is this a bug or a feature? | https://api.github.com/repos/nestjs/nest/issues/3362/comments | 8 | 2019-11-08T09:28:04Z | 2020-02-17T15:18:15Z | https://github.com/nestjs/nest/issues/3362 | 519,905,256 | 3,362 |
[
"nestjs",
"nest"
] | Please give an example of deletion and modification
Thanks | Please give an example of deletion and modification | https://api.github.com/repos/nestjs/nest/issues/3361/comments | 1 | 2019-11-08T07:54:36Z | 2020-02-06T18:07:12Z | https://github.com/nestjs/nest/issues/3361 | 519,866,218 | 3,361 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
<!-- Describe how the issue manifests. -->
I have a x.dto.ts, and use @IsNumber() above some params.But it when I transfer some query params like '***?active=1',active cant transform into number type,it's always string type.
## Input Code
<!-- REPL or Repo link if applicable: --... | DTO type transform don't work | https://api.github.com/repos/nestjs/nest/issues/3357/comments | 2 | 2019-11-08T01:41:40Z | 2020-02-06T03:49:03Z | https://github.com/nestjs/nest/issues/3357 | 519,609,521 | 3,357 |
[
"nestjs",
"nest"
] | ## Feature Request
When you create a parameter decorator, the arguments that it can accept aren't strongly typed. For example take this code snippet from the docs https://docs.nestjs.com/custom-decorators
```
import { createParamDecorator } from '@nestjs/common';
export const User = createParamDecorator((data... | Strongly typed createParamDecorator arguments | https://api.github.com/repos/nestjs/nest/issues/3356/comments | 6 | 2019-11-08T00:52:30Z | 2020-05-20T21:38:30Z | https://github.com/nestjs/nest/issues/3356 | 519,596,232 | 3,356 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
When running the provided NestJS project (link below) the following errors occurred
```
(node:7098) UnhandledPromiseRejectionWarning: Error: Query.users defined in resolvers, but not in schema
(node:7098) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error... | Error using Graphql Module with type-graphql at the same time | https://api.github.com/repos/nestjs/nest/issues/3353/comments | 5 | 2019-11-07T14:45:36Z | 2020-02-06T18:07:08Z | https://github.com/nestjs/nest/issues/3353 | 519,310,743 | 3,353 |
[
"nestjs",
"nest"
] | does @types/mongoose needs upgrade to be used with this nestjs example?
I get this error:
`interface Device
Interface 'Device' incorrectly extends interface 'Document'.
Types of property 'model' are incompatible.
Type 'string' is not assignable to type '<T extends Document>(name: string) => Model<T, {}>'... | mongoose types | https://api.github.com/repos/nestjs/nest/issues/3352/comments | 2 | 2019-11-07T13:58:13Z | 2020-02-06T18:07:04Z | https://github.com/nestjs/nest/issues/3352 | 519,282,761 | 3,352 |
[
"nestjs",
"nest"
] | ## Feature Request
## Describe the solution you'd like
Add the `funding` option the package.json of the nestjs/* packages. Therefore a developer can run `npm fund` and see where you can donate to.
[Read more in this article](https://blog.opencollective.com/beyond-post-install/)
## Other
How should we handle th... | Add `funding` to npm configuration | https://api.github.com/repos/nestjs/nest/issues/3351/comments | 2 | 2019-11-07T11:34:59Z | 2020-03-17T13:32:19Z | https://github.com/nestjs/nest/issues/3351 | 519,211,445 | 3,351 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
I have a bunch of microcervices, with relation one to many.
I used redis db option to store messages with same names in different queue until realize it does not work and messages are processed by all services and compiled minimal example
## Input Code
https://github.com/Tre... | [microservices] redis transport ignores db option | https://api.github.com/repos/nestjs/nest/issues/3344/comments | 2 | 2019-11-06T17:58:02Z | 2020-02-05T19:48:42Z | https://github.com/nestjs/nest/issues/3344 | 518,636,206 | 3,344 |
[
"nestjs",
"nest"
] | I very confusing about microservice, i cannot realizing that can be useful on my app.
My question:
- What is microservice used for ?
- Can microservice handle event similiar with event emitter on nodejs ?, when `ProductService` emit event `onProductCreated` then `NotificationService` will handle that event (send... | Real world example for microservice | https://api.github.com/repos/nestjs/nest/issues/3342/comments | 3 | 2019-11-06T14:53:28Z | 2020-02-05T19:48:38Z | https://github.com/nestjs/nest/issues/3342 | 518,523,063 | 3,342 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
My current scenario is just a normal publish-subscribe application, in which I'm publishing a topic and subscribing to it. But the response I'm expecting is the message sent by me, but it also provides me with the topic name.
Expected output: {"a":56}
Actual output: {"pattern":"t... | Client Mqtt dispatchEvent() returns entire packet instead of packet.data | https://api.github.com/repos/nestjs/nest/issues/3341/comments | 2 | 2019-11-06T11:43:21Z | 2020-02-13T13:33:03Z | https://github.com/nestjs/nest/issues/3341 | 518,419,175 | 3,341 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
When i updated to `nestjs v6.9.0`, it shows injected service is undefined (`this.cloudServcie` is `undefined` in `AccountsService`.)
In `nestjs v6.8.5`, it works fine.
## Input Code
<!-- REPL or Repo link if applicable: -->
I imported `AccountsModule` to `CustomerModule` as f... | Injected service is undefined in the constructor when updated to nestjs v6.9.0 | https://api.github.com/repos/nestjs/nest/issues/3340/comments | 2 | 2019-11-06T07:58:21Z | 2020-02-13T13:33:06Z | https://github.com/nestjs/nest/issues/3340 | 518,302,904 | 3,340 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
When passing your own logger implementation via `options.logger` to `NestFactory.create`, calling `app.useLogger` on the resulting NestApplication instance or even `Logger.overrideLogger` it should replace the Logger singleton instance in `@nestjs/common` but it appears to still be... | Bug using custom logger to replace singleton instance | https://api.github.com/repos/nestjs/nest/issues/3336/comments | 3 | 2019-11-05T20:21:00Z | 2020-02-03T22:56:07Z | https://github.com/nestjs/nest/issues/3336 | 518,005,762 | 3,336 |
[
"nestjs",
"nest"
] | Hey guys, actually I've been a step further with my dynamic plugins (as described in https://github.com/nestjs/nest/issues/3307#issuecomment-549737331). Now I want to get an instance of my `PluginModule` to get the instances of all loaded plugins, because there are `functions` and `properties` which I need to read afte... | Get instance of dynamic modules and child modules | https://api.github.com/repos/nestjs/nest/issues/3330/comments | 2 | 2019-11-05T09:32:08Z | 2020-02-03T11:30:23Z | https://github.com/nestjs/nest/issues/3330 | 517,652,385 | 3,330 |
[
"nestjs",
"nest"
] | Hey guys, actually I've been a step further with my dynamic plugins (as described in https://github.com/nestjs/nest/issues/3307#issuecomment-549737331). Now I want to get an instance of my `PluginModule` to get the instances of all loaded plugins, because there are `functions` and `properties` which I need to read afte... | Get instance of dynamic modules and child modules | https://api.github.com/repos/nestjs/nest/issues/3329/comments | 4 | 2019-11-05T09:31:48Z | 2020-02-04T11:14:45Z | https://github.com/nestjs/nest/issues/3329 | 517,652,201 | 3,329 |
[
"nestjs",
"nest"
] | Lets say I want to write a hybrid app which uses JWT token for authorization. So I have used passport jwt strategy and implemented custom AuthGuard which is used for both endpoints and mutations. It looks like this:
```js
@Injectable()
export class AuthGuard implements CanActivate {
constructor(private readonly... | How to determinate if it is REST endpoint or GQL mutation inside AuthGuard | https://api.github.com/repos/nestjs/nest/issues/3325/comments | 5 | 2019-11-04T10:40:31Z | 2020-02-04T07:48:36Z | https://github.com/nestjs/nest/issues/3325 | 517,068,673 | 3,325 |
[
"nestjs",
"nest"
] | ## Feature Request
## Is your feature request related to a problem? Please describe.
I have looked through the docs and can't seem to find anything in detail regarding gRPC Metadata. Therefore, I am wondering if this is available and can be added to the docs?
## What is the motivation / use case for changing the... | gRPC: Metadata | https://api.github.com/repos/nestjs/nest/issues/3324/comments | 2 | 2019-11-04T06:20:40Z | 2020-02-02T09:06:47Z | https://github.com/nestjs/nest/issues/3324 | 516,975,134 | 3,324 |
[
"nestjs",
"nest"
] | I want to validate my request before handle it but with nest for JS not TS
there isn't codesample in js in the docs about validation so i asked here | how can i do request validation with javascript ES6 ? | https://api.github.com/repos/nestjs/nest/issues/3323/comments | 2 | 2019-11-03T20:52:42Z | 2020-02-01T22:30:40Z | https://github.com/nestjs/nest/issues/3323 | 516,887,039 | 3,323 |
[
"nestjs",
"nest"
] | This line https://github.com/nestjs/nest/blob/master/packages/microservices/server/server-rmq.ts#L88 always returns true, even I setting up noAck to false in RmqOptions. It is happens because RQM_DEFAULT_NOACK is true. So, the logic should be changed.
| noAck is always true | https://api.github.com/repos/nestjs/nest/issues/3319/comments | 3 | 2019-11-03T16:59:14Z | 2020-02-01T17:55:47Z | https://github.com/nestjs/nest/issues/3319 | 516,857,894 | 3,319 |
[
"nestjs",
"nest"
] | ## Feature Request
It would be nice to be able to export rpcParamDecorator.
We are able to define our own param decorators for http requests. It would be awesome to be able to do the same for RPC microservices.
## What is the motivation / use case for changing the behavior?
For example, for RabbitMQ, everyone... | Export createRpcParamDecorator | https://api.github.com/repos/nestjs/nest/issues/3318/comments | 3 | 2019-11-02T19:53:20Z | 2020-02-02T00:48:13Z | https://github.com/nestjs/nest/issues/3318 | 516,702,546 | 3,318 |
[
"nestjs",
"nest"
] | ## Feature Request
## Is your feature request related to a problem? Please describe.
<!-- A clear and concise description of what the problem is. Ex. I have an issue when [...] -->
## Describe the solution you'd like
<!-- A clear and concise description of what you want to happen. Add any considered drawbacks. ... | How to support dbfirst and codefirst? | https://api.github.com/repos/nestjs/nest/issues/3317/comments | 3 | 2019-11-02T06:49:32Z | 2020-01-31T20:16:23Z | https://github.com/nestjs/nest/issues/3317 | 516,503,697 | 3,317 |
[
"nestjs",
"nest"
] | ## Feature Request
## Is your feature request related to a problem? Please describe.
Looking for an elegant approach to parent/child nested routes.
## Describe the solution you'd like
My experience with decorators is a bit limited, but I was wondering if it would be possible to add functionality so that instead... | Modular parent/child route nesting? | https://api.github.com/repos/nestjs/nest/issues/3316/comments | 4 | 2019-11-01T23:00:04Z | 2020-01-31T20:16:17Z | https://github.com/nestjs/nest/issues/3316 | 516,388,793 | 3,316 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
Hey everybody.
Im experiencing problems with ws adapter in Guards context: inside Gateway's **handleConnection** I'm able to get client headers, but in the same time I can't get client headers inside the Guard - when I'm getting context from **context.switchToWs().getClient()** -... | How can I get headers from websocket client using ws with guard, not socket.io? | https://api.github.com/repos/nestjs/nest/issues/3312/comments | 3 | 2019-11-01T17:50:15Z | 2020-02-02T19:44:05Z | https://github.com/nestjs/nest/issues/3312 | 516,258,751 | 3,312 |
[
"nestjs",
"nest"
] | ## Bug Report
There was already a similar bug reported in #1832 but the conversation is closed.
## Current behavior
- When I throw an error as `throw new Error('not in catch');`
the `err.message` is: `not in catch`
- When I throw an error as `throw new HttpException('my message from HttpException', 404);`
... | HttpException and NotFoundException have different output | https://api.github.com/repos/nestjs/nest/issues/3308/comments | 2 | 2019-11-01T09:29:27Z | 2020-01-30T22:59:57Z | https://github.com/nestjs/nest/issues/3308 | 516,003,548 | 3,308 |
[
"nestjs",
"nest"
] | ## Bug Report
As stated in #3277 I'm actually trying to get a plugin architecture working. For this I used the dynamic modules of NestJS and a simple `import()`, but in fact, that is not working as expected.
I have two modules:
- App-Module (for the core app)
- Plugin-Module (which loads all available plugins)
... | Dynamic import of module and loading of a dynamic module ends in "metatype is not a constructor" error | https://api.github.com/repos/nestjs/nest/issues/3307/comments | 9 | 2019-11-01T09:27:09Z | 2020-02-03T11:30:26Z | https://github.com/nestjs/nest/issues/3307 | 516,002,453 | 3,307 |
[
"nestjs",
"nest"
] | ## Feature Request
As this is just a minor issue and easy to understand, I will quickly describe my idea below:
This is a nice to have, but also a quick win: I just used nest for the very first time and created a project and followed the given instructions to start the app (`npm run start`). Then, I didn't know on wh... | Add port to log output | https://api.github.com/repos/nestjs/nest/issues/3306/comments | 4 | 2019-11-01T09:15:36Z | 2020-03-02T16:26:31Z | https://github.com/nestjs/nest/issues/3306 | 515,996,968 | 3,306 |
[
"nestjs",
"nest"
] | ## Bug Report
Redirect works not properly
## Current behavior
<!-- Describe how the issue manifests. -->
If you use Redirect('', ) decorator with empty string as an argument, then return {url: _} returns a json object with 'url' as a property
## Input Code
<!-- REPL or Repo link if applicable: -->
```ts
@... | Route handler returns json object with @Redirect | https://api.github.com/repos/nestjs/nest/issues/3305/comments | 3 | 2019-11-01T03:25:35Z | 2020-05-20T19:13:47Z | https://github.com/nestjs/nest/issues/3305 | 515,888,736 | 3,305 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
If the application has both `transient` and `request` scopes, the `transient` scoped service does not work. The services/controllers that use the `transient` service does not have the correct instance of the `transient` service
## Input Code
[Minimum reproducible repo](https://... | Transient and Request scopes do not work together | https://api.github.com/repos/nestjs/nest/issues/3303/comments | 9 | 2019-10-31T20:47:30Z | 2020-02-13T13:33:01Z | https://github.com/nestjs/nest/issues/3303 | 515,734,733 | 3,303 |
[
"nestjs",
"nest"
] | ## Bug Report
Currently, when doing a `nest build`, the return code is `0` (pass) even if it fails to build. This prevents us from doing build tests before merging PRs.
## Current behavior
To show what is happening, this command should only output 'passed' if nest build succeeds. But you can see it is failing to... | A failed build using 'nest build' returns '0' instead of '1' | https://api.github.com/repos/nestjs/nest/issues/3301/comments | 4 | 2019-10-31T13:40:39Z | 2020-01-30T12:43:24Z | https://github.com/nestjs/nest/issues/3301 | 515,442,720 | 3,301 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
I use build in file upload middleware, and if I upload a file or files, while get the same file twice.
## Input Code
<!-- REPL or Repo link if applicable: -->
```ts
import { Controller, Post, UseInterceptors, UploadedFiles } from '@nestjs/common'
import { FilesInterceptor } ... | Use built in FilesInterceptor will generate upload files twice. | https://api.github.com/repos/nestjs/nest/issues/3300/comments | 3 | 2019-10-31T12:14:54Z | 2020-01-30T12:43:21Z | https://github.com/nestjs/nest/issues/3300 | 515,383,777 | 3,300 |
[
"nestjs",
"nest"
] | ## Bug Report
### Current behavior
While launching my app with Fastify, Serverless-offline, and Serverless-webpack, the Instanceloader loads the modules, but doesn't load the routes without throwing any errors.
### Environment
<pre><code>
Nest version: 6.8.5 with Fastify
For Tooling issues:
- Serverless... | Routes not loading with serverless-webpack plugin | https://api.github.com/repos/nestjs/nest/issues/3299/comments | 1 | 2019-10-31T11:15:13Z | 2020-01-30T12:43:30Z | https://github.com/nestjs/nest/issues/3299 | 515,348,982 | 3,299 |
[
"nestjs",
"nest"
] | ## Bug Report
Hi team, i have worked in nestjs last night i update my package it will update v6.0.0 to V6.8.5
Then i run source it will throw "this.applicationRef.status is not a function" then i downgrade old version it will working fine is there any problem in @nestjs/core v6.8.5
## Current behavior
<!-- Describ... | @nestjs/core 6.8.5 have some issues while updating npm | https://api.github.com/repos/nestjs/nest/issues/3298/comments | 3 | 2019-10-31T05:46:36Z | 2020-02-10T21:56:29Z | https://github.com/nestjs/nest/issues/3298 | 515,182,072 | 3,298 |
[
"nestjs",
"nest"
] | I discovered a workaround to the dismissed feature request for this functionality at [235](https://github.com/nestjs/nest/issues/235), [1800](https://github.com/nestjs/nest/issues/1800), and [3285](https://github.com/nestjs/nest/issues/3285).
Sorry to open a new issue (I'll close it after posting), but since those i... | Using decorator based middleware (workaround) | https://api.github.com/repos/nestjs/nest/issues/3296/comments | 1 | 2019-10-30T20:42:42Z | 2019-10-31T09:13:50Z | https://github.com/nestjs/nest/issues/3296 | 514,969,792 | 3,296 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
On startup the application crashes with the following message:
```
[Nest] 14515 - 10/30/2019, 9:25:23 PM [ExceptionHandler] Multiple text records not allowed +74ms
MongoParseError: Multiple text records not allowed
at QueryReqWrap.callback (/Users/caiuscitiriga/Code/top... | Cannot handle multiple connections. Crash upon startup | https://api.github.com/repos/nestjs/nest/issues/3295/comments | 2 | 2019-10-30T20:34:16Z | 2020-01-28T22:58:35Z | https://github.com/nestjs/nest/issues/3295 | 514,964,780 | 3,295 |
[
"nestjs",
"nest"
] | Hi there,
We use a GRPC stream with Subject + Observable as described here:
https://docs.nestjs.com/microservices/grpc
Things work well, as long as the network connection is never interrupted. However, a subscription that was setup successfully once never emits an error or a 'completed' event. Even if you unplug... | Detect disconnect of a GRPC stream | https://api.github.com/repos/nestjs/nest/issues/3289/comments | 6 | 2019-10-30T15:34:05Z | 2023-02-01T13:42:04Z | https://github.com/nestjs/nest/issues/3289 | 514,768,472 | 3,289 |
[
"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 have an issue with a private route handler metadata.
I wanna create universal auth guard that throws two different type of exce... | Access to response type metadata | https://api.github.com/repos/nestjs/nest/issues/3287/comments | 6 | 2019-10-30T14:32:57Z | 2020-01-30T12:43:33Z | https://github.com/nestjs/nest/issues/3287 | 514,720,099 | 3,287 |
[
"nestjs",
"nest"
] | ## Feature Request
## Is your feature request related to a problem? Please describe.
Decorators make building projects easy and intuitive. The current way of configuring middleware is neither of those things.
## Describe the solution you'd like
I previously built APIs using [routing-controllers](https://github.... | Middleware with Decorators | https://api.github.com/repos/nestjs/nest/issues/3285/comments | 1 | 2019-10-30T08:10:06Z | 2019-10-30T12:07:31Z | https://github.com/nestjs/nest/issues/3285 | 514,471,138 | 3,285 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
<!-- Describe how the issue manifests. -->
It is currently very easy for developers to ship a bug where they have a method decorator `@Param()` without the name of the param (such as `@Param() myParam: string`) since typescript doesn't complain in this case. In these cases, you ... | @Param() decorator without a string can easily cause developer error | https://api.github.com/repos/nestjs/nest/issues/3279/comments | 7 | 2019-10-29T17:44:55Z | 2020-01-27T20:07:59Z | https://github.com/nestjs/nest/issues/3279 | 514,104,515 | 3,279 |
[
"nestjs",
"nest"
] | Hey guys, I already asked this question in your discord, but I think this channel is way better than discussing it in the discord.
For my current application I develop a core sever module with all needed controllers to get the application working (in the standard way). All other features should be added as plugins. ... | Plugin architecture | https://api.github.com/repos/nestjs/nest/issues/3277/comments | 10 | 2019-10-29T15:24:49Z | 2020-01-29T06:54:59Z | https://github.com/nestjs/nest/issues/3277 | 514,004,628 | 3,277 |
[
"nestjs",
"nest"
] | ClassTransformOptions interface is missing the property "excludeExtraneousValues" which
has been introduced in class-transformer version 0.21.
It might still be rather unknown but pretty useful as it allows to make sure that no unwanted properties can pass the transformation, as described [here](https://github.com... | Update ClassTransformOptions | https://api.github.com/repos/nestjs/nest/issues/3274/comments | 3 | 2019-10-28T16:36:18Z | 2020-02-01T22:30:46Z | https://github.com/nestjs/nest/issues/3274 | 513,419,997 | 3,274 |
[
"nestjs",
"nest"
] | I know that this question can be asked in StackOverflow, but I think that it is necessary to share it here as well in order to help other people in the NestJS community.
stackoverflow url: https://stackoverflow.com/questions/58585224/is-there-a-way-to-improve-the-code-quality-by-injecting-importing-a-service-into
... | Is there a way to improve the code quality by injecting/importing a service into a class that is not a component/service/repository? | https://api.github.com/repos/nestjs/nest/issues/3273/comments | 2 | 2019-10-28T02:27:58Z | 2020-01-27T17:52:21Z | https://github.com/nestjs/nest/issues/3273 | 513,064,976 | 3,273 |
[
"nestjs",
"nest"
] | ## Feature Request
cache objects needs to be updated or deleted sometimes, thus a decorator like @CachePut @CacheEvict (as spring caching in java) is necessary.
for high concurrency applications, we offen use mutiple layer caching strategy, memory for L1 cache, redis for L2 cache, current solution (@CacheKeys()) se... | cache update/evict decorators and mutiple layer caching | https://api.github.com/repos/nestjs/nest/issues/3271/comments | 4 | 2019-10-27T10:57:38Z | 2020-01-27T17:52:18Z | https://github.com/nestjs/nest/issues/3271 | 512,950,712 | 3,271 |
[
"nestjs",
"nest"
] | <!--
PLEASE HELP US PROCESS GITHUB ISSUES FASTER BY PROVIDING THE FOLLOWING INFORMATION.
ISSUES MISSING IMPORTANT INFORMATION MAY BE CLOSED WITHOUT INVESTIGATION.
-->
## I'm submitting a...
<!--
Please search GitHub for a similar issue or PR before submitting.
Check one of the following options with "x" -->... | Improve CONTRIBUTING.md | https://api.github.com/repos/nestjs/nest/issues/3272/comments | 3 | 2019-10-25T20:39:26Z | 2020-06-26T13:02:43Z | https://github.com/nestjs/nest/issues/3272 | 512,978,905 | 3,272 |
[
"nestjs",
"nest"
] | ## Bug Report
Nested dependencies withing services are not being injected when using WebSocketGateway.
## Current behavior
Dependency injections does not work within classes that were injected via a depedency injection.
## Input Code
```ts
// Defined in UserModule and properly exported it.
@Injectable()
exp... | Nested dependency injections do not work when using WebSocketGateway | https://api.github.com/repos/nestjs/nest/issues/3267/comments | 3 | 2019-10-25T19:02:22Z | 2020-01-27T17:52:15Z | https://github.com/nestjs/nest/issues/3267 | 512,671,493 | 3,267 |
[
"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 have an issue with createParamDecorator. I'd like to use `createParamDecorator` to create a route parameter decorator `@Log`. It s... | ExecutionContext argument in createParamDecorator | https://api.github.com/repos/nestjs/nest/issues/3266/comments | 4 | 2019-10-25T15:34:11Z | 2020-02-06T18:07:00Z | https://github.com/nestjs/nest/issues/3266 | 512,583,138 | 3,266 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
I'm trying to create a context from the root module, however, right away it crashes with the following error:
> Nest cannot create the module instance. Often, this is because of a circular dependency between modules. Use forwardRef() to avoid it.
>
> (Read more: https://docs.n... | NestFactory.createApplicationContext is crashing because of circular dependency that isn't there | https://api.github.com/repos/nestjs/nest/issues/3262/comments | 2 | 2019-10-24T21:54:52Z | 2020-01-27T17:52:13Z | https://github.com/nestjs/nest/issues/3262 | 512,200,491 | 3,262 |
[
"nestjs",
"nest"
] | ## Feature Request
## Is your feature request related to a problem? Please describe.
I tried figuring out how to use Nestjs with Cloudinary's Node SDK. Brunner helped me in the Nestjs_framework Reddit.
## Describe the solution you'd like
Many of us now using Nestjs came from Angular and have no experience with... | Documents: How Nestjs works with Node.js packages | https://api.github.com/repos/nestjs/nest/issues/3261/comments | 2 | 2019-10-24T21:07:47Z | 2020-01-24T12:03:45Z | https://github.com/nestjs/nest/issues/3261 | 512,181,852 | 3,261 |
[
"nestjs",
"nest"
] | Hello,
I have an ExpressJS server application and I thought it's a good candidate to migrate to NestJS, so I learn about NestJS framework. I work as a Web developer and I use Angular on daily basis, so I understood how the services and controllers should wok. But I got stuck before I begin.
My current expressJS a... | Loading and manipulating static files | https://api.github.com/repos/nestjs/nest/issues/3254/comments | 3 | 2019-10-24T13:04:59Z | 2020-01-24T12:04:04Z | https://github.com/nestjs/nest/issues/3254 | 511,931,606 | 3,254 |
[
"nestjs",
"nest"
] | ## Feature Request
## Is your feature request related to a problem? Please describe.
The issue is that I am not able to execute two exception filters as the filter themselves are actually single pointcut for the chain.
## Describe the solution you'd like
The first option would be to have `Filter` with a similar... | Chain multiple exception filters execution | https://api.github.com/repos/nestjs/nest/issues/3252/comments | 5 | 2019-10-24T10:46:57Z | 2020-01-28T10:30:21Z | https://github.com/nestjs/nest/issues/3252 | 511,863,394 | 3,252 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
When i try authentication or access some protected route which returns 401 status. The global interceptors are not triggered, but the global filters.
## Input Code
custom providers
```ts
import { APP_INTERCEPTOR, APP_FILTER } from '@nestjs/core';
import { ResponseStatusInter... | status 401 cant trigger global interceptor | https://api.github.com/repos/nestjs/nest/issues/3250/comments | 4 | 2019-10-24T09:55:51Z | 2020-02-25T14:08:23Z | https://github.com/nestjs/nest/issues/3250 | 511,837,095 | 3,250 |
[
"nestjs",
"nest"
] | ## Bug Report
When configured with the `FastifyAdapter`, using a request scoped controller produces errors logs from fastify's logger and even incorrect responses in some cases. Other times it produces warnings from fastify's logger.
## Current behavior
With the following controller...
```
@Controller({path: 're... | Fastify and request scoped controller issues | https://api.github.com/repos/nestjs/nest/issues/3247/comments | 2 | 2019-10-24T00:06:07Z | 2020-01-24T12:04:41Z | https://github.com/nestjs/nest/issues/3247 | 511,632,572 | 3,247 |
[
"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... | Turn off logger during unit testing | https://api.github.com/repos/nestjs/nest/issues/3246/comments | 7 | 2019-10-23T23:00:00Z | 2020-01-24T12:03:58Z | https://github.com/nestjs/nest/issues/3246 | 511,614,815 | 3,246 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
<!-- Describe how the issue manifests. -->
The issue manifests when running e2e test with typeorm and you try to save something to the the database. The corresponsing typeorm listerners are not being executed. These are shown in the code below.
The issue does not manifest when th... | TypeOrm listeners not executed during e2e testing | https://api.github.com/repos/nestjs/nest/issues/3243/comments | 7 | 2019-10-23T14:14:41Z | 2020-01-31T20:16:20Z | https://github.com/nestjs/nest/issues/3243 | 511,353,321 | 3,243 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.