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 would like to integrate a compilation check in my test CI workflow.
My use case: I share some Nest modules across 2 Nest applications: a web app and a background jobs app for task scheduling.
I'm afraid that while working locally on the web app I might break the background jobs... | Feature request: a nest CLI command to check that there is no runtime error (e.g. dependency injection error) at server start | https://api.github.com/repos/nestjs/nest/issues/6565/comments | 5 | 2021-03-03T16:53:32Z | 2021-03-03T18:21:33Z | https://github.com/nestjs/nest/issues/6565 | 821,295,579 | 6,565 |
[
"nestjs",
"nest"
] | We are happily saying that we also a part of Nest Js family. Very much glad for that!
Recently we had faced one high level security vulnerable issue with nest js package which is glob-parent. Our heads are rolling like anything to resolve that issue and feeling sad to say that we couldn't find any solution yet to... | Security Vulnerable Issue after upgraded to nest js latest version | https://api.github.com/repos/nestjs/nest/issues/6564/comments | 1 | 2021-03-03T09:21:41Z | 2021-03-03T09:28:00Z | https://github.com/nestjs/nest/issues/6564 | 820,918,030 | 6,564 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
`Request` injection scope makes the app silently fail its dependency injection and, as a result, crash in runtime.
When we have some service that uses the `Request` injection scope, and we use it outside of an API context, it fails to resolve the request and by that not resolvin... | Nest does not throw an error when failing to resolve request-scoped service outside API context | https://api.github.com/repos/nestjs/nest/issues/6563/comments | 5 | 2021-03-03T08:43:58Z | 2021-03-08T07:41:36Z | https://github.com/nestjs/nest/issues/6563 | 820,888,017 | 6,563 |
[
"nestjs",
"nest"
] | when program throw exception in middleware, interceptors can't got and logger | middleware throw exception,interceptors can't get this exception | https://api.github.com/repos/nestjs/nest/issues/6562/comments | 1 | 2021-03-03T06:53:04Z | 2021-03-03T06:55:43Z | https://github.com/nestjs/nest/issues/6562 | 820,808,512 | 6,562 |
[
"nestjs",
"nest"
] | Suppose I have a ```BarModule``` and ```FoodModule```. Now the ```BarModule``` depends on ```FoodModule``` to perform some function, I have two ways to do the connection:
Firstly:
```js
// BarModule
import { FoodModule } from '@/food/food.module.ts';
@Module({
controllers: [ BarController ],
providers:... | Which one should be the best way (or make more sense) to import outer provider | https://api.github.com/repos/nestjs/nest/issues/6557/comments | 1 | 2021-03-03T02:58:59Z | 2021-03-03T03:03:07Z | https://github.com/nestjs/nest/issues/6557 | 820,598,556 | 6,557 |
[
"nestjs",
"nest"
] | Hello,
Im trying to implement csurf protection, but without any success. Previously I implemented it to test server, which works great, but this server was simple express server, not based on NestJS framework.
So my code in main.ts is like this:
```
import { AppModule } from './app.module'
import { NestFacto... | CSURF implementation | https://api.github.com/repos/nestjs/nest/issues/6552/comments | 5 | 2021-03-02T15:18:25Z | 2022-07-06T07:21:05Z | https://github.com/nestjs/nest/issues/6552 | 820,116,188 | 6,552 |
[
"nestjs",
"nest"
] | ## Feature Request
## Is your feature request related to a problem? Please describe.
<!-- A clear and concise description of what the problem is. Ex. I have an issue when [...] -->
When installing from npm7 I get the following message:
```
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE package: ... | When I create a project in cli and get install, I get a warning message | https://api.github.com/repos/nestjs/nest/issues/6551/comments | 7 | 2021-03-02T13:32:10Z | 2021-05-14T08:51:05Z | https://github.com/nestjs/nest/issues/6551 | 820,022,324 | 6,551 |
[
"nestjs",
"nest"
] | ## Bug Report
use nest cli inti new project error (Chinese network)
## Current behavior
## Input Code
cli input: `nest new server`
## Expected behavior
```
We will scaffold your app in a few seconds..
Error: Collection "@nestjs/schematics" cannot be resolved.
at NodeModulesEngineHost.resolve (/Us... | nest new error: Collection "@nestjs/schematics" cannot be resolved. | https://api.github.com/repos/nestjs/nest/issues/6550/comments | 3 | 2021-03-02T11:20:10Z | 2021-03-02T13:14:54Z | https://github.com/nestjs/nest/issues/6550 | 819,920,924 | 6,550 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
Prisma 2 is not working with current NestJS.
I'm also having a hard time finding why as I'm not able to make NestJS output logs 🤔

## Input Code
Follow recipe abo... | Prisma 2 not working | https://api.github.com/repos/nestjs/nest/issues/6548/comments | 3 | 2021-03-02T07:48:03Z | 2021-03-02T19:22:58Z | https://github.com/nestjs/nest/issues/6548 | 819,741,864 | 6,548 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
I decided to use a mixin for my validation pipe as I need dependency injection in it. For each of my controller methods, I provide a different parameter to the mixin, but looks like they are getting mixed between different endpoints. This, of course, can be a mistake on how I'm u... | Pipe mixin data from different endpoints are getting mixed | https://api.github.com/repos/nestjs/nest/issues/6543/comments | 1 | 2021-03-01T22:22:15Z | 2021-03-01T22:33:34Z | https://github.com/nestjs/nest/issues/6543 | 819,351,838 | 6,543 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
I have a `HttpExceptionFilter` class. I have the following logic:
```ts
if (status != 500) super.catch(exception, host);
response.status(status).json({
statusCode: status,
message: exception.message,
});
```
If I get any kind of exception other than 500 error, I g... | ExceptionFilter: super.catch(exception, host) give Error [ERR_HTTP_HEADERS_SENT] | https://api.github.com/repos/nestjs/nest/issues/6540/comments | 4 | 2021-03-01T11:21:34Z | 2021-03-01T13:45:28Z | https://github.com/nestjs/nest/issues/6540 | 818,766,604 | 6,540 |
[
"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 [...] -->
We are trying to use the RabbitMQ microservice package on an existing queue. During the setup the microservice asserts the queue. We w... | RMQ skip queue assert | https://api.github.com/repos/nestjs/nest/issues/6539/comments | 6 | 2021-03-01T10:13:15Z | 2021-07-27T06:34:07Z | https://github.com/nestjs/nest/issues/6539 | 818,708,875 | 6,539 |
[
"nestjs",
"nest"
] | https://docs.nestjs.com/techniques/task-scheduling#dynamic-intervals
The code examples have standard constructor injection:
`constructor(private schedulerRegistry: SchedulerRegistry) {}`
But when describing the addInterval method we see:
`this.scheduler.addInterval(name, interval);`
deleteInterval method:
`... | NestJS task-scheduling documentation is misleading | https://api.github.com/repos/nestjs/nest/issues/6538/comments | 3 | 2021-03-01T07:47:31Z | 2021-03-01T10:34:41Z | https://github.com/nestjs/nest/issues/6538 | 818,581,875 | 6,538 |
[
"nestjs",
"nest"
] | ## Bug Report
## Input Code
<!-- REPL or Repo link if applicable: -->
```ts
// main.ts
import { NestFactory } from '@nestjs/core';
import { AppModule } from './app.module';
import * as session from 'express-session';
async function bootstrap() {
const app = await NestFactory.create(AppModule);
app.u... | express session regenerate doesn't work well | https://api.github.com/repos/nestjs/nest/issues/6533/comments | 2 | 2021-03-01T01:13:58Z | 2021-03-01T02:55:11Z | https://github.com/nestjs/nest/issues/6533 | 818,373,350 | 6,533 |
[
"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'm wondering if there are any plans down the road to also do a firebase recipe for Nest? It would be really cool if we could hook on ... | Firebase Integration with Nest | https://api.github.com/repos/nestjs/nest/issues/6532/comments | 2 | 2021-03-01T00:58:09Z | 2021-03-01T23:00:54Z | https://github.com/nestjs/nest/issues/6532 | 818,368,595 | 6,532 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
I have ServiceEntity I have Join ManyToOne or OneToMany To Its work fine but when I use it with AppointmentRoomEnity it got error like :
throw new circular_dependency_exception_1.CircularDependencyException('@InjectRepository()');
^
CircularDependencyException [Error]:... | CircularDependencyException('@InjectRepository()') | https://api.github.com/repos/nestjs/nest/issues/6528/comments | 4 | 2021-02-27T17:34:35Z | 2021-02-28T03:32:28Z | https://github.com/nestjs/nest/issues/6528 | 817,977,684 | 6,528 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
Code-first GraphQL, having problems with the type unions! 😄
When I go to create a type union as directed in the [docs](https://docs.nestjs.com/graphql/unions-and-enums), my system will not build. If I remove the attempted type-union creation, my system recompiles and serves a Gr... | TypeUnions don't compile for Code-first GraphQL | https://api.github.com/repos/nestjs/nest/issues/6526/comments | 5 | 2021-02-27T06:45:25Z | 2021-02-27T22:51:33Z | https://github.com/nestjs/nest/issues/6526 | 817,851,461 | 6,526 |
[
"nestjs",
"nest"
] | ## Bug Report
@Req and @Res decorators in get request doesn't work if also not importing the Request and Response from'@nestjs/common';
it says ReferenceError: Response is not defined ReferenceError: Request is not defined:
Also when using **app.use(cookieParser());** middleware i get the following error when try... | @Req and @Res not working as expected | https://api.github.com/repos/nestjs/nest/issues/6525/comments | 5 | 2021-02-27T02:31:48Z | 2021-02-27T03:45:43Z | https://github.com/nestjs/nest/issues/6525 | 817,799,501 | 6,525 |
[
"nestjs",
"nest"
] | ## Bug Report
The error occurs by updating rxjs
https://www.npmjs.com/package/rxjs
## Current behavior
../../packages/abstract/middleware/node_modules/@nestjs/microservices/exceptions/base-rpc-exception-filter.d.ts:5:5 - error TS2416: Property 'catch' in type 'BaseRpcExceptionFilter<T, R>' is not assignable t... | @nestjs/microservices error rxjs version update | https://api.github.com/repos/nestjs/nest/issues/6523/comments | 2 | 2021-02-26T17:50:03Z | 2021-03-02T07:54:23Z | https://github.com/nestjs/nest/issues/6523 | 817,549,000 | 6,523 |
[
"nestjs",
"nest"
] | # Bug Report
## Current behavior
When typing a provider using the generic `Provider<T>` type, any valid provider is considered as valid, defeating the purpose of typing.
## Input Code
```ts
import {ConfigService} from "@nestjs/config";
const provider: Provider<string> = ConfigService;
```
## Expecte... | Provider<T> doesn't typecheck as expected | https://api.github.com/repos/nestjs/nest/issues/6522/comments | 4 | 2021-02-26T15:02:39Z | 2025-01-30T19:16:14Z | https://github.com/nestjs/nest/issues/6522 | 817,428,584 | 6,522 |
[
"nestjs",
"nest"
] | ## Bug Report
Example in documentation throws an unrecoverable error when registering discriminators for a schema.
The example is shown in the Mongo -> Discriminators section (https://docs.nestjs.com/techniques/mongodb#discriminators)
## Current behavior
Copy the example code out of the documentation. .
Or clon... | Incorrect documentation: Mongo discriminator sample triggers Mongoose model overwrite error | https://api.github.com/repos/nestjs/nest/issues/6517/comments | 2 | 2021-02-26T02:58:23Z | 2021-02-26T12:01:56Z | https://github.com/nestjs/nest/issues/6517 | 816,990,259 | 6,517 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
<!-- Describe how the issue manifests. -->

## Input Code
<!-- REPL or Repo link if applicable: -->
here is the signature of BadRequestException, (or any other... | Error and message are not return correctly | https://api.github.com/repos/nestjs/nest/issues/6516/comments | 1 | 2021-02-26T01:55:07Z | 2021-02-26T08:11:42Z | https://github.com/nestjs/nest/issues/6516 | 816,953,735 | 6,516 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
When I use the following decorator with my Exception Filter class:
```typescript
@Catch(InternalServerErrorException)
export class HttpExceptionFilter extends BaseExceptionFilter implements ExceptionFilter {
```
The `catch` method within the class doesn't get fired at all.... | ExceptionFilter: @Catch() doesn't work with InternalServerErrorException | https://api.github.com/repos/nestjs/nest/issues/6514/comments | 9 | 2021-02-25T19:59:54Z | 2022-01-18T08:36:09Z | https://github.com/nestjs/nest/issues/6514 | 816,748,935 | 6,514 |
[
"nestjs",
"nest"
] | Hi, when i change the config for ssl in the api, websocket not accessible through wss and still accessible through ws. but the api can access through https. what is the problem? is there another configuration needs for ssl through websocket?
this is my bootstrap function in main.module.ts
async function bootstrap()... | wss not worked | https://api.github.com/repos/nestjs/nest/issues/6512/comments | 1 | 2021-02-25T09:34:49Z | 2021-02-25T10:17:06Z | https://github.com/nestjs/nest/issues/6512 | 816,258,380 | 6,512 |
[
"nestjs",
"nest"
] | ENOENT: no such file or directory, open hero/hero.proto
const app = await NestFactory.createMicroservice<MicroserviceOptions>(TuyaapiModule, {
transport: Transport.GRPC,
options: {
package: 'hero',
protoPath: join(__dirname, 'hero/hero.proto')
},
});
app.listen(() => console.log('Microser... | GRPC hero.proto Can't build in dist | https://api.github.com/repos/nestjs/nest/issues/6511/comments | 1 | 2021-02-25T09:09:12Z | 2021-02-25T09:12:01Z | https://github.com/nestjs/nest/issues/6511 | 816,237,539 | 6,511 |
[
"nestjs",
"nest"
] | ==========================================================
Project 1
`@Module({
imports: [ClientsModule.register([
{
name: 'USER',
transport: Transport.RMQ,
options: {
urls: [aqmpConUrl],
queue:aqmpMessageQueue ,
queueOptions: {
durable: false
... | Disconnected from RMQ | https://api.github.com/repos/nestjs/nest/issues/6505/comments | 1 | 2021-02-25T04:14:58Z | 2022-12-14T14:07:11Z | https://github.com/nestjs/nest/issues/6505 | 816,066,495 | 6,505 |
[
"nestjs",
"nest"
] | ## Current behavior
When using `ClientProxy.send()` and the other microservice throws an error `throw new Error('hello world')`, the other microservice correctly throws an `RpcException`:
> [RpcExceptionsHandler] hello world
But the client receives an unspecified error without the message:
> { status: 'error'... | Microservice errors are not emitted to client (RpcExceptionsHandler) | https://api.github.com/repos/nestjs/nest/issues/6496/comments | 4 | 2021-02-24T10:25:22Z | 2021-02-24T11:24:59Z | https://github.com/nestjs/nest/issues/6496 | 815,338,363 | 6,496 |
[
"nestjs",
"nest"
] | Hi there,
I am a newbie with Nest.
When I read the Get Started section, I miss a section about routing.
I created an app from scratch and without doing it, I have a path route ("/").
IMHO, the doc should be guided step by step by using the first elements to make a web app.
Firstly, you start by explainin... | Doc | Get started | https://api.github.com/repos/nestjs/nest/issues/6486/comments | 4 | 2021-02-23T11:13:37Z | 2021-02-23T16:44:03Z | https://github.com/nestjs/nest/issues/6486 | 814,363,793 | 6,486 |
[
"nestjs",
"nest"
] | I know socket 3 is expected to work with the next major release, but I'm trying to get it working on socket 2 and am running into this issue. Any idea how to get this working?
```
{
"dependencies": {
"@nestjs/platform-express": "^7.5.1",
"@nestjs/platform-socket.io": "^7.6.11",
"@nestjs/websockets... | TypeError: redisIoAdapter is not a function | https://api.github.com/repos/nestjs/nest/issues/6474/comments | 2 | 2021-02-22T19:22:28Z | 2021-02-22T19:43:13Z | https://github.com/nestjs/nest/issues/6474 | 813,791,007 | 6,474 |
[
"nestjs",
"nest"
] | Hello everyone, I have a question about Nestjs MVC.
### Problem
The followings is my code: (A feature for reset password with token string in url param: auth/reset-password/abcxyz)
```typescript
@Get('reset-password/:token')
@Render('auth/reset-password')
async getResetPassword(@Req() request: Request,... | Nestjs MVC Architect - Redirect inside Controller>Method that have @Render decorator | https://api.github.com/repos/nestjs/nest/issues/6466/comments | 7 | 2021-02-22T03:11:57Z | 2021-02-24T07:46:30Z | https://github.com/nestjs/nest/issues/6466 | 813,071,525 | 6,466 |
[
"nestjs",
"nest"
] | ```
> nest start
/home/nest-todo/node_modules/uuid/dist/esm-browser/index.js:1
export { default as v1 } from './v1.js';
^^^^^^
SyntaxError: Unexpected token 'export'
at wrapSafe (internal/modules/cjs/loader.js:1060:16)
at Module._compile (internal/modules/cjs/loader.js:1108:27)
at Object.Module.... | SyntaxError: Unexpected token 'export' with node v13.6.0 | https://api.github.com/repos/nestjs/nest/issues/6465/comments | 8 | 2021-02-22T02:26:11Z | 2021-02-22T07:52:56Z | https://github.com/nestjs/nest/issues/6465 | 813,055,570 | 6,465 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
Applying of Middleware to controller with prefix array cause build fail
<pre><code>
(node:2070) UnhandledPromiseRejectionWarning: TypeError: path.charAt is not a function
at Object.addLeadingSlash (/Users/user/Documents/website/node_modules/@nestjs/common/utils/shared.uti... | Applying of Middleware to controller with prefix array cause build fail UnhandledPromiseRejectionWarning: TypeError: path.charAt is not a function | https://api.github.com/repos/nestjs/nest/issues/6463/comments | 4 | 2021-02-21T14:39:28Z | 2021-02-22T09:50:54Z | https://github.com/nestjs/nest/issues/6463 | 812,870,231 | 6,463 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
I have two entities, with a one to one relationship. I want to manage these from the same service with two repositories. One is custom, one is the generic. The repositories are injected into the service and give an CircularDependencyException error when I try and run the migrati... | NestJS - CircularDependencyException [Error] when using two repositories in one service - NestJS | https://api.github.com/repos/nestjs/nest/issues/6462/comments | 2 | 2021-02-21T14:16:00Z | 2021-02-22T07:55:57Z | https://github.com/nestjs/nest/issues/6462 | 812,865,325 | 6,462 |
[
"nestjs",
"nest"
] | Taking configuration as an example, the Nest.js documentation advocates registering Config Modules and injecting them into other modules in a dependency injection way.
The benefits are obvious, and the dependencies and code are clear, but what if I have a nest.js project that needs to invoke the configuration inform... | How to use global variables in nest.js? | https://api.github.com/repos/nestjs/nest/issues/6460/comments | 1 | 2021-02-20T11:59:38Z | 2021-02-20T18:45:27Z | https://github.com/nestjs/nest/issues/6460 | 812,591,550 | 6,460 |
[
"nestjs",
"nest"
] | my `app.module.ts```import { Module } from '@nestjs/common';
import { CarsModule } from './cars/cars.module';
import { TypeOrmModule } from '@nestjs/typeorm';
import { Cars } from './cars/cars.entity';
import { AppController } from "./app.controller";
import { AppService } from "./app.service";
@Module({
imp... | {"statusCode":404,"message":"Cannot GET /","error":"Not Found"} | https://api.github.com/repos/nestjs/nest/issues/6458/comments | 7 | 2021-02-20T06:09:47Z | 2022-03-14T11:41:06Z | https://github.com/nestjs/nest/issues/6458 | 812,527,170 | 6,458 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
Triggering 'npm run build' exits with a error from estree, originating from ESLint
```
node_modules/@types/eslint/index.d.ts:260:41 - error TS2724: '"/home/politik/projects/nestjs-meta-admin/node_modules/@types/estree/index"' has no exported member named 'ChainExpression'. Di... | ESTree breaking build | https://api.github.com/repos/nestjs/nest/issues/6457/comments | 16 | 2021-02-19T22:43:48Z | 2021-03-16T07:19:13Z | https://github.com/nestjs/nest/issues/6457 | 812,408,189 | 6,457 |
[
"nestjs",
"nest"
] | ## Bug Report
This actually might not be a bad bug but, I encountered some , at least in my opinion, unexpected behavior.
## Current behavior
when coding a controller like this:
```typescript
@Controller('cats')
export class CatsController {
@Get('/') // note the explicit slash here, trying to mean 'when t... | unexpected route mapping when using a trailing slash | https://api.github.com/repos/nestjs/nest/issues/6454/comments | 2 | 2021-02-19T17:03:54Z | 2021-02-22T07:50:31Z | https://github.com/nestjs/nest/issues/6454 | 812,186,290 | 6,454 |
[
"nestjs",
"nest"
] | ## Feature Request
## Is your feature request related to a problem? Please describe.
`NaN`
## Describe the solution you'd like
Based on this [answer](https://stackoverflow.com/a/48226084/4111920) from Kamil in Stackoverflow, he expressed that the benchmarks are run on every pr, however, when one navigates to th... | Run/Update Benchmarks folder on every pr/merge | https://api.github.com/repos/nestjs/nest/issues/6453/comments | 2 | 2021-02-19T14:03:38Z | 2021-02-22T09:36:04Z | https://github.com/nestjs/nest/issues/6453 | 812,049,229 | 6,453 |
[
"nestjs",
"nest"
] | ## Feature Request
## Is your feature request related to a problem? Please describe.
It would be great to be able to add caching to the .send function of microservice clients. And if there is a cached value, instead of sending a nats event, directly returning the cached data.
## Describe the solution you'd like
... | Microservice Client should allow to add caching module | https://api.github.com/repos/nestjs/nest/issues/6446/comments | 2 | 2021-02-18T14:18:57Z | 2021-02-19T09:55:10Z | https://github.com/nestjs/nest/issues/6446 | 811,141,803 | 6,446 |
[
"nestjs",
"nest"
] | ## Feature Request
I have a feature request for the built-in logging service. Right now, you can adjust the logging behavior at app startup by setting the `logger:` option to `true/false`, `LogLevel[]` or to a custom logger implementation.
Why not also allow a single `LogLevel` in addition to the `LogLevel[]`? The ... | More flexibility in setting log levels for built-in logging service | https://api.github.com/repos/nestjs/nest/issues/6444/comments | 2 | 2021-02-18T13:51:51Z | 2021-02-18T16:29:35Z | https://github.com/nestjs/nest/issues/6444 | 811,118,281 | 6,444 |
[
"nestjs",
"nest"
] | ## Feature Request
## Is your feature request related to a problem? Please describe.
I would like to make sure that a certain property is not received inside my controller when it has the value "undefined".
## Describe the solution you'd like
Apparently class-tranformer has a configuration (see [here](https://g... | Add "exposeUnsetFields" to transformOptions | https://api.github.com/repos/nestjs/nest/issues/6443/comments | 5 | 2021-02-18T13:27:23Z | 2021-02-19T12:26:39Z | https://github.com/nestjs/nest/issues/6443 | 811,098,578 | 6,443 |
[
"nestjs",
"nest"
] | In the docs: https://docs.nestjs.com/security/authentication#graphql
the currentuser is null, why?
```
@Query(returns => User)
@UseGuards(GqlAuthGuard)
whoAmI(@CurrentUser() user: User) {
return this.usersService.findById(user.id);
}
```
it seems the GqlAuthGuard have not execute
| cannot got graphql decorator | https://api.github.com/repos/nestjs/nest/issues/6441/comments | 1 | 2021-02-18T09:47:57Z | 2021-02-18T10:05:37Z | https://github.com/nestjs/nest/issues/6441 | 810,935,406 | 6,441 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
WebSockets does not invoke custom validator with injection
Native and custom validators without injection are fine
<img width="626" alt="Screen Shot 2021-02-18 at 2 18 03 PM" src="https://user-images.githubusercontent.com/185285/108314142-5fe90e00-71f4-11eb-82e0-6f60f52ad193.pn... | WS does not invoke custom validator with injection | https://api.github.com/repos/nestjs/nest/issues/6440/comments | 3 | 2021-02-18T06:22:45Z | 2021-02-18T09:32:08Z | https://github.com/nestjs/nest/issues/6440 | 810,799,995 | 6,440 |
[
"nestjs",
"nest"
] | Hi All,
In my use case, I must change the connection of one of my databases depending on some conditions/parameters coming from some requests. I am able to change the connections but **I want to close the mongoose connection after each request** succeeded(it's not closing currently).
hers is my code
```
"@nes... | Create and close a Database connection dynamically with Request Scope Providers | https://api.github.com/repos/nestjs/nest/issues/6439/comments | 1 | 2021-02-18T06:22:44Z | 2021-02-18T07:25:44Z | https://github.com/nestjs/nest/issues/6439 | 810,799,982 | 6,439 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
When triggered a validation error, the resulting error message with the variable **$value** shows the variable name instead of the actual value. Other ValidationError variables still work, like $property or $contraint1
**Example**
```
"limit is too big. Maximum value is 25... | ValidationError - $value missing in error message | https://api.github.com/repos/nestjs/nest/issues/6431/comments | 2 | 2021-02-17T13:06:14Z | 2021-02-18T02:49:44Z | https://github.com/nestjs/nest/issues/6431 | 810,167,800 | 6,431 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
Global custom exception filters with `scope: Scope.REQUEST` catch only custom exceptions but built-in exceptions (e.g. NotFoundException) are handled by the built-in filter.
## Input Code
<!-- REPL or Repo link if applicable: -->
```ts
// all-exceptions.filter.ts
@Catch()
... | Global request scoped exception filters don't catch built-in exceptions | https://api.github.com/repos/nestjs/nest/issues/6429/comments | 7 | 2021-02-17T10:33:50Z | 2021-02-19T07:38:47Z | https://github.com/nestjs/nest/issues/6429 | 810,059,029 | 6,429 |
[
"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 the `CacheInterceptor` can be extended, but adding a new request method type to cache is difficult due to needing to re-wrte... | Allow CacheInterceptor to be more extendable | https://api.github.com/repos/nestjs/nest/issues/6427/comments | 1 | 2021-02-16T23:33:06Z | 2021-08-15T01:08:38Z | https://github.com/nestjs/nest/issues/6427 | 809,725,768 | 6,427 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
I'm trying to use Mongoose discriminator feature, but I'm getting this strange error even if I'm just importing the schema in the module definition. I don't know how I should approach, I'm doing the same thing described in the docs.
I'm using the repository pattern, so I inject th... | Mongoose OverwriteModelError when using discriminator | https://api.github.com/repos/nestjs/nest/issues/6425/comments | 5 | 2021-02-16T18:40:07Z | 2021-02-16T19:49:41Z | https://github.com/nestjs/nest/issues/6425 | 809,556,586 | 6,425 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
@nestjs/swagger isn't documenting all entities and interfaces. I have 3 entities and 2 interfaces in my repo, but only one schema was generated.
[Image to illustrate current behavior](https://prnt.sc/zndfb1)
Neither the request examples are being generated. I'm following Nes... | @nestjs/swagger CLI Plugin isn't annotating all entities and interfaces | https://api.github.com/repos/nestjs/nest/issues/6421/comments | 1 | 2021-02-15T21:43:10Z | 2021-02-15T23:01:34Z | https://github.com/nestjs/nest/issues/6421 | 808,835,765 | 6,421 |
[
"nestjs",
"nest"
] | ## Feature Request
## Is your feature request related to a problem? Please describe.
Cache-manager which used by a nest cache module supports multi store configuration.
That can increase performance in some cases since cached data could be read from memory without having to access cache services like redis or memc... | Feature: Support multi store in cache module. | https://api.github.com/repos/nestjs/nest/issues/6419/comments | 11 | 2021-02-15T17:53:19Z | 2024-12-12T04:03:01Z | https://github.com/nestjs/nest/issues/6419 | 808,725,915 | 6,419 |
[
"nestjs",
"nest"
] | I have ValidationPipe that throws `WsException`:
```
@Injectable()
export class ValidationPipe implements PipeTransform {
async transform(value: any, metadata: ArgumentMetadata): Promise<any> {
ValidationPipe.assertIsNotEmpty(value);
const { metatype } = metadata;
const object = p... | ValidationPipe on WebSockets calls twice and breaks connection | https://api.github.com/repos/nestjs/nest/issues/6407/comments | 4 | 2021-02-14T19:58:40Z | 2021-02-16T11:58:47Z | https://github.com/nestjs/nest/issues/6407 | 808,034,443 | 6,407 |
[
"nestjs",
"nest"
] | ## Bug Report
adding this to nest-cli.json doesn't introspect comments out to schema.gql:
```
{
"name": "@nestjs/graphql",
"options": {
"introspectComments": true,
"typeFileNameSuffix": [
".dto.ts",
... | graphql introspectComments doesn't seem to work | https://api.github.com/repos/nestjs/nest/issues/6404/comments | 12 | 2021-02-13T15:33:31Z | 2021-02-15T16:29:38Z | https://github.com/nestjs/nest/issues/6404 | 807,770,078 | 6,404 |
[
"nestjs",
"nest"
] | I've imported the mqtt client interface from
```
import { MqttClient } from '@nestjs/microservices/external/mqtt-client.interface';
```
So if I try to publish something with mqtt client, I am faced with a:
```
this.mqttClient.publish(
`radios/config-downstream/${radio.accessToken}`,
JSON.s... | Mqtt client interface | https://api.github.com/repos/nestjs/nest/issues/6403/comments | 1 | 2021-02-13T14:14:21Z | 2021-02-15T08:46:12Z | https://github.com/nestjs/nest/issues/6403 | 807,756,897 | 6,403 |
[
"nestjs",
"nest"
] | ## Issue Description
Hi there, I am developing an Purchase function for an ecommerce website. When create an order, I use transaction to do 2 things, (1) update the purchased product quantity in db, and (2) insert a new created order to db. After (1), I try to throw an exception to see what will happen. The result i... | Database states does not rollback when throwing an error in a transaction | https://api.github.com/repos/nestjs/nest/issues/6401/comments | 2 | 2021-02-13T04:05:19Z | 2021-02-15T08:13:31Z | https://github.com/nestjs/nest/issues/6401 | 807,670,137 | 6,401 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
**Main problem:**
Webpack cannot load entities from AppModule.
**Few words about my project:**
1. Repository mode:
Monorepo (client - Angular, server - NodeJS+NestJS+TypeORM_
2. Project structure:
```
root:.
│ .eslintrc.js
│ .gitignore
│ .prettierrc
│ nest-cli... | Webpack is not loading entities from NestJS | https://api.github.com/repos/nestjs/nest/issues/6397/comments | 2 | 2021-02-12T11:54:18Z | 2021-02-15T08:49:36Z | https://github.com/nestjs/nest/issues/6397 | 807,175,671 | 6,397 |
[
"nestjs",
"nest"
] | ## Bug Report
I want to inject service(which has injected Http request) in CronModule.
Cron service:
```ts
@Cron(CronExpression.EVERY_SECOND)
async testRun() {
const contextId = ContextIdFactory.create();
this.moduleRef.registerRequestByContextId({
headers: []
}, contextId);
... | TypeError: Cannot read property 'registerRequestByContextId' of undefined | https://api.github.com/repos/nestjs/nest/issues/6391/comments | 1 | 2021-02-11T22:55:34Z | 2021-02-15T08:11:57Z | https://github.com/nestjs/nest/issues/6391 | 806,808,147 | 6,391 |
[
"nestjs",
"nest"
] | When running `npm install` it will show 4 vunerabilities for lodash. After attempting to fix it as a Lodash issue, and failed, I noticed that after removing the lodash lib and performing another `npm audit` the listed vulnerabilities would still show up.
```
Rafael Morales@LP1912 MINGW64 ~/Documents/iFood/tom-bomba... | Vulnerability: Prototype Pollution for Lodash | https://api.github.com/repos/nestjs/nest/issues/6388/comments | 1 | 2021-02-11T17:47:32Z | 2021-02-11T17:54:40Z | https://github.com/nestjs/nest/issues/6388 | 806,608,854 | 6,388 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
I'm trying to add the swagger CLI plugin to an existing project (to get rid of the redundant `@ApiProperty`).
I'm using NestJs in standalone mode but use yarn workspaces to have the frontend in the same repo next to the backend.
`yarn workspace api start` (or `build` as well)... | "Cannot read property 'map' of undefined" when using Swagger CLI plugin | https://api.github.com/repos/nestjs/nest/issues/6387/comments | 5 | 2021-02-11T14:55:44Z | 2021-02-12T13:35:19Z | https://github.com/nestjs/nest/issues/6387 | 806,467,442 | 6,387 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
When running the code locally, everything works as it should be and according to the docs. I can access the process.env.DATABASE_URL.
But when deploying to Cloud Run, the process.env.DATABASE_URL is not set for Prisma.
Inside app.module.ts
```ts
import { MiddlewareConsu... | ConfigModule Prisma .env not loaded and values are undefined at Google Cloud Run | https://api.github.com/repos/nestjs/nest/issues/6376/comments | 2 | 2021-02-10T15:52:26Z | 2021-02-11T07:14:28Z | https://github.com/nestjs/nest/issues/6376 | 805,637,659 | 6,376 |
[
"nestjs",
"nest"
] | I have been using NestJS for a few weeks now and let me say that I truly love it. Especially the DI features.
But the more I use it, the more I tend to diverge from the documentation and find some (subjectively) more consistent approach to write NestJS applications. I started that sentence with "But" but it is actua... | [Discussion] What if we get rid of static modules? | https://api.github.com/repos/nestjs/nest/issues/6375/comments | 5 | 2021-02-10T10:46:16Z | 2023-03-05T18:16:31Z | https://github.com/nestjs/nest/issues/6375 | 805,397,060 | 6,375 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
<!-- Describe how the issue manifests. -->
The invocation of `NestExpressApplication` and `INestApplication` methods in chain crashes the app on bootstrap phase.

... | Nest is crashing when executing app methods in chain | https://api.github.com/repos/nestjs/nest/issues/6365/comments | 1 | 2021-02-09T18:30:24Z | 2021-02-10T08:18:48Z | https://github.com/nestjs/nest/issues/6365 | 804,804,605 | 6,365 |
[
"nestjs",
"nest"
] | ## Bug Report
```
{
"level":50,
"time":time,
"pid":pid,
"hostname":"hostname,
"reqId":1,
"err":{
"type":"FastifyError",
"message":"Promise may not be fulfilled with 'undefined' when statusCode is not 204",
"stack":"FastifyError: Promise may not be fulfilled with 'undefined... | Fastify MVC errors FST_ERR_PROMISE_NOT_FULFILLED | https://api.github.com/repos/nestjs/nest/issues/6363/comments | 5 | 2021-02-09T13:04:07Z | 2021-02-10T08:27:46Z | https://github.com/nestjs/nest/issues/6363 | 804,532,633 | 6,363 |
[
"nestjs",
"nest"
] | Hi.
https://docs.github.com/en/github/supporting-the-open-source-community-with-github-sponsors/setting-up-github-sponsors-for-your-organization
https://github.com/nestjs
It would be nice to add sponsors to the nestjs GitHub organization page above.
E.g https://github.com/django
, we build target-specific strategies to get the ... | In-browser Nest | https://api.github.com/repos/nestjs/nest/issues/6360/comments | 1 | 2021-02-09T09:38:37Z | 2021-02-09T10:07:16Z | https://github.com/nestjs/nest/issues/6360 | 804,378,128 | 6,360 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
When using `@grpc/grpc-js` on the server and constructing metadata with `@grpc/grpc-js` on client. added meta data is omitted from ExecutionContext
When using `@grpc/grpc-js` on the server and constructing metadata with `grpc` on client. added meta data is correctly included Ex... | @grpc/grpc-js causes metadata to be omitted from ExecutionContext | https://api.github.com/repos/nestjs/nest/issues/6350/comments | 6 | 2021-02-08T16:17:47Z | 2022-03-31T20:15:15Z | https://github.com/nestjs/nest/issues/6350 | 803,710,681 | 6,350 |
[
"nestjs",
"nest"
] | related https://github.com/nestjs/nest/issues/255
I will have 2 prefix
`/admin/users`
`/api/users`
How should i handle the folder and module structure?
Is this the best way for now?
```
async function bootstrap() {
const server = express();
const config = require('../../etc/config.js');
... | Any better way to handle prefix? | https://api.github.com/repos/nestjs/nest/issues/6347/comments | 1 | 2021-02-08T01:33:54Z | 2021-02-08T06:23:44Z | https://github.com/nestjs/nest/issues/6347 | 803,119,200 | 6,347 |
[
"nestjs",
"nest"
] | node v14.6.0
```
"dependencies": {
"@nestjs/common": "^7.0.0",
"@nestjs/core": "^7.0.0",
```
returns undefined if the request body is not empty (post, patch ...)
when using async localStorage. run ()
but when using async localStorage.enter With() everything works fine
```
const asyncLocalStora... | asyncLocalStorage returns undefined if the request body is not empty (post, patch ...) | https://api.github.com/repos/nestjs/nest/issues/6345/comments | 4 | 2021-02-07T13:56:38Z | 2021-02-08T08:08:56Z | https://github.com/nestjs/nest/issues/6345 | 802,958,395 | 6,345 |
[
"nestjs",
"nest"
] | Nest doesn't recompile when importing path defined in tsconfig "paths".
I'm trying to have a "server" dir with nest.js backend and "shared" dir on the same level as "server" to keep shared with frontend code.
Full tsconfig for nest:
```json
{
"compilerOptions": {
"module": "commonjs",
"declaration": ... | Nest doesn't recompile when importing path defined in tsconfig "paths" | https://api.github.com/repos/nestjs/nest/issues/6343/comments | 5 | 2021-02-06T19:14:57Z | 2024-09-15T02:09:32Z | https://github.com/nestjs/nest/issues/6343 | 802,769,601 | 6,343 |
[
"nestjs",
"nest"
] | ## Feature Suggestion
Hi,
I opened this issue after a lot of time that my team and I encountered a problem (or rather process) that is systematically recurring.
Most of our microservices are developed in Nest, it gives us a complete solution and works great for us in a production environment. When it comes to... | Suggestion: add mocking/fixtures library to @nestjs/testing | https://api.github.com/repos/nestjs/nest/issues/6342/comments | 3 | 2021-02-06T16:56:42Z | 2021-02-09T07:42:49Z | https://github.com/nestjs/nest/issues/6342 | 802,741,991 | 6,342 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
<!-- Describe how the issue manifests. -->
Incorrect typings at HttpServer.getRequestUrl at @nestjs/common
## Input Code
<!-- REPL or Repo link if applicable: -->
```ts
getRequestUrl?(request: TResponse): string;
```
## Expected behavior
<!-- A clear and concise descr... | Incorrect typings at HttpServer.getRequestUrl at @nestjs/common | https://api.github.com/repos/nestjs/nest/issues/6338/comments | 2 | 2021-02-05T23:00:53Z | 2021-02-06T15:38:54Z | https://github.com/nestjs/nest/issues/6338 | 802,529,739 | 6,338 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
if we POST a json with x-www-form-urlencoded Header, the @Body in the rest api is wrong
if we do this
curl -d '%7B%22abc%22%3A%20123%20%7D' -H 'Content-Type: application/x-www-form-urlencoded' -X POST http://localhost:3000/api/sensors/x -v
at the end we have this kind of wro... | wrong json for application/x-www-form-urlencoded | https://api.github.com/repos/nestjs/nest/issues/6335/comments | 2 | 2021-02-05T15:28:17Z | 2021-02-06T15:39:21Z | https://github.com/nestjs/nest/issues/6335 | 802,256,424 | 6,335 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
error for unresolved dependencies with forward ref is incorrect
```
Nest can't resolve dependencies of the BookingService (?, [object Object]). Please make sure that the argument dependency at index [0] is available in the BookingModule context.
```
## Input Code
```ts
... | Incorrect error message for unresolved dependencies with forward ref | https://api.github.com/repos/nestjs/nest/issues/6331/comments | 5 | 2021-02-05T13:03:55Z | 2021-02-08T09:35:15Z | https://github.com/nestjs/nest/issues/6331 | 802,147,836 | 6,331 |
[
"nestjs",
"nest"
] | Hello,
I am a user of Nest JS and I found a security issue from one of your dependency on socket.io 2.4 version. It is DOS attack affected
## Bug Report
You should improve the dependency of this package to avoid this risk.
| Security report on Socket IO | https://api.github.com/repos/nestjs/nest/issues/6330/comments | 2 | 2021-02-05T12:28:00Z | 2021-02-05T12:38:17Z | https://github.com/nestjs/nest/issues/6330 | 802,125,623 | 6,330 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
<!-- When I try to inject something that does not exit, the app does not return an error so It does not allow me to figure out what is the problem. -->
## Input Code
```
@Inject('NotProvidedToken')
```
## Expected behavior
Error Message: You are trying to inject 'NotPro... | @Inject | https://api.github.com/repos/nestjs/nest/issues/6328/comments | 1 | 2021-02-05T05:38:49Z | 2021-02-05T05:41:50Z | https://github.com/nestjs/nest/issues/6328 | 801,863,387 | 6,328 |
[
"nestjs",
"nest"
] | I am building api server using graphql in nestjs(code first).
also, I use prisma2.
when I used typeorm, I could integrate db schema and graphql schema using decorator
but, I can't integrate prisma2, graphql in nestjs(code first)
as single source of truth, I want to integrate
do you give me solution? | how to integrate graphql schema (code first) and prisma schema in nest.js | https://api.github.com/repos/nestjs/nest/issues/6326/comments | 1 | 2021-02-05T04:31:07Z | 2021-02-05T07:53:20Z | https://github.com/nestjs/nest/issues/6326 | 801,833,847 | 6,326 |
[
"nestjs",
"nest"
] | ## Bug Report
Steps to reproduce:
1. Create a new nest project with `npx @nestjs/cli new`
2. Start the project with `npm run start:dev`
## Current behavior
Node uses about 4% of the CPU when running `npm run start:dev`. This amounts to 30-40% of the CPU when running the same project in a container on Docker ... | npm run start:dev apparently uses polling file watcher which leads to very high CPU usage on Docker for Mac | https://api.github.com/repos/nestjs/nest/issues/6325/comments | 2 | 2021-02-04T23:18:42Z | 2022-05-24T06:31:48Z | https://github.com/nestjs/nest/issues/6325 | 801,708,486 | 6,325 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behaviour
Validation behaviour is different when `ValidationPipe` is applied via `useGlobalPipes` or passed directly to a decorator, e.g. `@Body(ValidationPipe)`.
Specifically, when using:
```
class DTO {
@IsNumber()
age!: number;
}
```
this validation does not seem to run... | Validation not applied by global ValidationPipe | https://api.github.com/repos/nestjs/nest/issues/6322/comments | 2 | 2021-02-04T21:07:35Z | 2023-09-30T06:08:56Z | https://github.com/nestjs/nest/issues/6322 | 801,635,746 | 6,322 |
[
"nestjs",
"nest"
] | ## Feature Request
Attempted to use discord for support but wouldnt log me in. Requesting new features to be added to documentation. Recently reached out here: https://github.com/nestjs/nest/issues/6317 and was left disappointed with the response.
I was told there are "several ways of doing" the things I'm trying... | Issue https://github.com/nestjs/nest/issues/6317 | https://api.github.com/repos/nestjs/nest/issues/6319/comments | 1 | 2021-02-04T13:06:07Z | 2021-02-04T16:25:23Z | https://github.com/nestjs/nest/issues/6319 | 801,266,342 | 6,319 |
[
"nestjs",
"nest"
] | Your `PlayerRepository` depends on the `Connection` object which is unavailable in your testing module. Instead of using `TypeOrmModule.forFeature([Player])`, you should mock your repository manually. https://docs.nestjs.com/techniques/database#testing
_Originally posted by @kamilmysliwiec in https://github.com/nes... | Your `PlayerRepository` depends on the `Connection` object which is unavailable in your testing module. Instead of using `TypeOrmModule.forFeature([Player])`, you should mock your repository manually. https://docs.nestjs.com/techniques/database#testing | https://api.github.com/repos/nestjs/nest/issues/6317/comments | 1 | 2021-02-04T11:52:18Z | 2021-02-04T12:11:23Z | https://github.com/nestjs/nest/issues/6317 | 801,212,816 | 6,317 |
[
"nestjs",
"nest"
] | SInce the code where I am experiencing this is a source private code I cannot share it and the reproduction would take a while I would like just to ask - has anyone experienced such a thing?
I have `const appAndFixture = await Test.createTestingModule({
imports: [SomeModule]
})
.compile()
... | Compile() on TestingModule is being skipped | https://api.github.com/repos/nestjs/nest/issues/6310/comments | 2 | 2021-02-03T21:13:01Z | 2021-02-04T07:59:49Z | https://github.com/nestjs/nest/issues/6310 | 800,704,844 | 6,310 |
[
"nestjs",
"nest"
] | Hi folks!
To get free SSL certificates, I would like to use [greenlock-express](https://www.npmjs.com/package/greenlock-express) with NestJS. I thought, this must be easy, as NestJS uses Express in the background.
But no luck for me. I tried something like the following with the boilerplate NestJS app, but no succe... | Use of greenlock-express with NestJS? | https://api.github.com/repos/nestjs/nest/issues/6309/comments | 6 | 2021-02-03T17:39:26Z | 2021-03-15T07:51:18Z | https://github.com/nestjs/nest/issues/6309 | 800,551,830 | 6,309 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
First route handler has route 'relations/:uuid' and the second route handler has a route 'profile'. When trying to request /profile I get an error saying:
{
"statusCode": 400,
"message": "Validation failed (uuid v4 is expected)",
"error": "Bad Request"
}
It seem... | Route decorator affecting next route handlers | https://api.github.com/repos/nestjs/nest/issues/6307/comments | 3 | 2021-02-03T15:12:52Z | 2021-02-04T07:23:47Z | https://github.com/nestjs/nest/issues/6307 | 800,423,043 | 6,307 |
[
"nestjs",
"nest"
] | ## Bug Report
Graphql schema first generation does not allow null returns in generated interfaces.
Output
## Current behavior
Generated interfaces do not contain null as a possible return value even when it is allowed by the schema.
## Input Code
E.g. schema:
```graphql
type Author {
id: Int!
}
type ... | Graphql schema first generation does not allow null returns in generated interfaces | https://api.github.com/repos/nestjs/nest/issues/6300/comments | 1 | 2021-02-02T21:42:17Z | 2021-02-02T21:49:36Z | https://github.com/nestjs/nest/issues/6300 | 799,716,828 | 6,300 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
All microservice clients implement `ClientProxy` interface which has `close()` method. This method is called inside `MicroservicesModule.close()` but I have not found any place where it's called, which means when application shuts down microservices clients are never closed. But so... | Client proxy close method is never called | https://api.github.com/repos/nestjs/nest/issues/6296/comments | 1 | 2021-02-02T17:22:46Z | 2021-02-03T09:23:00Z | https://github.com/nestjs/nest/issues/6296 | 799,494,344 | 6,296 |
[
"nestjs",
"nest"
] | ## Bug Report
NestJS with TypeOrm (Mysql) save unaccurate date in the database.
## Current behavior
<!-- Describe how the issue manifests. -->
Whilte testing a repository with typeorm, I noticed that date objects saved to the db are different from their source entities date values.
## Input Code
<!-- REPL or Re... | NestJS with TypeOrm (Mysql) save unaccurate date in the database | https://api.github.com/repos/nestjs/nest/issues/6294/comments | 1 | 2021-02-02T09:40:12Z | 2021-02-02T09:48:06Z | https://github.com/nestjs/nest/issues/6294 | 799,109,722 | 6,294 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
I'm using mqtt microservice transport layer, and my broker receives messages with payload object containing both data and info fields. Unfortunately payload field is injected only with data field.
The original data
```
const payload = context.getPacket().payload.toString()
... | Mqtt message payload with data and info fields is trimmed | https://api.github.com/repos/nestjs/nest/issues/6292/comments | 1 | 2021-02-02T07:32:24Z | 2021-02-02T08:05:28Z | https://github.com/nestjs/nest/issues/6292 | 799,018,107 | 6,292 |
[
"nestjs",
"nest"
] | ## Feature Request
I think it would be very interesting if the websocket message subscription could be used in a similar fashion to what was done in [this library](https://www.npmjs.com/package/express-ws) and let us handle websocket messages in controllers. That said, please consider I'm new to websockets, and that m... | Ability to use websocket SubscribeMessage in controllers | https://api.github.com/repos/nestjs/nest/issues/6283/comments | 1 | 2021-02-01T01:34:26Z | 2021-02-01T08:50:37Z | https://github.com/nestjs/nest/issues/6283 | 797,877,784 | 6,283 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
using the @All() and the @Header() decorators on a controller in an app that uses the FastifyAdapter throws:
```
TypeError: response.header is not a function
```
## Input Code
<!-- REPL or Repo link if applicable: -->
```ts
@All()
@Header('test', 'test')
getHello()... | @ALL() decorator issue with fastify | https://api.github.com/repos/nestjs/nest/issues/6281/comments | 2 | 2021-01-31T00:20:26Z | 2021-02-01T08:54:21Z | https://github.com/nestjs/nest/issues/6281 | 797,585,091 | 6,281 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
Following the `Axios` with the `HttpModule` tutorial on Next docs for a specific feature module, the dependencies are unable to be resolved.
```
Error: Nest can't resolve dependencies of the YoutubeService (?). Please make sure that the argument HttpService at index [0] is avai... | Unable to resolve the HttpModule dependency | https://api.github.com/repos/nestjs/nest/issues/6280/comments | 3 | 2021-01-30T13:35:21Z | 2021-01-31T04:17:50Z | https://github.com/nestjs/nest/issues/6280 | 797,419,274 | 6,280 |
[
"nestjs",
"nest"
] | TypeError: Cannot read property 'hash' of undefined
at model.<anonymous> (C:\Users\chris\Documents\GitHub\vms-api\dist\shared\shared.module.js:33:73)
at callMiddlewareFunction (C:\Users\chris\Documents\GitHub\vms-api\node_modules\kareem\index.js:483:23)
at model.next (C:\Users\chris\Documents\GitHub\vms-... | Bcrypt not working? | https://api.github.com/repos/nestjs/nest/issues/6279/comments | 2 | 2021-01-30T09:26:24Z | 2021-01-31T06:00:50Z | https://github.com/nestjs/nest/issues/6279 | 797,375,242 | 6,279 |
[
"nestjs",
"nest"
] | I have defined a DTO to validate and convert incoming query params.
```ts
export class ScrollingDto {
@ApiPropertyOptional({
description: 'Number of items to skip',
default: 0,
nullable: true
})
@IsOptional()
@Type(() => Number)
@IsInt()
skip?: number;
@... | Validating and Converting Query params. | https://api.github.com/repos/nestjs/nest/issues/6272/comments | 1 | 2021-01-29T13:46:55Z | 2021-01-29T14:07:26Z | https://github.com/nestjs/nest/issues/6272 | 796,894,956 | 6,272 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
`nest start --watch` ends up on a loop while checking for changed files. This started happening when I installed the `nexus-plugin-prisma` (on the `configurations/prisma` branch, everything worked, but now it doesn't). Yes, I know that it might seem the problem is with the plugin... | Boot loop because of inexistent changes | https://api.github.com/repos/nestjs/nest/issues/6271/comments | 2 | 2021-01-29T10:48:06Z | 2021-01-29T18:13:18Z | https://github.com/nestjs/nest/issues/6271 | 796,778,576 | 6,271 |
[
"nestjs",
"nest"
] | Hey guys!
I've created a server that talks to the 2 different microservices over RabbitMQ transport. I am getting `There is no matching message handler defined in the remote service.` error on every other call (50% of the time). It seems like the microservice client (in my http server) is trying to loadbalance calls... | [BUG] Microservices with RabbitMQ transport incorrectly routes messages | https://api.github.com/repos/nestjs/nest/issues/6267/comments | 1 | 2021-01-28T20:46:21Z | 2021-02-01T08:51:58Z | https://github.com/nestjs/nest/issues/6267 | 796,355,100 | 6,267 |
[
"nestjs",
"nest"
] | ## Feature Request
## Is your feature request related to a problem? Please describe.
I'm currently using Nestjs with firebase functions. As I need to load several modules due to coldstart, the startup time is very high, some cases almost 3 seconds
## Describe the solution you'd like
it would be interesting to h... | Improve support for serverless (lazy loading) | https://api.github.com/repos/nestjs/nest/issues/6265/comments | 6 | 2021-01-28T17:25:58Z | 2021-02-11T12:52:04Z | https://github.com/nestjs/nest/issues/6265 | 796,205,052 | 6,265 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
when I try to validate post body with an array of elements it shows only validation errors for the first element only

 | https://api.github.com/repos/nestjs/nest/issues/6260/comments | 11 | 2021-01-27T22:39:46Z | 2021-02-01T07:57:09Z | https://github.com/nestjs/nest/issues/6260 | 795,500,456 | 6,260 |
[
"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. ... | [Feature Request]: Nested Exceptions | https://api.github.com/repos/nestjs/nest/issues/6259/comments | 5 | 2021-01-27T15:51:00Z | 2021-01-29T08:55:51Z | https://github.com/nestjs/nest/issues/6259 | 795,221,136 | 6,259 |
[
"nestjs",
"nest"
] | I am working on a nestjs project with graphql and mikro-orm. Everything had been working fine on my main repository until today. All of a sudden, I have been seeing "metatype is not a constructor" when I do a yarn start:debug.
Attaching my package.json.
Please help.
package.json
> {
> "name": "priojet-backen... | Metatype is not a constructor | https://api.github.com/repos/nestjs/nest/issues/6258/comments | 1 | 2021-01-27T15:30:57Z | 2021-02-01T08:54:36Z | https://github.com/nestjs/nest/issues/6258 | 795,203,514 | 6,258 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
<!-- Describe how the issue manifests. -->
I got type error.
> error TS2322: Type '{ excludeExtraneousValues: true; exposeDefaultValues: true; }' is not assignable to type 'ClassTransformOptions'.
## Input Code
<!-- REPL or Repo link if applicable: -->
### pagination.dto.t... | with class-transformer v0.3.2 | https://api.github.com/repos/nestjs/nest/issues/6256/comments | 2 | 2021-01-27T10:53:39Z | 2021-01-29T08:07:58Z | https://github.com/nestjs/nest/issues/6256 | 794,992,763 | 6,256 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.