issue_owner_repo listlengths 2 2 | issue_body stringlengths 0 262k ⌀ | issue_title stringlengths 1 1.02k | issue_comments_url stringlengths 53 116 | issue_comments_count int64 0 2.49k | issue_created_at stringdate 1999-03-17 02:06:42 2025-06-23 11:41:49 | issue_updated_at stringdate 2000-02-10 06:43:57 2025-06-23 11:43:00 | issue_html_url stringlengths 34 97 | issue_github_id int64 132 3.17B | issue_number int64 1 215k |
|---|---|---|---|---|---|---|---|---|---|
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
```
@Catch()
export class AllExceptionsFilter extends BaseExceptionFilter {
catch(exception: unknown, host: ArgumentsHost) {
console.log({ error: exception instanceof Error, http: exception instanceof HttpException })
super.catch(exception, host);
}
}
```
in co... | v8 AllExceptions filter receiving error instead of exception | https://api.github.com/repos/nestjs/nest/issues/7875/comments | 2 | 2021-08-17T11:55:36Z | 2021-08-17T13:48:36Z | https://github.com/nestjs/nest/issues/7875 | 972,606,620 | 7,875 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
Using app.useGlobalPipes() is not adding pipes to the app.
## Input Code
Using the code from the doc at https://docs.nestjs.com/techniques/validation#auto-validation
```ts
async function bootstrap() {
const app = await NestFactory.create(AppModule);
app.useGlobalPipes(n... | app.useGlobalPipes() is not adding global pipes to app as doc is explaining | https://api.github.com/repos/nestjs/nest/issues/7873/comments | 4 | 2021-08-17T09:03:27Z | 2022-01-20T09:39:58Z | https://github.com/nestjs/nest/issues/7873 | 972,463,188 | 7,873 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
`ConsoleLogger` not exported or available in `@nestjs/common`
## Expected behavior
As documented [here](https://docs.nestjs.com/techniques/logger#extend-built-in-logger), the `ConsoleLogger` should be available in `@nestjs/common`
## Possible Solution
Missing export?
## ... | ConsoleLogger ismissing in 8.0.6 | https://api.github.com/repos/nestjs/nest/issues/7872/comments | 1 | 2021-08-17T05:34:09Z | 2021-08-17T06:40:49Z | https://github.com/nestjs/nest/issues/7872 | 972,318,034 | 7,872 |
[
"nestjs",
"nest"
] | ## Bug Report
When I execute npm run build (nest build) it happen this compilation error:
node_modules/@nestjs/common/services/console-logger.service.d.ts:25:43 - error TS1256: A rest element must be last in a tuple type.
25 log(message: any, ...optionalParams: [...any, string?]): void;
How can solve th... | compilation error | https://api.github.com/repos/nestjs/nest/issues/7870/comments | 1 | 2021-08-17T04:50:43Z | 2021-08-17T06:41:02Z | https://github.com/nestjs/nest/issues/7870 | 972,298,786 | 7,870 |
[
"nestjs",
"nest"
] | ## Feature Request
I use NATS for communicate between microservices built on nest.js.
I want to use [headers](https://nats.io/blog/headers-java-client/) from NATS, but I didn`t find some information about it.
I found an example in [official repo](https://github.com/nats-io/nats.js#headers). I think we can put head... | @nestjs/microservices: set headers to NATS when publishing messages | https://api.github.com/repos/nestjs/nest/issues/7863/comments | 1 | 2021-08-16T17:24:25Z | 2021-08-17T06:39:02Z | https://github.com/nestjs/nest/issues/7863 | 971,948,264 | 7,863 |
[
"nestjs",
"nest"
] | null | nestjs 如何连接 多个MySQL 数据库 | https://api.github.com/repos/nestjs/nest/issues/7862/comments | 1 | 2021-08-16T13:14:35Z | 2021-08-16T13:22:24Z | https://github.com/nestjs/nest/issues/7862 | 971,726,759 | 7,862 |
[
"nestjs",
"nest"
] | ## Feature Request
## Is your feature request related to a problem? Please describe.
When _optimistic locking_ aka _optimistic concurrency control_ has to be implemented, then _PUT_ and _PATCH_ requests must include the header _If-Match_ with the current version. When the submitted version is not the current one, t... | Provide PRECONDITION_REQUIRED in enum HttpStatus | https://api.github.com/repos/nestjs/nest/issues/7859/comments | 2 | 2021-08-16T04:57:56Z | 2021-08-16T08:10:11Z | https://github.com/nestjs/nest/issues/7859 | 971,365,450 | 7,859 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
I'm using the `IntersectionType` to derive a class from two other classes.
## Input Code
Derived class:
```ts
import {Validate} from 'class-validator';
import {Type} from 'class-transformer';
import {ApiProperty, IntersectionType} from "@nestjs/swagger";
import {IsUs... | Undefined method when using IntersectionType | https://api.github.com/repos/nestjs/nest/issues/7856/comments | 1 | 2021-08-15T20:57:35Z | 2021-08-16T06:58:06Z | https://github.com/nestjs/nest/issues/7856 | 971,222,459 | 7,856 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
the issue happens when you generate a typeorm .ts migration. It'll go into a migrations folder. Then nest will try to restart since it's in watch mode. and there the issue happens.
## Sample of my migration
<!-- REPL or Repo link if applicable: -->
```ts
import {MigrationIn... | Nest can't start if you generate a .ts migration with typeorm | https://api.github.com/repos/nestjs/nest/issues/7855/comments | 3 | 2021-08-15T19:52:43Z | 2021-08-16T06:58:20Z | https://github.com/nestjs/nest/issues/7855 | 971,211,049 | 7,855 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
Currently the guards are not executed in the sequence and twerking the sequence did the job for me on this test case
## Input Code
```ts
This is the controller for this API
@Post('/add/card')
@SetMetadata('roles', Role.USER)
@UseGuards(JwtAccessTokenAuthGuard)
... | Order of Guards execution is not followed | https://api.github.com/repos/nestjs/nest/issues/7854/comments | 1 | 2021-08-15T19:33:15Z | 2021-08-16T06:58:29Z | https://github.com/nestjs/nest/issues/7854 | 971,207,588 | 7,854 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
<!-- Describe how the issue manifests. -->
## Input Code
https://github.com/Zydnar/nestjs-pug-bug.git
<!-- REPL or Repo link if applicable: -->
```ts
import {
Controller,
Get,
Render,
} from '@nestjs/common';
import { AppService } from './app.service';
@Contr... | @Render() or res.render with express doesn't pass template params | https://api.github.com/repos/nestjs/nest/issues/7853/comments | 1 | 2021-08-15T12:37:38Z | 2021-08-16T06:59:05Z | https://github.com/nestjs/nest/issues/7853 | 971,124,512 | 7,853 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
### Fastify
If I configure to use Fastify-platform, the server initialize without any problem, but does not start nor open the listening socket, even if the callback at api.listen returns a value.
```
[Nest] 35105 - 08/15/2021, 12:22:04 PM LOG [NestFactory] Starting N... | Non-functionnal API versioning with Fastify + MediaType | https://api.github.com/repos/nestjs/nest/issues/7852/comments | 7 | 2021-08-15T10:27:44Z | 2021-08-17T09:36:00Z | https://github.com/nestjs/nest/issues/7852 | 971,101,798 | 7,852 |
[
"nestjs",
"nest"
] | ## Bug Report
I am using @nestjs/typeorm for my application and I put my config in ormconfig.js. Its work normally. Here is content of file ormconfig.js:
```
const {
DB_TYPE,
DB_HOST,
DB_USERNAME,
DB_PASSWORD,
DB_PORT,
DB_DATABASE,
} = process.env;
export default {
type: DB_TYPE,
host: DB... | Cannot change file config from ormconfig.js to ormconfig.ts | https://api.github.com/repos/nestjs/nest/issues/7850/comments | 1 | 2021-08-14T17:24:57Z | 2021-08-16T06:59:51Z | https://github.com/nestjs/nest/issues/7850 | 970,960,159 | 7,850 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
Middleware consumer `exclude` method works different:
- when `.forRoutes(MyController)` is set after `exclude` it doesn't work and middleware does apply
- when `.forRoutes({ path: '*', method: RequestMethod.ALL });` is set after `exclude` it works and middleware doesn't apply... | `exclude` method bug of Fastify adapter's middleware consumer | https://api.github.com/repos/nestjs/nest/issues/7848/comments | 1 | 2021-08-13T16:53:56Z | 2021-08-16T06:59:16Z | https://github.com/nestjs/nest/issues/7848 | 970,569,458 | 7,848 |
[
"nestjs",
"nest"
] | ## Feature Request
## Is your feature request related to a problem? Please describe.
I would like to be able to read gRPC metadata when making a unary call with the gRPC client.
Currently, this is already possible with StreamCalls which is also properly documented, but not with the Unary Call's
Consider the fol... | Feature request: Read metadata from UnaryCall using gRPC client | https://api.github.com/repos/nestjs/nest/issues/7847/comments | 2 | 2021-08-13T12:27:42Z | 2022-05-30T06:45:27Z | https://github.com/nestjs/nest/issues/7847 | 970,355,148 | 7,847 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
I have two services: "rpc" and "worker" communicating using NATS. Rpc calls `send` on `NatsClientProxy` and awaits response. Worker is a microservice implemented per documentation and it has `@MessagePattern` handlers.
What I'm observing is a lot of log lines written by both app... | NATS server and client fill logs with pingTimers | https://api.github.com/repos/nestjs/nest/issues/7846/comments | 1 | 2021-08-13T09:15:27Z | 2021-08-13T09:21:44Z | https://github.com/nestjs/nest/issues/7846 | 970,216,270 | 7,846 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
I find no way to serve static files following their paths.
I tried the following `serveStaticOptions` configuration but it didn't work:
```ts
ServeStaticModule.forRoot({
rootPath: join(__dirname, 'assets'),
serveStaticOptions: {
redirect: false,... | Serving static files brings Error: ENOENT: no such file or directory, stat '[...]/assets/index.html' | https://api.github.com/repos/nestjs/nest/issues/7844/comments | 1 | 2021-08-13T06:14:53Z | 2021-08-13T06:18:52Z | https://github.com/nestjs/nest/issues/7844 | 970,096,335 | 7,844 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
<!-- Describe how the issue manifests. -->
Hot reload does not work effectively with GraphQL. After making an update to a GraphQL resolver, the server builds again,
and other non-GraphQL controllers/endpoints work, but for a variable time period (several seconds to several minu... | Hot Module Reload not working with GraphQL/Apollo Server | https://api.github.com/repos/nestjs/nest/issues/7840/comments | 6 | 2021-08-12T22:57:59Z | 2023-01-24T23:59:48Z | https://github.com/nestjs/nest/issues/7840 | 969,714,907 | 7,840 |
[
"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 to inject myself define Decorator method on a `GrpcMethod` | https://api.github.com/repos/nestjs/nest/issues/7837/comments | 2 | 2021-08-12T09:53:10Z | 2021-08-12T09:58:07Z | https://github.com/nestjs/nest/issues/7837 | 968,481,980 | 7,837 |
[
"nestjs",
"nest"
] | I've seen a lot of developers complaining about Nest not having a good documentation for social authentication, including myself, as there is only like a couple of blog posts hacking away the google authentication using passport.
It would be awesome if there was a documentation update for passport, or **even better**,... | Social Authentication | https://api.github.com/repos/nestjs/nest/issues/7836/comments | 1 | 2021-08-12T08:22:44Z | 2021-08-12T08:27:56Z | https://github.com/nestjs/nest/issues/7836 | 968,333,733 | 7,836 |
[
"nestjs",
"nest"
] | Hello, I am trying to find where `ReflectMetadata` is coming from. The `SetMetaData` is not working with class
Hey people as @kamilmysliwiec says and for anyone faced this issue. I succeed by doing this:
```
// Crud Controller
@UseGuards(AuthGuard(), RoleGuard)
@Roles(["admin"]) // Here the class decorator
@C... | Unable to get values from SetMetaData in class from guards | https://api.github.com/repos/nestjs/nest/issues/7835/comments | 7 | 2021-08-12T06:32:36Z | 2021-08-13T00:59:53Z | https://github.com/nestjs/nest/issues/7835 | 968,169,368 | 7,835 |
[
"nestjs",
"nest"
] | I have installed TypeORM by using the following command:
```bash
npm i --save @nestjs/typeorm typeorm
up to date, audited 855 packages in 3s
86 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
```
but when I want to use `@nestjs/typeorm` it says "module not found".... | Cannot find module '@nestjs/typeorm' | https://api.github.com/repos/nestjs/nest/issues/7834/comments | 6 | 2021-08-12T02:40:02Z | 2021-08-12T05:15:07Z | https://github.com/nestjs/nest/issues/7834 | 967,879,806 | 7,834 |
[
"nestjs",
"nest"
] | When I need validate a Body data from a Post request, I use @Body() data: createdDataDto for example. How can i validade the data when i received this data from rabbitmq.
I think some like:
@MessagePattern('some_queue')
async addSomeContact(@Payload() data: createdDataDto, @Ctx() context: RmqContext) {}
B... | How can i validate a data from rabbitmq? | https://api.github.com/repos/nestjs/nest/issues/7825/comments | 1 | 2021-08-11T16:45:51Z | 2021-08-12T07:18:01Z | https://github.com/nestjs/nest/issues/7825 | 967,060,641 | 7,825 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior

The order of console logs are unexpected 😕 ModuleRef returns an instance of the service without call its constructor.
## Input Code
<!-- REPL or Repo link if applica... | ModuleRef.get(Symbol) don't work under some cases | https://api.github.com/repos/nestjs/nest/issues/7824/comments | 7 | 2021-08-11T16:00:21Z | 2021-08-23T07:37:44Z | https://github.com/nestjs/nest/issues/7824 | 966,988,333 | 7,824 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
Hello, ~on Nest v8~, when using a service S that is scoped, it breaks injection of the service B that uses this scoped service S in upper services (eg. A) in the dependency tree (please look at the CodeSandbox below), when the service A is used in a guard that is used for a contr... | Scoped service breaks injection | https://api.github.com/repos/nestjs/nest/issues/7823/comments | 4 | 2021-08-11T13:18:33Z | 2021-08-12T09:32:16Z | https://github.com/nestjs/nest/issues/7823 | 966,701,264 | 7,823 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
<!-- Describe how the issue manifests. -->
Logger is printing second argument in log/debug/etc. functions in separate message, instead of setting it to be a context
## Input Code
<!-- REPL or Repo link if applicable: -->
```ts
[....]
const logger = new Logger('Bootstrap')... | Default Logger is printing context as next message, instead of using it as actual context | https://api.github.com/repos/nestjs/nest/issues/7822/comments | 1 | 2021-08-11T10:54:23Z | 2021-08-11T11:07:56Z | https://github.com/nestjs/nest/issues/7822 | 966,465,216 | 7,822 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
Calling `appContext.close()` in a standalone app should terminate the process, but it just hangs.
## Input Code
<!-- REPL or Repo link if applicable: -->
```ts
async function bootstrap() {
const appContext = await NestFactory.createApplicationContext(AppModule);
app... | appContext.close() does not terminate process | https://api.github.com/repos/nestjs/nest/issues/7821/comments | 1 | 2021-08-11T10:35:55Z | 2021-08-11T10:53:46Z | https://github.com/nestjs/nest/issues/7821 | 966,436,179 | 7,821 |
[
"nestjs",
"nest"
] | ## Bug Report
NatsError: CONNECTION_REFUSED
## Current behavior
<!-- Describe how the issue manifests. -->
I tried to open a microservice server based on Nats. According to the configuration of the official website, I ran the code and found that NATs reported an error natserror: connection_ REFUSED
## Input Code... | NatsError: CONNECTION_REFUSED | https://api.github.com/repos/nestjs/nest/issues/7819/comments | 2 | 2021-08-11T08:34:30Z | 2021-08-11T08:58:31Z | https://github.com/nestjs/nest/issues/7819 | 966,236,293 | 7,819 |
[
"nestjs",
"nest"
] | ## Feature Request
## Is your feature request related to a problem? Please describe.
<!-- A clear and concise description of what the problem is. Ex. I have an issue when [...] -->
Currently, nestjs comes with a hard dependency on class-validator and class-transformer, those packages are not being maintained any... | unmaintained class-validator and nestjs hard dependencies | https://api.github.com/repos/nestjs/nest/issues/7814/comments | 2 | 2021-08-10T16:57:05Z | 2021-08-11T07:10:13Z | https://github.com/nestjs/nest/issues/7814 | 965,141,257 | 7,814 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
We have Graphql Exception filter for error logging.
It is registered globally.
Now we are trying to request any endpoint, that is not under /graphql - nothing is returned, timeout. If we stop using this exception filter - everything start working good and 404 is returned. Whi... | Graphql Exception filter makes NotFoundException not working | https://api.github.com/repos/nestjs/nest/issues/7813/comments | 1 | 2021-08-10T13:30:49Z | 2021-08-11T07:10:33Z | https://github.com/nestjs/nest/issues/7813 | 964,987,469 | 7,813 |
[
"nestjs",
"nest"
] | I am using Typeorm with nest js but inheritance is not working
Following image is the result as you can see it has no properties but

we have properties in entity table
 throws exception when accessing data:
<pre><code>
[Nest] 9771 - 08/09/2021, 8:15:09 AM ERROR [ExceptionsHandler] Cannot read property 'prototype' of undefined
TypeError: Cannot read property 'prototype' of undefined
... | MongoDb with TypeORM doesn't work | https://api.github.com/repos/nestjs/nest/issues/7798/comments | 1 | 2021-08-09T15:22:43Z | 2021-08-09T15:24:06Z | https://github.com/nestjs/nest/issues/7798 | 964,109,962 | 7,798 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
not able to access this.server.of in my websocket gateway where the server is the socket.io server instance.
## Input Code
<!-- REPL or Repo link if applicable: -->
```ts
@WebSocketServer()
private server: Server;
this.server.of('/userstatus').emit('userStatus',... | not able to access this.server.of where this.server is the socket.io server instance. | https://api.github.com/repos/nestjs/nest/issues/7796/comments | 1 | 2021-08-09T12:06:46Z | 2021-08-09T12:09:22Z | https://github.com/nestjs/nest/issues/7796 | 963,927,797 | 7,796 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
When I try to import errors from apollo-server I get type error:
```
node_modules/apollo-cache-control/dist/index.d.ts:24:9 - error TS2717: Subsequent property declarations must have the same type. Property 'cacheControl' must be of type '{ cacheHint: CachePolicy; setCacheHint... | Cannot import from apollo-server | https://api.github.com/repos/nestjs/nest/issues/7795/comments | 1 | 2021-08-09T10:55:07Z | 2021-08-09T10:56:20Z | https://github.com/nestjs/nest/issues/7795 | 963,873,788 | 7,795 |
[
"nestjs",
"nest"
] | I want use the configure, create a yaml configure file in application can build in dist, but the yaml configure file in library, can`t build assest in dist.
this is my minimum reproduction repository
https://github.com/CloudWoR/nestAssest.git
please use branch minimum | nest can`t build assest file in dist | https://api.github.com/repos/nestjs/nest/issues/7793/comments | 2 | 2021-08-09T02:53:26Z | 2021-08-09T03:08:04Z | https://github.com/nestjs/nest/issues/7793 | 963,597,853 | 7,793 |
[
"nestjs",
"nest"
] | ## Feature Request
While the Websockets package already has `OnGatewayInit`, `OnGatewayConnection` and `OnGatewayDisconnect` interfaces, a new interface `OnGatewayDisconnecting` is also required. The primary use case is that, when the OnGatewayDisconnect callback is fired, we can no longer have a list of rooms that ... | Add support for "disconnecting" event on Websockets | https://api.github.com/repos/nestjs/nest/issues/7784/comments | 3 | 2021-08-08T15:32:04Z | 2021-08-09T07:30:20Z | https://github.com/nestjs/nest/issues/7784 | 963,457,239 | 7,784 |
[
"nestjs",
"nest"
] | ## Regression
## Potential Commit/PR that introduced the regression**
Might have been this one: https://github.com/nestjs/nest/pull/6221
## Describe the regression
When we run our application on AWS we use the built in global JS console, specified in options.logger in NestFactory. I wasn't around when this was ... | Logger doesn't seem to fail gracefully | https://api.github.com/repos/nestjs/nest/issues/7782/comments | 2 | 2021-08-08T02:24:51Z | 2021-08-09T09:10:02Z | https://github.com/nestjs/nest/issues/7782 | 963,339,535 | 7,782 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
Interceptor observable pipe functions are not being called after request execution. (neither with `@UseInterceptors` or global)
## Input Code
<!-- REPL or Repo link if applicable: -->
```ts
import { Injectable, NestInterceptor, ExecutionContext, CallHandler, Logger } from '@n... | Interceptors are not being called after request execution | https://api.github.com/repos/nestjs/nest/issues/7781/comments | 2 | 2021-08-07T16:33:39Z | 2021-08-08T00:15:36Z | https://github.com/nestjs/nest/issues/7781 | 963,262,396 | 7,781 |
[
"nestjs",
"nest"
] | <!-- We primarily use GitHub as an issue tracker; for usage and support questions, please check out these resources below. Thanks! 😁. -->
How can i get the websocket client in controller.
I need to emit a websocket message in the controller. | How can i get the websocket client in controller | https://api.github.com/repos/nestjs/nest/issues/7780/comments | 2 | 2021-08-07T13:40:25Z | 2021-08-09T06:55:03Z | https://github.com/nestjs/nest/issues/7780 | 963,232,819 | 7,780 |
[
"nestjs",
"nest"
] | ## Feature Request
Add an option to make local pipes override global ones.
## Is your feature request related to a problem? Please describe.
Not really a problem but it's due to a global ValidationPipe taking precedence over a local one.
## Describe the solution you'd like
I would like to use a global va... | [Feature] Enable overriding of global ValidationPipe in controller (as in #2390) | https://api.github.com/repos/nestjs/nest/issues/7779/comments | 1 | 2021-08-06T16:48:55Z | 2021-08-09T06:57:50Z | https://github.com/nestjs/nest/issues/7779 | 962,895,336 | 7,779 |
[
"nestjs",
"nest"
] | ## Bug Report
Trying to update my project to v8 but run into the following errors:
```
$ nest update -f -t latest
▹▹▹▹▹ Installation in progress... ☕
Failed to execute command: npm uninstall --save
(node:4388) UnhandledPromiseRejectionWarning: undefined
(Use `node --trace-warnings ...` to show where the war... | Unable to update to v8 | https://api.github.com/repos/nestjs/nest/issues/7778/comments | 3 | 2021-08-06T15:13:38Z | 2021-08-09T06:53:52Z | https://github.com/nestjs/nest/issues/7778 | 962,827,177 | 7,778 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
Currently every 2 minutes (default ping time) the logger will log the ping message to the console.
## Input Code
Minimum reproduction:
https://github.com/Flusinerd/nestjs-nats-ping
## Expected behavior
This type of message should not be logged when running without ``verbos... | NATS Client-Proxy logging pings to console | https://api.github.com/repos/nestjs/nest/issues/7772/comments | 4 | 2021-08-05T22:13:48Z | 2021-09-23T18:58:52Z | https://github.com/nestjs/nest/issues/7772 | 962,235,610 | 7,772 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
I have defined a middleware
```
@Injectable()
export class MyMiddleware implements NestMiddleware {
```
with the following hooks defined:
```
async onModuleDestroy() {
console.log('middleware onModuleDestroy');
}
async beforeApplicationShutdown(signal) ... | beforeApplicationShutdown not called by NestMiddleware | https://api.github.com/repos/nestjs/nest/issues/7768/comments | 3 | 2021-08-05T11:09:35Z | 2021-08-06T06:50:04Z | https://github.com/nestjs/nest/issues/7768 | 961,711,946 | 7,768 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
Module '"@nestjs/common"' has no exported member 'StreamableFile'.ts(2305)
```ts
import StreamableFile
```
## Expected behavior
I need to import the SreamableFile class so as to be able allow file downloads from my Nest app.
## Possible Solution
I would appreciate a sugg... | StreamableFile is not accessible from @nestjs/common | https://api.github.com/repos/nestjs/nest/issues/7765/comments | 1 | 2021-08-05T07:30:54Z | 2021-08-05T07:32:48Z | https://github.com/nestjs/nest/issues/7765 | 961,531,716 | 7,765 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
During e2e testing I call `await app.close()` after each test run. Before each test I create a new application with the test module. This all works fine for the first test but after `await app.close();` has been called the path mapping is lost and `RouterModule.register` is not bei... | RouterModule mapped paths are lost in e2e tests when closing the app after each test | https://api.github.com/repos/nestjs/nest/issues/7761/comments | 6 | 2021-08-04T11:04:29Z | 2021-08-05T08:03:17Z | https://github.com/nestjs/nest/issues/7761 | 960,261,079 | 7,761 |
[
"nestjs",
"nest"
] | ## Bug Report
Global Modules doesn't work as they did in version 7 and earlier. I added the official ConfigModule, which I need to get my env-specific data for TypeOrm. ConfigModule is registered as global. Worked since the ConfigModule was released. It's not working since 8.0.0.
```
Nest can't resolve the depe... | Global modules doesn't work anymore since 8.0.0: Nest can't resolve the dependencies of the X from a global module. | https://api.github.com/repos/nestjs/nest/issues/7755/comments | 4 | 2021-08-03T22:07:00Z | 2021-11-26T07:32:28Z | https://github.com/nestjs/nest/issues/7755 | 959,558,694 | 7,755 |
[
"nestjs",
"nest"
] | ## Bug Report
Hi there, my organization uses CDK to deploy resources and I'm close to convincing my teams to move most of our service stacks to using NestJS as we rebuild our entire backend.I am trying to build a proof-of-concept using CDK to deploy a NestJS GraphQL API to AWS Lambda behind API Gateway. In order to fi... | Can't deploy GraphQL to Lambda with CDK | https://api.github.com/repos/nestjs/nest/issues/7749/comments | 5 | 2021-08-03T08:42:59Z | 2021-08-04T06:48:10Z | https://github.com/nestjs/nest/issues/7749 | 958,878,472 | 7,749 |
[
"nestjs",
"nest"
] | ## Feature Request
## Is your feature request related to a problem? Please describe.
I have a use case where the default value for a querystring parameter needs to be a date string that is computed based on the current date, e.g. the default value should be a date string that is 30 days before the date of the curre... | [discussion]: Should `DefaultValuePipe` accept a function to define query param default values dynamically? | https://api.github.com/repos/nestjs/nest/issues/7746/comments | 1 | 2021-08-03T00:43:00Z | 2021-08-03T07:19:18Z | https://github.com/nestjs/nest/issues/7746 | 958,613,769 | 7,746 |
[
"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... | Please add "Discussions" | https://api.github.com/repos/nestjs/nest/issues/7741/comments | 7 | 2021-08-02T15:41:15Z | 2021-08-04T07:39:58Z | https://github.com/nestjs/nest/issues/7741 | 958,270,624 | 7,741 |
[
"nestjs",
"nest"
] | I get this error only in tests
```
`$ jest authentication.service.spec.ts
FAIL src/authentication/service/authentication.service.spec.ts
AuthenticationService
✕ should be defined
Authenticate
✕ Deve obter êxito ao buscar token
● AuthenticationService › should be defined
Nest can't... | Please make sure that the argument HttpService at index [0] is available in the RootTestModule context. | https://api.github.com/repos/nestjs/nest/issues/7739/comments | 1 | 2021-08-02T13:25:46Z | 2021-08-02T13:34:57Z | https://github.com/nestjs/nest/issues/7739 | 958,144,569 | 7,739 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
<!-- Describe how the issue manifests. -->
The current behaviour leads to a middleware being applied to more routes than expected.
We have an IndexController('/') that we apply a basic auth middleware on through the `MiddlewareConsumer`. Unfortunately, after the update to ... | Express middlewares are applied wrong since 8.0.5 | https://api.github.com/repos/nestjs/nest/issues/7737/comments | 6 | 2021-08-02T09:35:47Z | 2021-10-06T11:09:40Z | https://github.com/nestjs/nest/issues/7737 | 957,954,131 | 7,737 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
<!-- Describe how the issue manifests. -->
THERE IS NO WORKING EXAMPLES OF KAFKA E2E TEST IN NESTJS
## Input Code
<!-- REPL or Repo link if applicable: -->
```ts
const your = (code) => here;
```
## Expected behavior
<!-- A clear and concise description of what you e... | Any Kafka End-To-End test example in nestjs ? | https://api.github.com/repos/nestjs/nest/issues/7735/comments | 1 | 2021-08-02T07:33:27Z | 2021-08-02T07:48:11Z | https://github.com/nestjs/nest/issues/7735 | 957,852,154 | 7,735 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
After upgrading my codebase to nest 8. My custom typeorm repositories stopped working.
When a I request a resource a get method not found exception.
## Input Code
```ts
@EntityRepository()
export class CustomRepo extends Repository<CustomEntity> {}
```
```ts
@Inject... | Can't use custom repositories in nest v8 | https://api.github.com/repos/nestjs/nest/issues/7728/comments | 6 | 2021-08-01T17:28:12Z | 2022-09-09T14:40:59Z | https://github.com/nestjs/nest/issues/7728 | 957,545,141 | 7,728 |
[
"nestjs",
"nest"
] | ## Feature Request
## Is your feature request related to a problem? Please describe.
No. Not a problem, it's an enhancement.
## Describe the solution you'd like
I would like to implement a decorator that allows requests to select the API response they'd like from the swagger.
## Teachability, Documentation, ... | [WIP] Create Mock endpoints from Swagger decorators to help front and backend teams work together. | https://api.github.com/repos/nestjs/nest/issues/7726/comments | 1 | 2021-08-01T12:08:53Z | 2021-08-02T07:30:46Z | https://github.com/nestjs/nest/issues/7726 | 957,475,673 | 7,726 |
[
"nestjs",
"nest"
] | i am created new project with nest cli, but command ```nest start --watch``` not working for me !
same project copy to another system that working !
old project too not work this command
i am don't know problem.
**tsconfig.json :**
```
{
"compilerOptions": {
"module": "commonjs",
"declaration": ... | File change detected. Starting incremental compilation... | https://api.github.com/repos/nestjs/nest/issues/7725/comments | 2 | 2021-08-01T09:46:32Z | 2021-08-02T06:39:40Z | https://github.com/nestjs/nest/issues/7725 | 957,445,407 | 7,725 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
Executing `app.select(Module).get('ServiceName')` not work after upgrade from 7.x to 8.x version.
## Input Code
```ts
const app = await NestFactory.create(AppModule);
app.enableShutdownHooks();
await (
app
.select(SomeModule)
.get('ModuleServi... | Selecting service using its name not work after upgrade from 7.x to 8.x | https://api.github.com/repos/nestjs/nest/issues/7724/comments | 1 | 2021-08-01T09:20:20Z | 2021-08-02T06:38:45Z | https://github.com/nestjs/nest/issues/7724 | 957,441,032 | 7,724 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
On production server, when POST endpoint called via http instead of https, it silently interpretes it as GET request.
## Input Code
Our code is under NDA, if needed, I can provide example code.
## Expected behavior
If this is a security feature, some notice should be shown ... | non-secure POST request is interpreted as GET causing confusion or hard-to-find bugs | https://api.github.com/repos/nestjs/nest/issues/7723/comments | 2 | 2021-08-01T09:10:17Z | 2021-08-02T07:16:20Z | https://github.com/nestjs/nest/issues/7723 | 957,438,523 | 7,723 |
[
"nestjs",
"nest"
] | ## Feature Request
When using the `@UploadedFile()` decorator, it makes the file required for the request and fails validation when not uploading.
We need a way to make the file optional.
## Is your feature request related to a problem? Please describe.
Yes, the problem is stated above.
This is the error when no... | @UploadedFile() decorator failing validation if file is not uploaded - need a way to make file upload optional | https://api.github.com/repos/nestjs/nest/issues/7721/comments | 2 | 2021-07-31T15:33:49Z | 2021-11-03T07:33:50Z | https://github.com/nestjs/nest/issues/7721 | 957,267,375 | 7,721 |
[
"nestjs",
"nest"
] | ## Regression
<!-- First check out: https://docs.nestjs.com/migration-guide -->
## Potential Commit/PR that introduced the regression**
<!-- If you have time to investigate, what PR/date introduced this issue. -->
This was introduced in NestJS version ^8.0.0
## Describe the regression
<!-- A clear and con... | Error 'cannot set distance of undefined' thrown with forwardRef async modules | https://api.github.com/repos/nestjs/nest/issues/7715/comments | 1 | 2021-07-30T13:53:30Z | 2021-08-02T08:32:03Z | https://github.com/nestjs/nest/issues/7715 | 956,767,168 | 7,715 |
[
"nestjs",
"nest"
] | ## Feature Request
## Is your feature request related to a problem? Please describe.
In my project I need to validate all responses according to dto schemas
## Describe the solution you'd like
It would be great to have something like @Body decorator in which I can pass the ResponseDto and use class validator in... | Add ability to validate response | https://api.github.com/repos/nestjs/nest/issues/7713/comments | 1 | 2021-07-30T12:08:03Z | 2021-07-30T12:36:57Z | https://github.com/nestjs/nest/issues/7713 | 956,687,036 | 7,713 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
I have a base controller for basic CRUD operation, if a controller needs CRUD operation, it can just extends this controller. Everything works fine except that the ValidationPipe does not get trigger, but if I put a route in the child controller, the ValidationPipe gets triggered... | ValidationPipe does not get triggered in the base controller | https://api.github.com/repos/nestjs/nest/issues/7695/comments | 3 | 2021-07-28T22:52:34Z | 2021-08-02T06:46:25Z | https://github.com/nestjs/nest/issues/7695 | 955,291,656 | 7,695 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
Logger without Context tries to use optionalParams and results in an undefined log
```
/**
* Write a 'log' level log, if the configured level allows for it.
* Prints to `stdout` with newline.
*/
log(message: any, context?: string): void;
log(message: any, ...op... | Logger without Context tries to use optionalParams and results in an undefined log | https://api.github.com/repos/nestjs/nest/issues/7691/comments | 1 | 2021-07-28T18:17:00Z | 2021-08-02T07:32:25Z | https://github.com/nestjs/nest/issues/7691 | 955,121,003 | 7,691 |
[
"nestjs",
"nest"
] | Good afternoon
I am trying to connect to the mssql database through the sequence
I get an error when connecting
SequelizeHostNotFoundError: Failed to connect to
I am connecting, as indicated in the official documentation
`
import {Module} from "@nestjs/common";
import { SequelizeModule } from "@nestjs/sequeliz... | MSSQL error. SequelizeHostNotFoundError | https://api.github.com/repos/nestjs/nest/issues/7686/comments | 1 | 2021-07-28T09:08:30Z | 2021-07-28T09:46:46Z | https://github.com/nestjs/nest/issues/7686 | 954,643,469 | 7,686 |
[
"nestjs",
"nest"
] | ## Bug Report
When throwing a new BadRequestException with a message, I'm unable to retrieve the message inside an exception filter. Instead it has a default message which is "Bad Request Exception"
Doc says that if a new exception is thrown with a custom message, the default one should be overriden with the custom ... | BadRequestException: default message isn't overriden in exception filter | https://api.github.com/repos/nestjs/nest/issues/7685/comments | 1 | 2021-07-28T08:14:10Z | 2021-07-28T09:46:15Z | https://github.com/nestjs/nest/issues/7685 | 954,598,416 | 7,685 |
[
"nestjs",
"nest"
] |
Cannot find module '@nestjs/core/router/route-path-factory'
I've followed as per docs for integrating Swagger in nest api but while nest start command throwing above error
Nest version: 7.6.0
For Tooling issues:
- Node version: v12.18.4
- Platform: Windows
| Unable to integrate swagger -> Cannot find module '@nestjs/core/router/route-path-factory' | https://api.github.com/repos/nestjs/nest/issues/7684/comments | 1 | 2021-07-28T07:25:32Z | 2021-07-28T07:28:05Z | https://github.com/nestjs/nest/issues/7684 | 954,560,775 | 7,684 |
[
"nestjs",
"nest"
] | ## Bug Report
When doing the migration from NestJs v7.6.15 to v8.0.4 the module forward reference breaks.
## Current behavior
I have two modules and am using the [module forward reference](https://docs.nestjs.com/fundamentals/circular-dependency#module-forward-reference) in each of them to provide a class for on... | Upgrading to version 8.0.4 breaks dependency injection using module forward ref | https://api.github.com/repos/nestjs/nest/issues/7674/comments | 6 | 2021-07-27T14:24:47Z | 2021-07-29T13:32:29Z | https://github.com/nestjs/nest/issues/7674 | 953,939,998 | 7,674 |
[
"nestjs",
"nest"
] | maybe we have many repeat question、easy question,we need a room for chat every one.
so i hope you can provide a chat room to reslove some question issue. | can we create a gitter room | https://api.github.com/repos/nestjs/nest/issues/7669/comments | 1 | 2021-07-27T09:58:22Z | 2021-07-27T10:06:27Z | https://github.com/nestjs/nest/issues/7669 | 953,711,599 | 7,669 |
[
"nestjs",
"nest"
] | Hello,
First of all thanks for an amazing framework. I'm happy to use it!
Currently I have a small issue with amount of classes (DTOs) for request validation and Swagger documentation which are 100% duplicated with my interfaces. I'm trying to solve the issue using io-ts library but actually I guess there must b... | io-ts as a DTO for request & OpenApi | https://api.github.com/repos/nestjs/nest/issues/7667/comments | 1 | 2021-07-27T09:48:18Z | 2021-07-27T10:07:01Z | https://github.com/nestjs/nest/issues/7667 | 953,703,314 | 7,667 |
[
"nestjs",
"nest"
] | ## Feature Request
## Is your feature request related to a problem? Please describe.
In my current project we're using nestjs microservices with kafka. We're also using the kafka schema registry. The registry works in a way that parses AVRO/PROTOBUF/JSON encoded messages into plain objects. This step is essentially... | nestjs microservices deserializers should allow async | https://api.github.com/repos/nestjs/nest/issues/7657/comments | 1 | 2021-07-26T08:37:29Z | 2021-07-27T10:47:26Z | https://github.com/nestjs/nest/issues/7657 | 952,652,437 | 7,657 |
[
"nestjs",
"nest"
] | ## Regression
<!-- First check out: https://docs.nestjs.com/migration-guide -->
## Potential Commit/PR that introduced the regression**
<!-- If you have time to investigate, what PR/date introduced this issue. -->
## Describe the regression
<!-- A clear and concise description of what the regression is. -->
... | Nest 8 INestMicroservice.listen not return promise. | https://api.github.com/repos/nestjs/nest/issues/7656/comments | 7 | 2021-07-26T04:44:41Z | 2021-11-25T09:46:39Z | https://github.com/nestjs/nest/issues/7656 | 952,495,707 | 7,656 |
[
"nestjs",
"nest"
] | ## Bug Report
while trying to make an end-to-end test to a Graphql API, I face a weird error, even when just initializing the testing module.
## Current behavior
<!-- Describe how the issue manifests. -->
```bash
npm run test:e2e
> node-challenge-assignment@0.0.1 test:e2e /goinfre/aaguert/node-challenge-ass... | Graphql e2e testing error when calling "createTestingModule" - TypeError: graphql_1.GraphQLScalarType is not a constructor | https://api.github.com/repos/nestjs/nest/issues/7650/comments | 7 | 2021-07-25T16:50:12Z | 2021-07-27T06:12:33Z | https://github.com/nestjs/nest/issues/7650 | 952,313,322 | 7,650 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
CORS error happens with websockets request even i use `app.enableCors()`
## Important
I'm sure the exact same code works with version 7.0.0. I downgraded my project to 7.0.0 and everything was fine.
Note that I don't have CORS error in my REST APIs. And it just happens with we... | CORS error when calling websocket request | https://api.github.com/repos/nestjs/nest/issues/7649/comments | 5 | 2021-07-25T16:48:00Z | 2021-11-10T08:03:00Z | https://github.com/nestjs/nest/issues/7649 | 952,312,944 | 7,649 |
[
"nestjs",
"nest"
] | Does NestJS support versioning for GQL ? | Does NestJS support versioning for GQL ? | https://api.github.com/repos/nestjs/nest/issues/7647/comments | 1 | 2021-07-25T06:03:16Z | 2021-07-26T06:44:33Z | https://github.com/nestjs/nest/issues/7647 | 952,204,595 | 7,647 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
[https://docs.nestjs.com/websockets/adapter](https://docs.nestjs.com/websockets/adapter)
There is this code in RedisIoAdapter class implementation section
```import { IoAdapter } from '@nestjs/platform-socket.io';
import * as redisIoAdapter from 'socket.io-redis';
export cl... | Documentation Error on RedisIoAdapter class implementation under Websockets | https://api.github.com/repos/nestjs/nest/issues/7642/comments | 3 | 2021-07-24T08:17:54Z | 2021-07-26T07:28:25Z | https://github.com/nestjs/nest/issues/7642 | 952,027,906 | 7,642 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
I created a middleware and tried to access req.params but typescript is throwing an error saying property does not exist on type.
Acessing using req['params'] works fine.
Object.keys(req) shows params is there.
## Input Code
```ts
import { Injectable, NestMiddleware } fr... | typescript is throwing an error when trying to access req.params | https://api.github.com/repos/nestjs/nest/issues/7641/comments | 4 | 2021-07-23T22:35:22Z | 2021-07-26T06:46:03Z | https://github.com/nestjs/nest/issues/7641 | 951,934,812 | 7,641 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
<!-- Describe how the issue manifests. -->
let className = 'someClass'; // loaded from database
await moduleRef.resolve(
className,
ContextIdFactory.getByRequest(request),
{ strict: false },
);
-> this fails. Worked fine in v7
## Input Cod... | Nest v8 module ref cannot resolve provider using the name | https://api.github.com/repos/nestjs/nest/issues/7640/comments | 3 | 2021-07-23T17:42:38Z | 2021-07-26T07:39:19Z | https://github.com/nestjs/nest/issues/7640 | 951,781,210 | 7,640 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
Importing protobuf.types.d.ts using webpack hmr causes `Module not found: Error: Can't resolve `
Issue does not appear when using `nest start`
## Input Code
```ts
import { routes} from '../../proto/routes.types'; //protobuf type declaration to import routes.types.d.ts
``... | Importing types.d.ts when using Webpack HMR causes module not found error (nest start works fine) | https://api.github.com/repos/nestjs/nest/issues/7639/comments | 3 | 2021-07-23T13:24:14Z | 2021-07-23T20:37:34Z | https://github.com/nestjs/nest/issues/7639 | 951,578,017 | 7,639 |
[
"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 a use case where I have a [task scheduler](https://docs.nestjs.com/techniques/task-scheduling) which will fetch some data in ... | ApplicationContext keep alive | https://api.github.com/repos/nestjs/nest/issues/7638/comments | 2 | 2021-07-23T11:04:37Z | 2021-07-26T10:20:16Z | https://github.com/nestjs/nest/issues/7638 | 951,477,997 | 7,638 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
When using an array of strings instead of a single string, no Access-Control-Allow-Origin gets printed.
@nestjs/common: "^7.6.17"
@nestjs/platform-express: "^7.6.17"
| When using an Array of strings as origin as app.enableCors()-Parameter, no Access-Control-Allow-Origin. | https://api.github.com/repos/nestjs/nest/issues/7634/comments | 14 | 2021-07-22T15:30:19Z | 2021-07-23T06:24:00Z | https://github.com/nestjs/nest/issues/7634 | 950,792,879 | 7,634 |
[
"nestjs",
"nest"
] | ## Feature Request
## Is your feature request related to a problem? Please describe.
It is often needed to instantiate several instances of the same class with different input parameters.
Real-life example
```ts
class BillingService {
constructor(private apiKey: string) {}
}
```
I need two different `... | Feature Request: transitional dependency | https://api.github.com/repos/nestjs/nest/issues/7631/comments | 13 | 2021-07-22T13:25:31Z | 2021-07-28T07:20:36Z | https://github.com/nestjs/nest/issues/7631 | 950,666,865 | 7,631 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
`moduleRef` is undefined in parent module.
## Input Code
See [repo](https://github.com/rcarcasses/nest-8.0.0-moduleref-bug)
## Expected behavior
`moduleRef` should not be `undefined`.
## Possible Solution
No idea
## Environment
Nest version: 8.0.4
For To... | `moduleRef` injection gives undefined in parent module | https://api.github.com/repos/nestjs/nest/issues/7628/comments | 4 | 2021-07-22T10:09:37Z | 2021-07-22T12:42:25Z | https://github.com/nestjs/nest/issues/7628 | 950,499,936 | 7,628 |
[
"nestjs",
"nest"
] | ## Server side:
```ts
import {
ConnectedSocket,
MessageBody,
OnGatewayConnection, OnGatewayDisconnect, OnGatewayInit,
SubscribeMessage,
WebSocketGateway,
WebSocketServer
} from '@nestjs/websockets';
import { Server, Socket } from 'socket.io';
import { Logger } from '@nestjs/common';
... | Getting 404 error with @nestjs/websockets | https://api.github.com/repos/nestjs/nest/issues/7627/comments | 1 | 2021-07-22T06:32:39Z | 2021-07-22T06:37:55Z | https://github.com/nestjs/nest/issues/7627 | 950,344,998 | 7,627 |
[
"nestjs",
"nest"
] | - @nestjs/common: ^8.0.4
- @nestjs/core: ^8.0.4
I cloned [typescript-starter](https://github.com/nestjs/typescript-starter) and tested it.
```ts
import { Controller, Get, Logger } from '@nestjs/common';
import { AppService } from './app.service';
@Controller()
export class AppController {
private readonly... | In Logger, the error stack goes to the next line. | https://api.github.com/repos/nestjs/nest/issues/7626/comments | 1 | 2021-07-22T05:14:04Z | 2021-07-22T08:15:17Z | https://github.com/nestjs/nest/issues/7626 | 950,308,042 | 7,626 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
When using wildcard routing with the `@Get` Decorator, CPU usage stays at a constant 100% immediately after launching the application. Replacing the wildcard with any other string that does not contain a wildcard does not cause this issue. The performance of the application seems ... | Wildcard Routing Causing Constant 100% CPU Usage on Linux Server | https://api.github.com/repos/nestjs/nest/issues/7625/comments | 2 | 2021-07-22T03:56:12Z | 2021-07-22T05:08:11Z | https://github.com/nestjs/nest/issues/7625 | 950,277,896 | 7,625 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
https://docs.nestjs.com/recipes/router-module
In first code snippet there is no mention that you have to add DashboardModule to imports before RouterModule
## Input Code
```ts
@Module({
imports: [
RouterModule.register([
{
path: 'dashboard',
... | Router module docs example is wrong | https://api.github.com/repos/nestjs/nest/issues/7612/comments | 1 | 2021-07-20T14:14:14Z | 2021-07-21T07:17:12Z | https://github.com/nestjs/nest/issues/7612 | 948,697,845 | 7,612 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
When client's http request headers includes `Connection: keep-alive`, request from new http connection will be refused. But it will not refuse connection which established, and the app will reponse with headers `Keep-Alive: timeout=5`. The app will not shutdown if client request fr... | Enable shutdown hooks may cause the app will not exit | https://api.github.com/repos/nestjs/nest/issues/7611/comments | 1 | 2021-07-20T07:44:49Z | 2021-07-20T10:50:41Z | https://github.com/nestjs/nest/issues/7611 | 948,386,240 | 7,611 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
Using `FilesInterceptor()`, following the [docs](https://docs.nestjs.com/techniques/file-upload#array-of-files), throws a Bad Request error `400` with message `Unexpected field`.
## Input Code
```ts
@Post('upload')
@UseInterceptors(FilesInterceptor('files'))
uploadFile(@Up... | File upload with `FilesInterceptor` throws 400 Bad Request | https://api.github.com/repos/nestjs/nest/issues/7602/comments | 2 | 2021-07-19T16:21:51Z | 2022-07-06T07:20:12Z | https://github.com/nestjs/nest/issues/7602 | 947,820,279 | 7,602 |
[
"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. ... | [Add support for GraphQL playground] New Apollo server v3 looks disgusting | https://api.github.com/repos/nestjs/nest/issues/7597/comments | 0 | 2021-07-18T23:05:24Z | 2021-07-18T23:56:57Z | https://github.com/nestjs/nest/issues/7597 | 947,135,136 | 7,597 |
[
"nestjs",
"nest"
] | How to fix this issue?
I tried to use:
```javascript
app.use(express.json({ limit: '50mb' }));
app.use(express.urlencoded({ limit: '50mb', extended: true }));
```
In main.ts:
```javascript
import { NestFactory } from '@nestjs/core';
import express from 'express';
import { AppModule } from './app.module';
... | Nestjs says Request Entity is too large? | https://api.github.com/repos/nestjs/nest/issues/7596/comments | 1 | 2021-07-18T15:08:23Z | 2021-07-20T07:29:16Z | https://github.com/nestjs/nest/issues/7596 | 947,055,327 | 7,596 |
[
"nestjs",
"nest"
] | ## Feature Request
## Is your feature request related to a problem? Please describe.
I want to limit the validity of the data and return errors to the front end when they do not comply
## Describe the solution you'd like
Decorators that provide some field detection
## Teachability, Documentation, Adoption, M... | Perhaps should add some property decorator like @NotBlank/NotNull/NotEmpty | https://api.github.com/repos/nestjs/nest/issues/7594/comments | 4 | 2021-07-18T07:12:34Z | 2021-07-20T07:28:51Z | https://github.com/nestjs/nest/issues/7594 | 946,969,886 | 7,594 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
Given simple test
```
// beforeEach
const moduleRef = await Test.createTestingModule({
imports: [HttpModule, UpdaterModule, IpcModule],
}).compile();
app = moduleRef.createNestApplication();
await app.init();
```
The following error is thrown when run
... | "@nestjs/platform-express" missing in Test module | https://api.github.com/repos/nestjs/nest/issues/7592/comments | 6 | 2021-07-17T10:11:14Z | 2021-07-20T07:27:33Z | https://github.com/nestjs/nest/issues/7592 | 946,784,337 | 7,592 |
[
"nestjs",
"nest"
] | ## Feature Request
## Is your feature request related to a problem? Please describe.
StreamableFile set a fixed content-type header of application/octet-stream, even if you set an other like response.header('content-type', 'image/svg')
https://github.com/dzunftmeister-evorhei/nest-streamablefile-res-issue
nest ... | StreamableFile overrides Content-Type header | https://api.github.com/repos/nestjs/nest/issues/7586/comments | 3 | 2021-07-16T10:05:36Z | 2021-07-20T11:19:45Z | https://github.com/nestjs/nest/issues/7586 | 946,139,429 | 7,586 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
Trying to inject dependencies from the consumer in my library module fails.
```
Error: Nest can't resolve dependencies of the CustomGuard (LIB_MODULE_OPTIONS, ?). Please make sure that the argument Reflector at index [1] is available in the LibModule context.
Potential solutio... | Injecting dependencies from the consumer module in my dynamic module fails. | https://api.github.com/repos/nestjs/nest/issues/7583/comments | 8 | 2021-07-16T00:25:09Z | 2021-07-20T11:40:52Z | https://github.com/nestjs/nest/issues/7583 | 945,842,115 | 7,583 |
[
"nestjs",
"nest"
] | I expect the order of module's init method to be called in this order: `AModule -> BModule -> AppModule`, but I'm getting `AModule -> AppModule -> BModule`
I created a reproduction and tested v7 with the exact code and v7 works as expected.
v7: https://github.com/j/nestjs-issue-7582/tree/v7 (works) `[ 'AModule'... | onModuleInit order with import dependencies | https://api.github.com/repos/nestjs/nest/issues/7582/comments | 15 | 2021-07-15T20:35:05Z | 2021-10-25T06:34:45Z | https://github.com/nestjs/nest/issues/7582 | 945,732,320 | 7,582 |
[
"nestjs",
"nest"
] | ## Bug Report
Cache will not set a null TTL. In version 7, setting ttl to `null` and after upgrading to version 8, setting ttl to `0`. Your documents say:
To disable expiration of the cache, set the ttl configuration property to 0
## Current behavior
When setting cache to have a TTL of 0, it disobey and clea... | Cache TTL set to 0/null is not keeping the cache | https://api.github.com/repos/nestjs/nest/issues/7581/comments | 2 | 2021-07-15T14:57:10Z | 2021-07-16T20:02:50Z | https://github.com/nestjs/nest/issues/7581 | 945,476,381 | 7,581 |
[
"nestjs",
"nest"
] | ## Feature Request
When I setup ValidationPipe, so it validates whitelisted AND transforms to classes I would like that the validation would happen before transformation, so it throws 400 BAD_REQUEST.
Example
```typescript
// main.ts (ValidationPipe configuration)
app.useGlobalPipes(new ValidationPipe({
// ... | ValidationPipe with transformation to throw error when unknown option is send | https://api.github.com/repos/nestjs/nest/issues/7580/comments | 1 | 2021-07-15T14:40:23Z | 2021-07-16T06:29:03Z | https://github.com/nestjs/nest/issues/7580 | 945,459,536 | 7,580 |
[
"nestjs",
"nest"
] | ## What is the motivation / use case for changing the behavior?
<!-- Describe the motivation or the concrete use case. -->
I'm facing situations when I have to implement one-time actions, like an endpoint for migration. After that I want to remove this functionality. It is easy to remove related service and all its d... | Add a warning when you import a module but you don't use any exported provider. | https://api.github.com/repos/nestjs/nest/issues/7579/comments | 4 | 2021-07-15T13:49:54Z | 2022-10-31T08:05:00Z | https://github.com/nestjs/nest/issues/7579 | 945,400,411 | 7,579 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
A dynamic module can't be exported using module options and requires the module to be exported using the module key
```
[Nest] 34554 - 15/07/2021 11:57:14 LOG [NestFactory] Starting Nest application...
[Nest] 34554 - 15/07/2021 11:57:14 ERROR [ExceptionHandler] Nest ca... | A dynamic module can't be exported using module options | https://api.github.com/repos/nestjs/nest/issues/7576/comments | 1 | 2021-07-15T10:02:15Z | 2021-07-15T10:40:27Z | https://github.com/nestjs/nest/issues/7576 | 945,213,226 | 7,576 |
[
"nestjs",
"nest"
] | ## Bug Report
When I do `npm install --only=production` rxjs is not installed however @nestjs/common requires it.
## Current behavior
Not able to build my code for production
## Input Code
```
internal/modules/cjs/loader.js:905
throw err;
^
Error: Cannot find module 'rxjs'
Require stack:
- /usr/... | Cannot find module 'rxjs' on @nestjs/common | https://api.github.com/repos/nestjs/nest/issues/7575/comments | 1 | 2021-07-15T09:12:24Z | 2021-07-15T09:31:32Z | https://github.com/nestjs/nest/issues/7575 | 945,171,616 | 7,575 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.