issue_owner_repo listlengths 2 2 | issue_body stringlengths 0 262k ⌀ | issue_title stringlengths 1 1.02k | issue_comments_url stringlengths 53 116 | issue_comments_count int64 0 2.49k | issue_created_at stringdate 1999-03-17 02:06:42 2025-06-23 11:41:49 | issue_updated_at stringdate 2000-02-10 06:43:57 2025-06-23 11:43:00 | issue_html_url stringlengths 34 97 | issue_github_id int64 132 3.17B | issue_number int64 1 215k |
|---|---|---|---|---|---|---|---|---|---|
[
"nestjs",
"nest"
] | ## Feature Request
## Problem
I have created multiple NestJs servers that communicate via GRPC. When deploying my services with docker i get an intermittent connection issues from GRPC `ECONNRESET [{"message":"14 UNAVAILABLE: read ECONNRESET"}]`. Judging by this issue posted on the `@grpc/grpc-node` it seems this i... | GRPC interceptor support | https://api.github.com/repos/nestjs/nest/issues/8154/comments | 7 | 2021-09-27T13:53:56Z | 2022-08-16T07:59:17Z | https://github.com/nestjs/nest/issues/8154 | 1,008,181,650 | 8,154 |
[
"nestjs",
"nest"
] | ## Bug Report
latest v7 of `@nestjs/common` (`7.6.18`) depends on `axios@0.21.1` which has a known CVSS with score 7.5: https://snyk.io/vuln/SNYK-JS-AXIOS-1579269
Can we get another v7 release fixing this? | @nestjs/common@7.6.18 > axios@0.21.1: Security Vulnerability | https://api.github.com/repos/nestjs/nest/issues/8153/comments | 6 | 2021-09-27T13:41:39Z | 2021-10-04T07:02:24Z | https://github.com/nestjs/nest/issues/8153 | 1,008,168,292 | 8,153 |
[
"nestjs",
"nest"
] | how can i use `FilterableField` in `GraphQl`? when i try to use this code i get error:
```ts
import {FilterableField, IDField} from '@nestjs-query/query-graphql';
@ObjectType()
@Entity('users')
export class UserEntity extends BaseEntity {
...
@FilterableField({description: 'username length should be ... | Cannot find module '@nestjs-query/query-graphql' or its corresponding type declarations. | https://api.github.com/repos/nestjs/nest/issues/8152/comments | 2 | 2021-09-27T13:07:24Z | 2021-09-27T13:40:49Z | https://github.com/nestjs/nest/issues/8152 | 1,008,129,257 | 8,152 |
[
"nestjs",
"nest"
] | I would like to be able to inject the raw body (buffer) instead of the parsed one.
It doesn't matter if it is by injection or only for configurable routes | Allow to inject raw body | https://api.github.com/repos/nestjs/nest/issues/8139/comments | 1 | 2021-09-27T09:13:18Z | 2021-09-27T09:16:37Z | https://github.com/nestjs/nest/issues/8139 | 1,007,899,386 | 8,139 |
[
"nestjs",
"nest"
] | Posted on Stackoverflow :
https://stackoverflow.com/questions/69344049/nestjs-backend-failed-over-appgateway-initialization-when-run-docker-compose-up | NestJs backend Failed over AppGateway initialization when run docker-compose up -d | https://api.github.com/repos/nestjs/nest/issues/8138/comments | 1 | 2021-09-27T09:12:49Z | 2021-09-27T09:16:32Z | https://github.com/nestjs/nest/issues/8138 | 1,007,898,851 | 8,138 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
I'm having problems trying to catch MongoServerError exception.
I have a mongo schema that the 'user' property cannot repeat in the database.
When simulating the error I get: "MongoServerError: E11000 duplicate key error collection: master.users index: user_1 dup key: { user: "te... | Exception Filter is not catching MongoServerError/MongoError | https://api.github.com/repos/nestjs/nest/issues/8132/comments | 7 | 2021-09-27T04:11:32Z | 2021-09-27T06:40:55Z | https://github.com/nestjs/nest/issues/8132 | 1,007,672,327 | 8,132 |
[
"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 one nest application that serves my SaaS.
The application handles both frontend related work (create user, login user, refresh... | Make placement of version key in final path configurable. | https://api.github.com/repos/nestjs/nest/issues/8129/comments | 2 | 2021-09-26T16:45:17Z | 2021-12-09T12:00:45Z | https://github.com/nestjs/nest/issues/8129 | 1,007,441,815 | 8,129 |
[
"nestjs",
"nest"
] | ## Bug Report
When try starting the server using version `8.0.7` of `@nestjs/platform-fastify` I got the error `TypeError: this.setInstance is not a function`, not sure why is causing this, but returning to the `8.0.6` works normally.
## Current behavior
When starts the app using `new FastifyAdapter()` I got:
`... | @nestjs/platform-fastify: this.setInstance is not a function | https://api.github.com/repos/nestjs/nest/issues/8127/comments | 5 | 2021-09-26T13:53:00Z | 2022-01-08T23:56:55Z | https://github.com/nestjs/nest/issues/8127 | 1,007,398,189 | 8,127 |
[
"nestjs",
"nest"
] | If possible, i would looks like a sample for this aproach.
Thanks so much! | New Sample request: GraphQL code-first Prisma | https://api.github.com/repos/nestjs/nest/issues/8125/comments | 4 | 2021-09-25T19:09:27Z | 2021-09-27T06:33:58Z | https://github.com/nestjs/nest/issues/8125 | 1,007,172,584 | 8,125 |
[
"nestjs",
"nest"
] | ## Feature Request
## Is your feature request related to a problem? Please describe.
I'm needing to inject Context for a Dataloader into the ResolveReference for federation. It can be done with a ResolveField but not a ResolveReference
ie. https://github.com/filipegeric/nestjs-graphql-dataloaders/blob/main/s... | ResolveReference with Context | https://api.github.com/repos/nestjs/nest/issues/8124/comments | 1 | 2021-09-25T16:17:38Z | 2021-09-27T06:38:27Z | https://github.com/nestjs/nest/issues/8124 | 1,007,134,567 | 8,124 |
[
"nestjs",
"nest"
] | I am coming from Java and Laravel background, and have some difficulty to access auth user.
I know in nest we can access auth user from request.user with decorators. It is enough most of the time. But yesterday, i needed to access auth user in prisma middleware, which belongs to prismaOrm, to log data with user. But... | Access auth user from everywhere | https://api.github.com/repos/nestjs/nest/issues/8123/comments | 3 | 2021-09-25T13:07:18Z | 2021-09-27T06:37:01Z | https://github.com/nestjs/nest/issues/8123 | 1,007,081,949 | 8,123 |
[
"nestjs",
"nest"
] | ## Feature Request
- I want to import a module by a string/symbol reference so that I do not have a library dependence from importing the module class
- Because I have an interfaces package and an implementation package I should only require a dependency on the interface package
- Currently the workaround for this... | Import module by Symbol / String | https://api.github.com/repos/nestjs/nest/issues/8117/comments | 12 | 2021-09-24T11:33:15Z | 2022-03-07T12:11:19Z | https://github.com/nestjs/nest/issues/8117 | 1,006,369,374 | 8,117 |
[
"nestjs",
"nest"
] | Vulnerability report URL: https://nvd.nist.gov/vuln/detail/CVE-2021-3749
@nestjs/common@8.0.6
`-- axios@0.21.1
Can we update axios version to 0.21.4 (https://github.com/axios/axios/releases/tag/v0.21.4)? | @nestjs/common has direct dependency to vulnerable axios version: axios@0.21.1 | https://api.github.com/repos/nestjs/nest/issues/8114/comments | 1 | 2021-09-24T10:39:20Z | 2021-09-24T10:40:58Z | https://github.com/nestjs/nest/issues/8114 | 1,006,326,797 | 8,114 |
[
"nestjs",
"nest"
] | ## Bug Report
## Input Code
https://docs.nestjs.com/graphql/complexity
## Current behavior
Only works for Nest 7.x I think.
## Environment
Nest 8.x
| Graphql complexity outdated docs | https://api.github.com/repos/nestjs/nest/issues/8112/comments | 1 | 2021-09-23T00:00:17Z | 2021-09-24T09:38:21Z | https://github.com/nestjs/nest/issues/8112 | 1,004,874,948 | 8,112 |
[
"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. -->
... | Uncaught EmptyError when proxying after upgrading to Nest.js 8 | https://api.github.com/repos/nestjs/nest/issues/8111/comments | 11 | 2021-09-22T20:38:30Z | 2023-06-26T10:41:38Z | https://github.com/nestjs/nest/issues/8111 | 1,004,753,171 | 8,111 |
[
"nestjs",
"nest"
] | ## Feature Request
## Describe the solution you'd like
It'd be great if nestjs offered native support for sorting and pagination, atleast with typeorm.
Considering that NestJS is considered as a batteries included framework, pagination and sorting seem like a must.
I'm currently [nestjs-typeorm-paginate](https://... | Native support for sorting and pagination | https://api.github.com/repos/nestjs/nest/issues/8110/comments | 1 | 2021-09-22T17:17:21Z | 2021-09-23T10:28:30Z | https://github.com/nestjs/nest/issues/8110 | 1,004,536,665 | 8,110 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
<!-- Describe how the issue manifests. -->
The `MiddlewareConsumer` routing is broken when you define home route: `/`
All routes mapped to the same path '/'
## Input Code
<!-- REPL or Repo link if applicable: -->
Routing module:
```ts
export class RoutingModule implement... | MiddlewareConsumer routing is broken | https://api.github.com/repos/nestjs/nest/issues/8108/comments | 28 | 2021-09-22T07:26:34Z | 2024-01-16T18:22:14Z | https://github.com/nestjs/nest/issues/8108 | 1,003,933,023 | 8,108 |
[
"nestjs",
"nest"
] | this page references the working example:
https://docs.nestjs.com/graphql/quick-start
Example#
A fully working schema first sample is available here.
https://github.com/nestjs/nest/tree/master/sample/12-graphql-schema-first
running npm i and npm start - fails to build | Nest-GraphQL 12-graphql-schema-first fails to build | https://api.github.com/repos/nestjs/nest/issues/8099/comments | 1 | 2021-09-20T22:24:50Z | 2021-09-22T09:50:32Z | https://github.com/nestjs/nest/issues/8099 | 1,001,506,214 | 8,099 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
<!-- Describe how the issue manifests. -->
Header Versioning with same path is not working
## Input Code
<!-- REPL or Repo link if applicable: -->
```ts
# health-check.controller.ts
@Controller()
export class HealthCheckController {
@Version('2')
@Get('/hea... | Header Versioning with same path is not working | https://api.github.com/repos/nestjs/nest/issues/8098/comments | 6 | 2021-09-20T20:04:32Z | 2021-09-21T16:35:32Z | https://github.com/nestjs/nest/issues/8098 | 1,001,351,884 | 8,098 |
[
"nestjs",
"nest"
] | Hi everyone,
sessions and websockets don't seems to work.
Is it possible to use them ? If not, there is an alternative ?
Have a nice day. | Websocket and sessions | https://api.github.com/repos/nestjs/nest/issues/8094/comments | 3 | 2021-09-19T10:27:11Z | 2021-09-19T13:04:28Z | https://github.com/nestjs/nest/issues/8094 | 1,000,273,493 | 8,094 |
[
"nestjs",
"nest"
] | ## Bug Report
Making multiple calls to "auth/login" route fails, only passes on first call.
I am following the Passport write up here: https://docs.nestjs.com/security/authentication
I have defined the following local "Passpost" guard.
```ts
import { Injectable } from '@nestjs/common';
import { AuthGuard ... | Passport AuthGuard fails calling login multiple times with 401 Unauthorized. | https://api.github.com/repos/nestjs/nest/issues/8093/comments | 6 | 2021-09-18T20:45:44Z | 2021-09-27T08:08:34Z | https://github.com/nestjs/nest/issues/8093 | 1,000,130,381 | 8,093 |
[
"nestjs",
"nest"
] | If to main.ts from this example to add any database orm (sequalize/prisma/typeorm)
Prism controller from https://github.com/prisma/prisma-examples/tree/latest/typescript/rest-nestjs
```
import {
Controller,
Get,
Param
// Post,
// Body,
// Put,
// Delete,
// Query
} from '@nestjs/common'
i... | nuxt+nest+fastify+any orm not work | https://api.github.com/repos/nestjs/nest/issues/8092/comments | 7 | 2021-09-18T15:16:24Z | 2021-09-23T16:08:42Z | https://github.com/nestjs/nest/issues/8092 | 1,000,059,954 | 8,092 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
I am attempting to apply SOLID principles, and therefore decoupling my service from TypeOrm.
The benefit is that I could use an `InMemoryRepository` for test purposes, and `TypeOrmRepository` for the real production code.
At the moment, I can't inject my custom TypeOrm reposito... | Unable to inject a chosen custom repository in a module | https://api.github.com/repos/nestjs/nest/issues/8089/comments | 3 | 2021-09-18T03:33:03Z | 2021-09-18T16:01:05Z | https://github.com/nestjs/nest/issues/8089 | 999,888,196 | 8,089 |
[
"nestjs",
"nest"
] |
/home/admin217/Documents/IUH/New Technology/Source Code/be-3hq-chat/dist/user/schemas/user.schema.js:49
(0, mongoose_1.Prop)({ ref: file_schema_1.File.name, type: [mongoose_2.SchemaTypes.ObjectId], default: [] }),
^
TypeError: Cannot read property 'name' of ... | Can't get name of Schema class | https://api.github.com/repos/nestjs/nest/issues/8088/comments | 2 | 2021-09-17T15:51:39Z | 2021-09-21T12:02:14Z | https://github.com/nestjs/nest/issues/8088 | 999,500,033 | 8,088 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
Setting up a test module that uses `ts-mockito` to mock dependencies results in it timing out. (Without mockito and manual mocks it all runs fine.)
You can find the minimum reproduction repo here:
https://github.com/donnyroufs/nest-issue-8087-mrr
## Input Code
```ts
import... | Mocking dependencies with ts-mockito results in a timeout | https://api.github.com/repos/nestjs/nest/issues/8087/comments | 4 | 2021-09-17T04:24:52Z | 2021-09-17T16:43:06Z | https://github.com/nestjs/nest/issues/8087 | 998,925,543 | 8,087 |
[
"nestjs",
"nest"
] | Hey there!
I'd like to report a security issue but cannot find contact instructions on your repository.
If not a hassle, might you kindly add a `SECURITY.md` file with an email, or another contact method? GitHub [recommends](https://docs.github.com/en/code-security/getting-started/adding-a-security-policy-to-your-rep... | Trying to get in touch regarding a security issue | https://api.github.com/repos/nestjs/nest/issues/8085/comments | 6 | 2021-09-16T19:02:26Z | 2021-09-24T11:02:25Z | https://github.com/nestjs/nest/issues/8085 | 998,534,888 | 8,085 |
[
"nestjs",
"nest"
] | NEST JS is one of the coolest stuff I have ever seen. I can't say that NEST JS is just framework. It is also very cool guide where JUNIOR DEVELOPER WILL UNDERSTAND COMPLICATED STUFF that happens in our world. I think NEST GO must be created one day. I understand that they have different approaches but we should think a... | Let's create NEST GO ???!!!)))) | https://api.github.com/repos/nestjs/nest/issues/8084/comments | 5 | 2021-09-16T14:16:34Z | 2024-10-19T10:03:27Z | https://github.com/nestjs/nest/issues/8084 | 998,269,380 | 8,084 |
[
"nestjs",
"nest"
] | @kamilmysliwiec hi! I have a socket io cluster. And I want to send requests to them using emitter. But the event is not being called.
server.on("event", () => ...) does not work.
main.ts:
```javascript
async function bootstrap() {
const app = await NestFactory.create(AppModule);
app.useWebSocketAdapter(n... | Socket io emitter does not work. | https://api.github.com/repos/nestjs/nest/issues/8083/comments | 2 | 2021-09-16T14:04:35Z | 2021-09-22T09:51:26Z | https://github.com/nestjs/nest/issues/8083 | 998,256,068 | 8,083 |
[
"nestjs",
"nest"
] | I have a custom PipeTransform class which is mapped as APP_PIPE. The transform method receives the correct body value as value param, but the metadata is not complete anymore since V8. The same code was working in older versions (V6, V7).
**Expected behavior:**
metadata.metatype.name **should represent the value of... | PipeTransform does not reflect the correct ArgumentMetadata for request body data | https://api.github.com/repos/nestjs/nest/issues/8082/comments | 2 | 2021-09-16T11:03:48Z | 2021-09-16T16:14:59Z | https://github.com/nestjs/nest/issues/8082 | 998,078,835 | 8,082 |
[
"nestjs",
"nest"
] | 选择用pnpm创建项目 -> 采用monorepo模式 -> 启动指定项目报错
```
webpack 5.45.1 compiled successfully in 3788 ms
node:internal/modules/cjs/loader:903
throw err;
^
Error: Cannot find module 'source-map-support/register'
Require stack:
- internal/preload
at Function.Module._resolveFilename (node:internal/modules/cjs/loader... | Cannot find module 'source-map-support/register' | https://api.github.com/repos/nestjs/nest/issues/8081/comments | 6 | 2021-09-16T09:57:43Z | 2022-06-20T15:46:49Z | https://github.com/nestjs/nest/issues/8081 | 998,017,426 | 8,081 |
[
"nestjs",
"nest"
] | ## Bug Report
The code in the linked repository worked fine in Nest 7.6.18, but the tests fail after upgrading to 8.
## Current behavior
<!-- Describe how the issue manifests. -->
Tests fail:
```
FAIL src/app.controller.spec.ts
● AppController › root › should return "Hello World!"
Nest can't re... | DI in tests failing after v8 upgrade | https://api.github.com/repos/nestjs/nest/issues/8079/comments | 2 | 2021-09-14T01:43:02Z | 2021-09-14T02:01:44Z | https://github.com/nestjs/nest/issues/8079 | 995,494,477 | 8,079 |
[
"nestjs",
"nest"
] | ## Bug Report
CVE-2021-3749 is reported in nestjs/common
## Current behavior
security vulnerability is reported in nestjs/common package
## Input Code
not related to code
## Expected behavior
CVE-2021-3749 should be resolved
## Possible Solution
in the package.json of nestjs/common we need to bump the ... | CVE-2021-3749 is seen in nestjs/common package | https://api.github.com/repos/nestjs/nest/issues/8078/comments | 1 | 2021-09-13T11:34:42Z | 2021-09-13T15:10:32Z | https://github.com/nestjs/nest/issues/8078 | 994,781,926 | 8,078 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
While trying to handle initial MongoDB connection errors, Nest application is unable to perform `process.exit()` when it gets to the `catch` block. It just logs to the console `console.log()` command and then freezes and nothing happens.
Also I do have `app.enableShutdownHooks()... | NestJS app doesn't stop using process.exit() when initial mongoose connection error is occurred | https://api.github.com/repos/nestjs/nest/issues/8077/comments | 7 | 2021-09-13T11:32:41Z | 2021-09-22T09:52:25Z | https://github.com/nestjs/nest/issues/8077 | 994,780,283 | 8,077 |
[
"nestjs",
"nest"
] | ## Bug Report
`httpAdapter` inside `HttpAdapterHost` is undefined when injected into a provider factory in a testing module.
## Current behavior
`httpAdapter` inside `HttpAdapterHost` is undefined when injected into a provider factory *in a testing module* using `Test.createTestingModule()`. The same works fine in... | Injection of HttpAdapterHost behaves differently in a testing module vs application | https://api.github.com/repos/nestjs/nest/issues/8076/comments | 5 | 2021-09-13T08:16:48Z | 2021-09-24T11:10:28Z | https://github.com/nestjs/nest/issues/8076 | 994,593,147 | 8,076 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
when use below code with forRootAsync dependency injection error occurs, registered model in MongooseModule.forFeature( [{ name: example.name, schema: exampleSchema }], 'db1') throw error:
Error: Nest can't resolve dependencies of the exampleModel (?). Please make sure that the ... | mongoose multiple databases doesn't work with MongooseModule.forRootAsync() | https://api.github.com/repos/nestjs/nest/issues/8075/comments | 4 | 2021-09-13T08:02:54Z | 2021-09-14T07:03:49Z | https://github.com/nestjs/nest/issues/8075 | 994,578,046 | 8,075 |
[
"nestjs",
"nest"
] | ## Bug Report
I have a custom a socket adapter to deal with authentication. In the docs, socket.io said that when you call next(new Error()) it should emit event 'connect_error' or event 'exception' event in our case. On client side, I dont see any events.
## Current behavior
<!-- Describe how the issue manifests. -... | socket.io does not emit connect_error or exception event on next(error) on middleware | https://api.github.com/repos/nestjs/nest/issues/8074/comments | 3 | 2021-09-13T07:52:25Z | 2021-09-22T09:53:53Z | https://github.com/nestjs/nest/issues/8074 | 994,569,220 | 8,074 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
When calling nest build --webpack I'm getting this issue:
ERROR in ./node_modules/@nestjs/swagger/dist/swagger-module.js 46:106-132
Module not found: Error: Can't resolve 'fastify-swagger' ......
## Input Code
https://github.com/jpmoraez/financial-app-nestjs
## Expected... | I'm getting 'Can't resolve 'fastify-swagger' when calling webpack | https://api.github.com/repos/nestjs/nest/issues/8072/comments | 3 | 2021-09-12T16:02:17Z | 2021-09-22T09:54:10Z | https://github.com/nestjs/nest/issues/8072 | 994,195,736 | 8,072 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
RouterModule doesn't modify path
## Input Code
app.module.ts:
```ts
@Module({
imports: [
AdminModule,
RouterModule.register([
{
path: 'admin',
module: AdminModule,
},
]),
],
})
export class AppModule {}
```
admin.modu... | RouterModule doesn't work. | https://api.github.com/repos/nestjs/nest/issues/8071/comments | 3 | 2021-09-12T08:43:34Z | 2021-10-20T06:41:39Z | https://github.com/nestjs/nest/issues/8071 | 994,101,130 | 8,071 |
[
"nestjs",
"nest"
] | Having an issue with:
The ` @MessagePattern('que.transactions.manager')` is never initialises the `options.channel` this way the I'm always getting this unexplainable error. I had to go to sources and find the issue to actually understand what's going on.
If you can please extend the error and fix the bug.
This is... | RabbitMQ MessagePattern doesn't work! | https://api.github.com/repos/nestjs/nest/issues/8070/comments | 5 | 2021-09-11T21:56:41Z | 2024-03-18T08:47:20Z | https://github.com/nestjs/nest/issues/8070 | 993,958,102 | 8,070 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
I'm posting using this curl command below, and when api_url is my localhost it works, but when it's the production url (on Heroku), the body is always empty - for all my controllers.
```
curl --location --request POST '$api_url/instructors' \
--header 'Content-Type: applicatio... | Post Body undefined on production | https://api.github.com/repos/nestjs/nest/issues/8069/comments | 3 | 2021-09-11T13:00:25Z | 2021-09-12T20:48:38Z | https://github.com/nestjs/nest/issues/8069 | 993,836,116 | 8,069 |
[
"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... | why this show err : 应有 0 个参数,但获得 1 个。ts(2554) | https://api.github.com/repos/nestjs/nest/issues/8068/comments | 1 | 2021-09-11T06:23:14Z | 2021-09-11T06:24:49Z | https://github.com/nestjs/nest/issues/8068 | 993,763,174 | 8,068 |
[
"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. -->
... | about class-transformer whitelist: true | https://api.github.com/repos/nestjs/nest/issues/8066/comments | 1 | 2021-09-10T08:20:09Z | 2021-09-10T08:36:10Z | https://github.com/nestjs/nest/issues/8066 | 993,002,875 | 8,066 |
[
"nestjs",
"nest"
] | I'm wondering how to write a unit test for WS Gateway, without using real:
```
app.listen(port)
```
Is there any documentation regarding that matter? I couldn't find any on NEST docs | Web Gateway - NESTJS Unit Test | https://api.github.com/repos/nestjs/nest/issues/8065/comments | 3 | 2021-09-10T06:40:49Z | 2021-09-13T20:24:05Z | https://github.com/nestjs/nest/issues/8065 | 992,935,774 | 8,065 |
[
"nestjs",
"nest"
] | when OnApplicationBootstrap how to get NestApplication context | when OnApplicationBootstrap how to get NestApplication context | https://api.github.com/repos/nestjs/nest/issues/8064/comments | 1 | 2021-09-10T03:31:18Z | 2021-09-12T22:59:37Z | https://github.com/nestjs/nest/issues/8064 | 992,854,482 | 8,064 |
[
"nestjs",
"nest"
] | ## Feature Request
## Is your feature request related to a problem? Please describe.
I have an issue when I'm dealing with mqtt shared subscription.I noticed that nestjs didn’t seem to consider the handling of mqtt shared subscriptions,I subscribe to topics like `$share/g1/test`:
```typescript
@MessagePattern('$... | mqtt shared subscription support | https://api.github.com/repos/nestjs/nest/issues/8063/comments | 5 | 2021-09-10T03:03:31Z | 2024-07-16T07:52:24Z | https://github.com/nestjs/nest/issues/8063 | 992,842,236 | 8,063 |
[
"nestjs",
"nest"
] | Validation pipe incorrectly throws an error when using ValidateNested for an array objects
## Current behavior
"policies.0.polRates.0.property polNumber should not exist",
"policies.0.polRates.0.property rate should not exist",
"policies.0.polRates.0.property coverageCode shoul... | Validation Pipe incorrectly throws error for nested object in array | https://api.github.com/repos/nestjs/nest/issues/8061/comments | 5 | 2021-09-10T00:00:48Z | 2023-02-23T13:38:09Z | https://github.com/nestjs/nest/issues/8061 | 992,753,988 | 8,061 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
A global app guard is applied to regular http controllers, but is not applied to websocket gateways. This can be worked around by importing the guard in the gateway module and using a `UseGuards` decorator. Without declaring the `UseGuards` decorator, websocket connections and me... | Global app guard doesn't apply to WebSocketGateway | https://api.github.com/repos/nestjs/nest/issues/8060/comments | 7 | 2021-09-09T22:02:49Z | 2021-09-23T13:17:49Z | https://github.com/nestjs/nest/issues/8060 | 992,690,533 | 8,060 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
if you call send on ClientProxy with an unknown command´you will get an BAD JSON exception and the calling service dies completly
## Input Code
```ts
import { Inject, Injectable, Logger } from '@nestjs/common';
import { ClientProxy, RpcException } from '@nestjs/microservi... | Bad JSON with NATS microservice | https://api.github.com/repos/nestjs/nest/issues/8055/comments | 12 | 2021-09-09T09:32:03Z | 2022-07-11T08:34:11Z | https://github.com/nestjs/nest/issues/8055 | 992,005,654 | 8,055 |
[
"nestjs",
"nest"
] | ## Feature Request
Similar to the option for configuration, where you can set isGlobal?: boolean, it would be a great addition to have the same option for the CacheModule.
## Is your feature request related to a problem? Please describe.
I use the cache module quite a lot and setting it as a global module in the a... | Add cache option isGlobal | https://api.github.com/repos/nestjs/nest/issues/8051/comments | 3 | 2021-09-08T12:22:44Z | 2021-09-27T09:02:57Z | https://github.com/nestjs/nest/issues/8051 | 991,077,586 | 8,051 |
[
"nestjs",
"nest"
] | ## Feature Request
I want to use API versioning (URI Versioning Type) and I want to avoid setting the default version for every controller.
Instead I want to have an option to set it globally.
https://docs.nestjs.com/techniques/versioning
## Is your feature request related to a problem? Please describe.
If you... | Add an option to set a global default API version | https://api.github.com/repos/nestjs/nest/issues/8050/comments | 3 | 2021-09-08T11:32:42Z | 2021-09-27T09:03:07Z | https://github.com/nestjs/nest/issues/8050 | 991,035,939 | 8,050 |
[
"nestjs",
"nest"
] | ## Bug Report
I tried adding CSRF protection for Fastify, as described here:
https://docs.nestjs.com/security/csrf#use-with-fastify
Fastify in general is working as expected. If I comment out the line, where it gets registered, if's working again.
## Current behavior
When I start the app with: npm run start:de... | Fastify CSRF: TypeError: Cannot read properties of undefined (reading 'id') | https://api.github.com/repos/nestjs/nest/issues/8049/comments | 4 | 2021-09-08T11:00:02Z | 2021-09-22T08:54:31Z | https://github.com/nestjs/nest/issues/8049 | 991,008,698 | 8,049 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
<!-- Describe how the issue manifests. -->
axios@0.21.1 has high vulnerability leading to DoS https://snyk.io/vuln/SNYK-JS-AXIOS-1579269
## Input Code
<!-- REPL or Repo link if applicable: -->
## Expected behavior
<!-- A clear and concise description of what you expected to ... | Highly vulnerable axios version should be updated to 0.21.4 | https://api.github.com/repos/nestjs/nest/issues/8048/comments | 7 | 2021-09-08T09:33:31Z | 2021-09-22T09:55:53Z | https://github.com/nestjs/nest/issues/8048 | 990,935,215 | 8,048 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
'bodyParser' is deprecated.ts(6385)
index.d.ts(19, 5): The declaration was marked as deprecated here.
(alias) function bodyParser(options?: bodyParser.OptionsJson & bodyParser.OptionsText & bodyParser.OptionsUrlencoded): NextHandleFunction
(alias) namespace bodyParser
import ... | @deprecated 'bodyParser' is deprecated | https://api.github.com/repos/nestjs/nest/issues/8040/comments | 3 | 2021-09-06T19:16:32Z | 2021-09-21T13:03:47Z | https://github.com/nestjs/nest/issues/8040 | 989,394,510 | 8,040 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
I'm following the docs to create a GraphQL subscription, but it seems that something changed and the configuration is not working correctly anymore.
## Input Code
The documentation recommends using graphql-ws:
`
With
`export class OperationReport { }`
Works, but with
`export type OperationReportsSearchRequest = { }`
I have the following error:
`'OperationReport' only refers ... | @ApiResponse: type property accepts a type. | https://api.github.com/repos/nestjs/nest/issues/8035/comments | 2 | 2021-09-05T18:34:35Z | 2021-09-05T18:48:36Z | https://github.com/nestjs/nest/issues/8035 | 988,569,913 | 8,035 |
[
"nestjs",
"nest"
] | 
I want to start a project and that‘s type of module is ES6 but not commonjs; and code-type is also the es6 in catalogue named dist
which build by webpack; what should I do?
| Whether the package import supports ES6 type | https://api.github.com/repos/nestjs/nest/issues/8033/comments | 0 | 2021-09-05T03:06:58Z | 2021-09-05T04:34:47Z | https://github.com/nestjs/nest/issues/8033 | 988,411,737 | 8,033 |
[
"nestjs",
"nest"
] | ## Bug Report
tl;dr: Nested `DynamicModule`s fail to inject dependencies / resolve providers correctly when using `LazyModuleLoader`.
## Current behavior
Consider having 3 modules: `ConfigModule`, `ModuleA` and `ModuleB`.
`ModuleA` and `ModuleB` have static functions to create `DynamicModule`s, where `ModuleA... | Problems Loading Nested DynamicModules With LazyModuleLoader | https://api.github.com/repos/nestjs/nest/issues/8031/comments | 4 | 2021-09-04T16:48:54Z | 2021-09-30T12:10:31Z | https://github.com/nestjs/nest/issues/8031 | 988,329,108 | 8,031 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
When using a `StreamableFile` as a response type in a controller, the result is incorrect.
This is the wrong result of a `StreamableFile`, when invoking `GET http://localhost:3000/file`:
```
{
"stream": {
"path": "/home/alex/dev/src/other/example/package.json",
... | Incorrect responses for StreamableFile | https://api.github.com/repos/nestjs/nest/issues/8029/comments | 3 | 2021-09-04T10:50:39Z | 2023-11-10T16:00:50Z | https://github.com/nestjs/nest/issues/8029 | 988,267,084 | 8,029 |
[
"nestjs",
"nest"
] | Hi Guys, I would like to listen to the events on consumer object returned by Kafkajs. But in nestjs since i am starting the microservice like this
app.connectMicroservice<MicroserviceOptions>({
transport: Transport.KAFKA,
options: {
client: {
clientId: configService.get('KAFKA_CLIENT_ID'),
... | Access events on kafka microservice | https://api.github.com/repos/nestjs/nest/issues/8028/comments | 4 | 2021-09-04T09:23:28Z | 2021-09-21T12:59:21Z | https://github.com/nestjs/nest/issues/8028 | 988,252,152 | 8,028 |
[
"nestjs",
"nest"
] | I have follow the official guide to setup hot reload, but after I changed return value of `getHello()` in `apps/nest-hot/src/app.service.ts`, I refresh the page http://localhost:5000/ and it still show's the old value.
git repo: https://github.com/wxs77577/nest-hot-1
```shell
yarn
yarn dev
```
| Api response does not change in hot reload. | https://api.github.com/repos/nestjs/nest/issues/8027/comments | 8 | 2021-09-04T08:20:48Z | 2022-02-17T09:49:34Z | https://github.com/nestjs/nest/issues/8027 | 988,241,771 | 8,027 |
[
"nestjs",
"nest"
] | Hello,
I need to implement API paths as bellow:
> http://localhost:3000/api/v1/xyz/customers/1
> http://localhost:3000/api/v1/xyz/products
(xyz is channel name defined in database)
I found some available techniques provided by Nests
- /api ---> Global Prefix
- /v1 ---> Versioning
- /customer/:i... | Need to perform middlewares after route | https://api.github.com/repos/nestjs/nest/issues/8026/comments | 1 | 2021-09-04T07:44:56Z | 2021-09-04T10:14:36Z | https://github.com/nestjs/nest/issues/8026 | 988,235,978 | 8,026 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
When i create schema from the class using `SchemaFactory.createForClass(Staff)` and use it as type in the `Model` in service, I get the error **'StaffSchema' refers to a value, but is being used as a type here. Did you mean 'typeof StaffSchema'?**
When i am using typeof StaffS... | Typescript compilation failed when mongoose schema is used in model | https://api.github.com/repos/nestjs/nest/issues/8025/comments | 2 | 2021-09-03T13:00:35Z | 2021-09-21T12:55:40Z | https://github.com/nestjs/nest/issues/8025 | 987,748,363 | 8,025 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
This is effectively a repeat of https://github.com/nestjs/nest/issues/1621
This problem resurfaced with the 3.x release of `nestjs-command` https://www.npmjs.com/package/nestjs-command, which removed the `{ autoExit }` option. Redis is still running, and prevents CLI commands fr... | Redis client created with CacheManager (still) does not close when app quits | https://api.github.com/repos/nestjs/nest/issues/8020/comments | 7 | 2021-09-02T19:22:04Z | 2021-09-02T20:16:40Z | https://github.com/nestjs/nest/issues/8020 | 987,080,986 | 8,020 |
[
"nestjs",
"nest"
] | I am currently trying to create a unit test for a service.
This service uses a User entity which extends a BaseEntity
```
export class BaseEntity {
@IsNumber()
@PrimaryGeneratedColumn()
id: number;
@CreateDateColumn({ type: 'timestamptz', default: () => 'CURRENT_TIMESTAMP()' })
createDate: DateTim... | Not able to find extended class | https://api.github.com/repos/nestjs/nest/issues/8015/comments | 3 | 2021-09-01T18:33:44Z | 2021-09-03T15:33:13Z | https://github.com/nestjs/nest/issues/8015 | 985,472,093 | 8,015 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
I have an api that has a get end point and I defined it as get("byInstitution") and then I am getting the institution id in the header, however whenever I hit it with postman I get an internal server error.
[Nest] 22804 - 09/01/2021, 8:22:09 PM ERROR [ExceptionsHandler] inval... | calling a get route that has a path but no parameters is causing typeorm to automatically execute | https://api.github.com/repos/nestjs/nest/issues/8013/comments | 3 | 2021-09-01T17:26:26Z | 2023-08-17T13:48:39Z | https://github.com/nestjs/nest/issues/8013 | 985,409,418 | 8,013 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
The documentation states [here](https://docs.nestjs.com/guards#binding-guards) that:
> ...we passed the RolesGuard type (instead of an instance), leaving responsibility for instantiation to the framework and enabling dependency injection.
So I'm expecting to "override" a guard ... | UseGuards Doesn't Use Dependency Injection - Can't Override Guard | https://api.github.com/repos/nestjs/nest/issues/8011/comments | 2 | 2021-09-01T10:47:30Z | 2021-09-24T11:12:59Z | https://github.com/nestjs/nest/issues/8011 | 984,997,558 | 8,011 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
I have a NX monorepo which the frontend port is 4200 and the server port is 3333, and proxy `http://localhost:4200/api` to `http://localhost:3333/api`. Even if the client has closed event source, the server will still emit the message.
## Input Code
```ts
@Sse('sse')
sse() {
... | SSE server doesn't dispose observable when reverse proxy is set | https://api.github.com/repos/nestjs/nest/issues/8006/comments | 3 | 2021-08-31T04:39:40Z | 2021-08-31T07:04:21Z | https://github.com/nestjs/nest/issues/8006 | 983,434,753 | 8,006 |
[
"nestjs",
"nest"
] | I'm been wondering if NestJS would be a better option than .NET for the following use cases in a startup scene with the following objectives:
1. Scalable - think Canva, Airbnb, Booking.com or Trivago
2. Fast development speed for MVPs
3. Great architecture
3. Easy to pick up for devs from all backgrounds (Node, C... | Switching from Express (TypeScript) to NestJS | https://api.github.com/repos/nestjs/nest/issues/8001/comments | 2 | 2021-08-30T22:42:40Z | 2021-08-31T06:33:49Z | https://github.com/nestjs/nest/issues/8001 | 983,267,018 | 8,001 |
[
"nestjs",
"nest"
] | Hello,
Apologies if this isn't the correct place for this, but I'm completely lost as to why I'm getting this error. `events=target._events` does not exist anywhere in my codebase, so i'm guessing it is due to a node_module, but I can't find the culprit.
What's worse is I can't reproduce this locally, it just fa... | Nest failing to deploy - TypeError cannot read property of '_events' of undefined | https://api.github.com/repos/nestjs/nest/issues/7989/comments | 1 | 2021-08-29T19:00:03Z | 2021-08-30T06:33:06Z | https://github.com/nestjs/nest/issues/7989 | 982,177,336 | 7,989 |
[
"nestjs",
"nest"
] | This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
_Originally posted by @lock[bot] in https://github.com/nestjs/nest/issues/1253#issuecomment-534369194_ | How to make nestjs work in electron | https://api.github.com/repos/nestjs/nest/issues/7983/comments | 3 | 2021-08-28T18:28:11Z | 2021-08-30T06:35:43Z | https://github.com/nestjs/nest/issues/7983 | 981,899,709 | 7,983 |
[
"nestjs",
"nest"
] | ## Bug Report
I'm having trouble upgrading from NestJS 7 -> 8. My project runs in a monorepo managed with Lerna.
My first approach was to run the upgrade via the CLI. Running `nest update --force' did simply delete all my @nest/* dependencies from node_modules as well as from package.json and resulted in an error... | Unable to upgrade to Nest 8 | https://api.github.com/repos/nestjs/nest/issues/7982/comments | 4 | 2021-08-28T18:20:48Z | 2021-08-30T08:44:03Z | https://github.com/nestjs/nest/issues/7982 | 981,898,281 | 7,982 |
[
"nestjs",
"nest"
] | **Successful project, I'm looking into it. I like it so much. How about inviting me to the github organization?** | I want to join the organization. | https://api.github.com/repos/nestjs/nest/issues/7978/comments | 4 | 2021-08-28T07:28:59Z | 2021-08-28T07:42:38Z | https://github.com/nestjs/nest/issues/7978 | 981,762,550 | 7,978 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
Why can't I launch a dynamic module?
The application does not start.
Could it be because the RoutesResolver AuthController is being called twice?
How can you avoid this?
Or am I using modules incorrectly at all?
## Input Code
https://github.com/Slonik/sttest
## Environme... | RoutesResolver call twice on forwardRef modules | https://api.github.com/repos/nestjs/nest/issues/7975/comments | 1 | 2021-08-27T11:42:24Z | 2021-08-27T11:49:56Z | https://github.com/nestjs/nest/issues/7975 | 981,164,048 | 7,975 |
[
"nestjs",
"nest"
] | There is an option to set route config in Fastify like:
https://www.fastify.io/docs/latest/Routes/#config
```
fastify.get('/en', { config: { output: 'hello world!' } }, handler)
```
but is there an option to set config when using NestJS with Fastify?
```
// where to put config for route
@Post('/en')
... | How to set config for Fastify route config when using NestJS | https://api.github.com/repos/nestjs/nest/issues/7973/comments | 1 | 2021-08-27T08:11:46Z | 2021-08-27T08:15:14Z | https://github.com/nestjs/nest/issues/7973 | 980,992,539 | 7,973 |
[
"nestjs",
"nest"
] | Hey nest.js folks!
I'm the maintainer of amqp-connection-manager. I've been making some attempts to modernize the code in this library lately - many years ago it was originally written in CoffeeScript, then migrated to JavaScript. Recently I merged a number of fixes from contributors, and I migrated the whole code... | Nest.js has trouble connecting to RabbitMQ with latest amqp-connection-manager | https://api.github.com/repos/nestjs/nest/issues/7972/comments | 24 | 2021-08-27T04:29:57Z | 2021-10-27T14:15:00Z | https://github.com/nestjs/nest/issues/7972 | 980,861,821 | 7,972 |
[
"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 [...] -->
NestJs is calling itself 'The open source platform designed for the future. Build enterprise'. Enterprise means a ton of modules and a... | Ability to reinitialize modules at runtime 2 | https://api.github.com/repos/nestjs/nest/issues/7961/comments | 1 | 2021-08-26T10:04:10Z | 2021-08-26T10:30:38Z | https://github.com/nestjs/nest/issues/7961 | 980,064,043 | 7,961 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
Unable to specify shutdown signals that are not uppercase like `disconnect`.
## Input Code
```ts
app.enableShutdownHooks(['disconnect']);
```
## Expected behavior
That `enableShutdownHooks` accepts any valid event type that `process.on` would accept.
## Possible Solu... | Unable to specify shutdown signals that are not uppercase like `disconnect` | https://api.github.com/repos/nestjs/nest/issues/7957/comments | 1 | 2021-08-26T05:28:20Z | 2021-08-26T07:35:05Z | https://github.com/nestjs/nest/issues/7957 | 979,850,279 | 7,957 |
[
"nestjs",
"nest"
] | ## Bug Report

## Current behavior
error
## Expected behavior
work
## Possible Solution
move rxjs 7 dependence form peerDependencies to dependencies. Because lastValueFrom is only in rxjs 7 , B... | move rxjs 7 dep form peerDependencies to dependencies | https://api.github.com/repos/nestjs/nest/issues/7956/comments | 1 | 2021-08-26T05:18:56Z | 2021-08-26T06:10:38Z | https://github.com/nestjs/nest/issues/7956 | 979,845,934 | 7,956 |
[
"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 [...] -->
The issue I face is modular routing like I am used to with Koa/Express. where I have `localhost:300/api/<TENENT>/.../` we can imagine ... | Allow for modular routing | https://api.github.com/repos/nestjs/nest/issues/7948/comments | 1 | 2021-08-25T14:55:34Z | 2021-08-26T06:13:26Z | https://github.com/nestjs/nest/issues/7948 | 979,252,557 | 7,948 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
Generate fresh project
run `yarn`
Change the `app.service.ts` file
run `yarn start`
Create latency using a timeout
send two almost simultaneous requests
one returned in ~6 seconds, and the other returns in ~12 seconds
repeated with `yarn build` and `yarn start:prod` with a s... | On a fresh project, two requests coming in resolve sequentially and not in parallel when waiting on a setTimeout in a service | https://api.github.com/repos/nestjs/nest/issues/7937/comments | 7 | 2021-08-24T21:23:43Z | 2021-08-26T21:00:24Z | https://github.com/nestjs/nest/issues/7937 | 978,497,903 | 7,937 |
[
"nestjs",
"nest"
] | ## Feature Request
Add the ability to create dynamically a provider instance
## Is your feature request related to a problem? Please describe.
I'm using Nest.js Standalone application with [ftp-srv](https://github.com/autovance/ftp-srv), and I have to create FileSystem class instance on every ftp-connection, so m... | Dynamic provider instance creation | https://api.github.com/repos/nestjs/nest/issues/7935/comments | 1 | 2021-08-24T16:30:57Z | 2021-08-25T06:36:46Z | https://github.com/nestjs/nest/issues/7935 | 978,280,746 | 7,935 |
[
"nestjs",
"nest"
] | <!-- We primarily use GitHub as an issue tracker; for usage and support questions, please check out these resources below. Thanks! 😁. -->
I want to access the multipart ('form/multipart') POST request, with the field name "json"
* Discord Community Chat: https://discord.gg/G7Qnnhy
* StackOverflow: https://stackover... | [Query] what is the way to access form-data type text property from request | https://api.github.com/repos/nestjs/nest/issues/7934/comments | 1 | 2021-08-24T14:25:22Z | 2021-08-24T15:31:29Z | https://github.com/nestjs/nest/issues/7934 | 978,159,615 | 7,934 |
[
"nestjs",
"nest"
] | ## Regression
## Potential Commit/PR that introduced the regression**
- Error occurred when upgrading from v7.6.18 to v8.0.6 on 24 Aug 2021
## Describe the regression
- Dependency injection errors are thrown as a result of Nest not being able to find an entity's repository. Repositories are all imported in a si... | DI failing to find repositories after upgrading to v8 | https://api.github.com/repos/nestjs/nest/issues/7933/comments | 1 | 2021-08-24T10:56:55Z | 2021-08-24T11:13:05Z | https://github.com/nestjs/nest/issues/7933 | 977,971,194 | 7,933 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
`console.log(tagIds);` prints `[ '' ]` regardless of `DefaultValuePipe`. If `optional` is false, it throws Bad Request exception "Validation failed (parsable array expected)".
## Input Code
<!-- REPL or Repo link if applicable: -->
```ts
@Get()
findSomething(
@Query(
... | ParseArrayPipe `optional: true` returns unwanted default value `[ '' ]` | https://api.github.com/repos/nestjs/nest/issues/7926/comments | 11 | 2021-08-23T18:41:58Z | 2021-10-06T11:09:21Z | https://github.com/nestjs/nest/issues/7926 | 977,317,301 | 7,926 |
[
"nestjs",
"nest"
] | ## Bug Report
I have created a nest JS project with sequelize and we have some tables with two primary keys.(composite primary keys). In node JS and sequelize, they have feature to define two primary keys in database model. If I tried with same approach with nestJS, it appears to be identify only first column as prima... | Cannot create composite primary keys with sequelize | https://api.github.com/repos/nestjs/nest/issues/7925/comments | 2 | 2021-08-23T18:24:43Z | 2021-08-24T06:30:18Z | https://github.com/nestjs/nest/issues/7925 | 977,303,186 | 7,925 |
[
"nestjs",
"nest"
] | ## Feature Request
## Is your feature request related to a problem?
This issue is already mentioned in #284 however in this case I'm having problem with services that requires their handlers to be used after all controllers (which are not developed by myself).
Take Sentry.io for example, It perfectly works with... | Allow middlewares to be applied after all controllers | https://api.github.com/repos/nestjs/nest/issues/7918/comments | 5 | 2021-08-23T09:25:55Z | 2021-08-24T05:12:15Z | https://github.com/nestjs/nest/issues/7918 | 976,822,867 | 7,918 |
[
"nestjs",
"nest"
] | I was trying to code a BaseController for CRUD operations then all of the controllers will be extending that class but with Swagger, it can't get the type of the schema for the endpoint at runtime. It would be really cool to have that kind of improvement | Swagger Cli, detect entity type at runtime | https://api.github.com/repos/nestjs/nest/issues/7914/comments | 2 | 2021-08-22T21:39:54Z | 2021-08-23T07:05:14Z | https://github.com/nestjs/nest/issues/7914 | 976,476,738 | 7,914 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
Given two controller route handlers that subscribe to the same `@EventPattern`, both handlers are executed as expected. However, if an interceptor is used on the 2nd handler, the interceptor is executed but the handler itself is never executed
<!-- Describe how the issue manifest... | Sharing same @EventPattern across 2 handlers is broken if 2nd handler uses an interceptor | https://api.github.com/repos/nestjs/nest/issues/7913/comments | 9 | 2021-08-22T15:00:19Z | 2021-09-30T12:10:28Z | https://github.com/nestjs/nest/issues/7913 | 976,397,103 | 7,913 |
[
"nestjs",
"nest"
] | Nest `8.1.1`
Node `v16.6.1`
`npm install` fails on new project created via cli:
Peer dep error:
```
npm ERR! code ERESOLVE
npm ERR! ERESOLVE could not resolve
npm ERR!
npm ERR! While resolving: ts-jest@27.0.5
npm ERR! Found: @types/jest@26.0.24
npm ERR! node_modules/@types/jest
npm ERR! dev @types/j... | @types/jest peer dependency error | https://api.github.com/repos/nestjs/nest/issues/7912/comments | 1 | 2021-08-22T09:02:36Z | 2021-08-22T19:05:51Z | https://github.com/nestjs/nest/issues/7912 | 976,326,040 | 7,912 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
Using: `app.useGlobalInterceptors(new ClassSerializerInterceptor(app.get(Reflector)))` in main.ts breaks StreamableFile in a controller and returns the stream object instead of the file.
## Input Code
main.ts
`app.useGlobalInterceptors(new ClassSerializerInterceptor(app.ge... | StreamableFile does not work with global interceptor ClassSerializerInterceptor | https://api.github.com/repos/nestjs/nest/issues/7909/comments | 4 | 2021-08-21T18:29:45Z | 2021-08-23T07:12:12Z | https://github.com/nestjs/nest/issues/7909 | 976,194,757 | 7,909 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
We can pass levels to logger along with using our custom implementation.
```ts
const app = await NestFactory.create(AppModule, {
// neither with buffering nor without it
bufferLogs: true,
logger: ['warn', 'error'],
});
app.useLogger(app.get(CustomLogger... | Log levels are not passed to custom logger | https://api.github.com/repos/nestjs/nest/issues/7907/comments | 2 | 2021-08-21T11:45:37Z | 2021-08-23T10:43:09Z | https://github.com/nestjs/nest/issues/7907 | 976,118,558 | 7,907 |
[
"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. -->
... | Runtime error after upgrading from 7.6.17 to 8.0.6 | https://api.github.com/repos/nestjs/nest/issues/7901/comments | 2 | 2021-08-20T06:35:04Z | 2021-08-20T07:54:41Z | https://github.com/nestjs/nest/issues/7901 | 975,311,701 | 7,901 |
[
"nestjs",
"nest"
] | # Bug Report
## Current Behavior
When retrieving a provider using `ModuleRef.get()` using a string token (e.g. `this.moduleRef.get('HelloService')`, the following error is generated:
```
Error: Nest could not find HelloService element (this provider does not exist in the current context)
```
Using `Module... | ModuleRef.get() throws an error when a string token is passed as an argument | https://api.github.com/repos/nestjs/nest/issues/7899/comments | 1 | 2021-08-19T22:37:56Z | 2021-08-19T23:09:30Z | https://github.com/nestjs/nest/issues/7899 | 975,102,729 | 7,899 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
I want to apply middleware on the whole router except one.
## Input Code
```ts
// on main.ts
const app = await NestFactory.create<NestExpressApplication>(AppModule, {
bodyParser: false,
});
app.setGlobalPrefix('v1', {
exclude: ['external/([^\\s]+)'],
});
```
``... | Exclude on setGlobalPrefix are applied wrong. | https://api.github.com/repos/nestjs/nest/issues/7896/comments | 9 | 2021-08-19T01:44:57Z | 2021-10-13T12:30:48Z | https://github.com/nestjs/nest/issues/7896 | 974,185,726 | 7,896 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
Recently attempted an update from 8.0.4 -> 8.0.6, and started receiving errors from this exception.
https://github.com/nestjs/nest/blob/master/packages/core/injector/injector.ts#L108
It appears just after discovery module is loaded, and provides no information on why it is bei... | Injector boot exception doesn't provide any information for debugging | https://api.github.com/repos/nestjs/nest/issues/7890/comments | 7 | 2021-08-18T18:45:59Z | 2021-08-19T13:49:55Z | https://github.com/nestjs/nest/issues/7890 | 973,957,411 | 7,890 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
I'm getting a HTTP 503 error from an endpoint which implements Server-Sent Events (SSE) if I'm using Nest with Gloo Edge proxy.
The error doesn't trigger if I'm calling a container directly. The error also doesn't happen if I use alternative SSE implementation (e.g. nestjs-sse),... | 503 error from Server-Sent Events if used through Gloo proxy | https://api.github.com/repos/nestjs/nest/issues/7887/comments | 1 | 2021-08-18T13:07:23Z | 2021-08-20T07:13:56Z | https://github.com/nestjs/nest/issues/7887 | 973,647,784 | 7,887 |
[
"nestjs",
"nest"
] | ## Bug Report
All the routes are returning 404 response.
## Current behavior
All the routes are returning `404` response after creating a middleware (as guided by the official docs)
Few sample routes:
- `http://localhost:3000/auth/whoami` must return **403** or **200**
- `http://localhost:3000/auth/signup` m... | All the routes returning 404 | https://api.github.com/repos/nestjs/nest/issues/7884/comments | 1 | 2021-08-18T04:41:03Z | 2021-08-20T07:13:59Z | https://github.com/nestjs/nest/issues/7884 | 973,267,282 | 7,884 |
[
"nestjs",
"nest"
] | ## Feature Request
## Is your feature request related to a problem? Please describe.
```ts
// main.ts
app.useLogger(console)
// app.controller.ts
import { Logger } from '@nestjs/common'
@Controller()
export class AppController {
private readonly logger = new Logger(AppController.name, {
timestamp: t... | Using custom logger, like console, should print out timestamp diff when using Logger | https://api.github.com/repos/nestjs/nest/issues/7883/comments | 2 | 2021-08-18T03:07:43Z | 2021-08-18T07:10:23Z | https://github.com/nestjs/nest/issues/7883 | 973,229,613 | 7,883 |
[
"nestjs",
"nest"
] | I want use @Tree('closure-table') so I have the below method and entity:
```
public async create(createCategoryDto: CreateCategoryDto) {
try {
const manager = getManager();
const category = await this.categoryRepository.create(createCategoryDto);
return await manager.save(category);
} ... | How can we use @Tree('closure-table') in NestJs? | https://api.github.com/repos/nestjs/nest/issues/7878/comments | 3 | 2021-08-17T18:48:48Z | 2021-08-18T06:46:50Z | https://github.com/nestjs/nest/issues/7878 | 972,970,648 | 7,878 |
[
"nestjs",
"nest"
] | ## Bug Report
Hi, I'm currently experiencing a bug regarding the ModuleRef from nestjs/core, I'm unsure if this the right place to ask or not.
## Current behavior
<!-- Describe how the issue manifests. -->
Currently I'm trying to create a library where i use the ModuleRef to create a selector. For example, given a ... | ModuleRef build issue | https://api.github.com/repos/nestjs/nest/issues/7877/comments | 5 | 2021-08-17T16:37:35Z | 2021-08-20T07:14:07Z | https://github.com/nestjs/nest/issues/7877 | 972,873,479 | 7,877 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.