issue_owner_repo listlengths 2 2 | issue_body stringlengths 0 262k ⌀ | issue_title stringlengths 1 1.02k | issue_comments_url stringlengths 53 116 | issue_comments_count int64 0 2.49k | issue_created_at stringdate 1999-03-17 02:06:42 2025-06-23 11:41:49 | issue_updated_at stringdate 2000-02-10 06:43:57 2025-06-23 11:43:00 | issue_html_url stringlengths 34 97 | issue_github_id int64 132 3.17B | issue_number int64 1 215k |
|---|---|---|---|---|---|---|---|---|---|
[
"nestjs",
"nest"
] | ## Bug Report
After adding dependency _@types\multer_ v1.4.5, I can't build project, an error ocurrs.
## Current behavior
```
$ nest build
node_modules/@types/multer/node_modules/@types/express/index.d.ts:58:29 - error TS2694: Namespace 'serveStatic' has no exported member 'RequestHandlerConstructor'.
... | Build Error TS2694 | https://api.github.com/repos/nestjs/nest/issues/6904/comments | 2 | 2021-04-15T15:13:04Z | 2021-04-19T06:51:56Z | https://github.com/nestjs/nest/issues/6904 | 858,983,260 | 6,904 |
[
"nestjs",
"nest"
] | how to inject dependency from app to libs?
apps/app1
--App1Foo.ts // implements IFOO
apps/app2
--App2Foo.ts // implements IFOO
libs/commons
--IFoo.ts
--Bar.ts
```javascript
---
async function bootstrap() {
const app = await NestFactory.createApplicationContext(
App1Module,
);
const... | Monorepo Dependency Injection | https://api.github.com/repos/nestjs/nest/issues/6899/comments | 1 | 2021-04-15T03:39:22Z | 2021-04-15T06:23:54Z | https://github.com/nestjs/nest/issues/6899 | 858,451,170 | 6,899 |
[
"nestjs",
"nest"
] | ## Feature Request
Platform Fastify `FileInterceptor`, `FilesInterceptor`, `AnyFilesInterceptor` and `FileFieldsInterceptor`
## Is your feature request related to a problem? Please describe.
There is a [fastify-multer pull request](https://github.com/nestjs/nest/pull/4921#issuecomment-689814762) and @emagnier aske... | [Feature] fastify-multipart interceptors | https://api.github.com/repos/nestjs/nest/issues/6894/comments | 1 | 2021-04-14T18:35:06Z | 2021-05-12T18:14:26Z | https://github.com/nestjs/nest/issues/6894 | 858,163,374 | 6,894 |
[
"nestjs",
"nest"
] | ## Feature Request
## Is your feature request related to a problem? Please describe.
In my app which is deploying to Google cloud run, I extended Logger class as below, mostly using the base logger, but logs in google cloud doesn't look like pretty (below picture)
 returns (stream TimeStreamResponse);
}
message Empty {
}
message TimeStreamResponse {
string result = 1;
}
```
c... | How to build server streaming via grpc and nest.js? | https://api.github.com/repos/nestjs/nest/issues/6877/comments | 2 | 2021-04-12T12:51:29Z | 2021-04-13T12:34:51Z | https://github.com/nestjs/nest/issues/6877 | 855,943,824 | 6,877 |
[
"nestjs",
"nest"
] | <!--
PLEASE HELP US PROCESS GITHUB ISSUES FASTER BY PROVIDING THE FOLLOWING INFORMATION.
ISSUES MISSING IMPORTANT INFORMATION MAY BE CLOSED WITHOUT INVESTIGATION.
-->
## I'm submitting a...
<!--
Please search GitHub for a similar issue or PR before submitting.
Check one of the following options with "x" -->... | Invalid OpenAPI JSON for @Query DTO | https://api.github.com/repos/nestjs/nest/issues/6876/comments | 1 | 2021-04-12T08:28:04Z | 2021-04-12T08:30:42Z | https://github.com/nestjs/nest/issues/6876 | 855,704,790 | 6,876 |
[
"nestjs",
"nest"
] | ## Feature Request
## Is your feature request related to a problem? Please describe.
Bootstrap new project.
## Current solution
```
$ npm i -g @nestjs/cli
$ nest new project-name
```
## Proposed solution
```
npm init @nestjs
```
## Teachability, Documentation, Adoption, Migration Strategy
Change ht... | Add @nestjs/create | https://api.github.com/repos/nestjs/nest/issues/6873/comments | 1 | 2021-04-11T05:44:30Z | 2021-04-12T06:43:01Z | https://github.com/nestjs/nest/issues/6873 | 855,225,995 | 6,873 |
[
"nestjs",
"nest"
] | It seems a little problematic that core parts of the NestJS public API are just left undocumented.
For example, I was able to learn about the DiscoveryModule and the DiscoveryService by reading [some random blog post](https://itnext.io/advanced-nestjs-techniques-part-1-custom-decorators-aa6d7f85c5b6). These seem lik... | Documentation of Core Features | https://api.github.com/repos/nestjs/nest/issues/6872/comments | 2 | 2021-04-10T19:27:47Z | 2021-04-10T22:15:54Z | https://github.com/nestjs/nest/issues/6872 | 855,139,362 | 6,872 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
<!-- Describe how the issue manifests. -->
I have set up my app to automatically cache responses [as described in the Docs](https://docs.nestjs.com/techniques/caching#auto-caching-responses). However, a specific route should not be cached. I tried to achieve this with the decorato... | Disabling caching on a specific route has no effect | https://api.github.com/repos/nestjs/nest/issues/6870/comments | 6 | 2021-04-10T17:21:48Z | 2021-04-10T18:04:01Z | https://github.com/nestjs/nest/issues/6870 | 855,115,847 | 6,870 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
Global interceptors are not called for GRPC methods (probably the same for all RPC methods).
## Input Code
I added the `logging.interceptor.ts` example from https://docs.nestjs.com/interceptors#aspect-interception to `sample/04-grpc` of this repo.
```ts
const app = await N... | Global Interceptors not executed in RPC / GRPC context | https://api.github.com/repos/nestjs/nest/issues/6869/comments | 2 | 2021-04-10T09:09:10Z | 2021-04-11T07:28:04Z | https://github.com/nestjs/nest/issues/6869 | 855,021,905 | 6,869 |
[
"nestjs",
"nest"
] | Alongside the path of the Swagger UI it would be useful to have another endpoint exposing the [raw api](https://raw.githubusercontent.com/openapitools/openapi-generator/master/modules/openapi-generator/src/test/resources/2_0/petstore.yaml) (json or yaml), so the client gereration by another team would be as easy as run... | Swagger raw api endpoint | https://api.github.com/repos/nestjs/nest/issues/6865/comments | 2 | 2021-04-09T15:39:52Z | 2021-04-09T16:29:43Z | https://github.com/nestjs/nest/issues/6865 | 854,636,968 | 6,865 |
[
"nestjs",
"nest"
] | ## Feature Request
Hi guys, In this case, I will make auth for call server to server to read or write data (maybe use Secret Key or stuff like that, similar method), in other hand, the endpoint also will be used to client app (mobile app), and I will cover it with otp. Is it possible if I put on both of them to each... | Multiple Guard which is any more than 1 auth methods, Is it support? | https://api.github.com/repos/nestjs/nest/issues/6864/comments | 1 | 2021-04-09T12:53:59Z | 2021-04-09T15:55:09Z | https://github.com/nestjs/nest/issues/6864 | 854,497,771 | 6,864 |
[
"nestjs",
"nest"
] | When does the nestjs 8.0 release? | https://api.github.com/repos/nestjs/nest/issues/6860/comments | 1 | 2021-04-09T01:49:02Z | 2021-05-12T18:53:13Z | https://github.com/nestjs/nest/issues/6860 | 854,074,327 | 6,860 | |
[
"nestjs",
"nest"
] | ## gRPC Server side streaming using call stream handler
## Description
So far(from the Documentation) Nest supports:
1. Unary gRPC calls using `@GrpcMethod`
2. Client side streaming: `@GrpcStreamMethod() or @GrpcStreamCall()`
3. Bidirectional streaming using:
- Subject Strategy: `@GrpcStreamMethod()`
- ... | gRPC Server side streaming using call stream handler | https://api.github.com/repos/nestjs/nest/issues/6853/comments | 1 | 2021-04-07T14:23:03Z | 2021-04-08T07:09:32Z | https://github.com/nestjs/nest/issues/6853 | 852,464,950 | 6,853 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
It can run normally on Mac OS X, but on Linux system, it prompts that the port is occupied.
Although, this problem can be solved by assigning different ports.
However, we stipulate that only this port can be used.
I want to know how can I solve this problem and be able t... | Hybrid application cannot share the same TCP PORT | https://api.github.com/repos/nestjs/nest/issues/6851/comments | 2 | 2021-04-07T06:52:16Z | 2021-04-07T09:10:16Z | https://github.com/nestjs/nest/issues/6851 | 852,074,136 | 6,851 |
[
"nestjs",
"nest"
] | I am working with a Nestjs app that has a module, let's call it ThisModule which has a controller called ControllerForThisModule and a service called ServiceForThisModule where I am injecting a MongoDB model called ModelForThisModule. ThisModule also imports another module called OtherModule where I am injecting a mode... | Injecting multi-level dependancies in test (.spec) files | https://api.github.com/repos/nestjs/nest/issues/6848/comments | 3 | 2021-04-06T23:15:53Z | 2021-04-07T07:08:33Z | https://github.com/nestjs/nest/issues/6848 | 851,874,684 | 6,848 |
[
"nestjs",
"nest"
] | ## Bug Report
Gateway AfterInit never gets called.
## Current behavior
<!-- Describe how the issue manifests. -->
## Input Code
<!-- REPL or Repo link if applicable: -->
App Gateway
```ts
import { OnGatewayConnection, WebSocketGateway, WebSocketServer, OnGatewayInit} from "@nestjs/websockets";
import {... | NestJS Gateway (OnGatewayInit) not getting called | https://api.github.com/repos/nestjs/nest/issues/6840/comments | 3 | 2021-04-05T23:19:37Z | 2021-04-06T06:42:33Z | https://github.com/nestjs/nest/issues/6840 | 850,802,951 | 6,840 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
Jest not exiting
```bash
Jest has detected the following 1 open handle potentially keeping Jest from exiting:
● RANDOMBYTESREQUEST
3 | import { UserAuth } from 'src/auth/dto/user.jwt';
4 |
> 5 | export const CurrentUser = createParamDecorator(
... | Jest RANDOMBYTESREQUEST | https://api.github.com/repos/nestjs/nest/issues/6838/comments | 3 | 2021-04-05T19:43:07Z | 2021-04-06T01:45:03Z | https://github.com/nestjs/nest/issues/6838 | 850,612,428 | 6,838 |
[
"nestjs",
"nest"
] | ## Feature Request
## Problem
<!-- A clear and concise description of what the problem is. Ex. I have an issue when [...] -->
Trying to gracefully shutdown server.
Need to enable
```ts
app.enableShutdownHooks()
```
while it looks like i enable webhooks for callbacks.
## Solution
separate graceful sh... | graceful shutdown | https://api.github.com/repos/nestjs/nest/issues/6837/comments | 0 | 2021-04-05T18:19:57Z | 2021-04-05T18:35:11Z | https://github.com/nestjs/nest/issues/6837 | 850,559,384 | 6,837 |
[
"nestjs",
"nest"
] | ## Feature Request
Maintain a change log for NestJS releases
## Is your feature request related to a problem? Please describe.
Currently, it is difficult to check what are the changes for each NestJS release.
## Describe the solution you'd like
A simple markdown file that details the changes for each NestJS re... | Change Log for NestJS Releases | https://api.github.com/repos/nestjs/nest/issues/6836/comments | 2 | 2021-04-05T07:21:41Z | 2021-04-05T14:37:04Z | https://github.com/nestjs/nest/issues/6836 | 850,150,098 | 6,836 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
`Collection.populate()` does not work for an array of UUIDs in a collection that uses UUID as its identifier. Using `.populate()` on such a collection fails silently and no further operations are performed.
## Input Code
Extending the example given in the docs, using `String` i... | Populate() not working on collection using UUID as _id | https://api.github.com/repos/nestjs/nest/issues/6833/comments | 2 | 2021-04-02T15:26:25Z | 2021-04-02T19:44:47Z | https://github.com/nestjs/nest/issues/6833 | 849,281,641 | 6,833 |
[
"nestjs",
"nest"
] | ## Bug Report
database connection is not closed after Execute e2e test.Try count database connction wtih `ps aux | grep mydb | grep -v grep | wc -l`, already more than 90 connections when execute many time. If database connection more than postgres max connection, I got this error `FATAL: sorry, too many clients alrea... | onModuleDestroy have not been called | https://api.github.com/repos/nestjs/nest/issues/6824/comments | 1 | 2021-04-01T07:25:10Z | 2021-04-06T06:47:44Z | https://github.com/nestjs/nest/issues/6824 | 848,120,054 | 6,824 |
[
"nestjs",
"nest"
] | ## Feature Request
Per the code of conduct...
> In the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, sex cha... | Move to racially neutral code terms | https://api.github.com/repos/nestjs/nest/issues/6808/comments | 1 | 2021-03-30T20:43:30Z | 2021-03-31T06:35:16Z | https://github.com/nestjs/nest/issues/6808 | 845,232,634 | 6,808 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
<!-- Describe how the issue manifests. -->
[Mini Repo: nestjs-bugs](https://github.com/DevAngsy/nestjs-bugs)
As shown in the pictures below, default "ttl" option is 30 seconds.
- If use redis store and do not use "CacheTTL" decorator, first send a GET request to "http://127... | BUG: the "ttl" option of CacheModule doesn't work when use with redis | https://api.github.com/repos/nestjs/nest/issues/6804/comments | 4 | 2021-03-30T14:13:44Z | 2021-04-03T09:41:43Z | https://github.com/nestjs/nest/issues/6804 | 844,621,155 | 6,804 |
[
"nestjs",
"nest"
] | ## Bug Report
The logger definition in the `KafkaClient` module, `client-kafka.js`, clobbers the KafkaJS `logCreator` option:
https://github.com/nestjs/nest/blob/85e50eb8e72b0e01fe3d847c5b780f5b5d880401/packages/microservices/client/client-kafka.ts#L149
if a `logCreator` method is defined on `this.options.client... | The @nestjs/microservices KafkaClient module clobbers the KafkaJS `logCreator` option. | https://api.github.com/repos/nestjs/nest/issues/6797/comments | 3 | 2021-03-30T03:46:31Z | 2021-03-31T06:50:13Z | https://github.com/nestjs/nest/issues/6797 | 844,038,359 | 6,797 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
When using `ValidationPipe` with `enableImplicitConversion`, implicit conversion doesn't happen for DTOs using Mapped Types from `@nestjs/swagger` or `@nestjs/mapped-types` (e.g. `PickType`).
## Input Code
**Minimal reproduction**: https://github.com/liadmat/nestjs-repo
1. R... | ValidationPipe's enableImplicitConversion fails with Mapped Types | https://api.github.com/repos/nestjs/nest/issues/6794/comments | 3 | 2021-03-29T20:36:01Z | 2021-04-01T00:30:34Z | https://github.com/nestjs/nest/issues/6794 | 843,785,153 | 6,794 |
[
"nestjs",
"nest"
] | 
@kamilmysliwiec you said that there are some bindings. so how do you guaranty the future of nestjs? because we are already loving nest, and it is the best thing that ever happened to us <3
and w... | [Discussion] What's the future of NestJS ? | https://api.github.com/repos/nestjs/nest/issues/6784/comments | 1 | 2021-03-28T23:46:47Z | 2021-03-29T06:36:40Z | https://github.com/nestjs/nest/issues/6784 | 842,861,148 | 6,784 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
class-validator decorators are not taken into account if you import a DTO from a module.
`import { SimpleDto as SimpleDtoFileImport } from './simple.dto'` ==> Works
`import { SimpleDto as SimpleDtoModuleImport } from '@controller'` ==> Class-validator decorators bypassed.
##... | DTO class-validator interceptor bypassed | https://api.github.com/repos/nestjs/nest/issues/6783/comments | 3 | 2021-03-28T18:13:15Z | 2021-03-29T14:31:13Z | https://github.com/nestjs/nest/issues/6783 | 842,796,015 | 6,783 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
<!-- Describe how the issue manifests. -->
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.
Here is ... | How to create and close a Database connection dynamically with Request Scope Providers? | https://api.github.com/repos/nestjs/nest/issues/6782/comments | 2 | 2021-03-28T16:51:24Z | 2021-03-29T06:48:34Z | https://github.com/nestjs/nest/issues/6782 | 842,778,743 | 6,782 |
[
"nestjs",
"nest"
] | Hello! I use JwtStrategy for check JWT token. And if access token expired but refresh token not expired I update access token.
How I can pass new token to Controller or set header response from JwtStrategy ? | How to save Header from jwt.strategy? | https://api.github.com/repos/nestjs/nest/issues/6780/comments | 2 | 2021-03-27T23:57:13Z | 2021-03-28T06:17:41Z | https://github.com/nestjs/nest/issues/6780 | 842,626,403 | 6,780 |
[
"nestjs",
"nest"
] | ## Feature Request
## Is your feature request related to a problem? Please describe.
I was looking for an proper way to intercept the websocket upgrade request, to verify an user, **before** a websocket conection can be established. I use the websocket via *ws* and not *socket.io*. One suggestion was to handle that... | Add verifyClient to the WebSocketGateway decorator, when using websocket via ws | https://api.github.com/repos/nestjs/nest/issues/6778/comments | 2 | 2021-03-27T14:33:38Z | 2024-12-30T11:37:42Z | https://github.com/nestjs/nest/issues/6778 | 842,516,650 | 6,778 |
[
"nestjs",
"nest"
] | ## Bug Report
Hot Module Reload is not working with webpack 5.11.0
## Current behavior
<!-- Describe how the issue manifests. -->
The application doesn't reload on saving a file
## Expected behavior
<!-- A clear and concise description of what you expected to happen (or code). -->
Application should reload... | HMR not working | https://api.github.com/repos/nestjs/nest/issues/6777/comments | 7 | 2021-03-27T08:34:44Z | 2021-03-29T06:51:34Z | https://github.com/nestjs/nest/issues/6777 | 842,453,109 | 6,777 |
[
"nestjs",
"nest"
] | I'm currently using socket.io v4.0 custom adapter with nestjs and I see that the implementation in nestjs v8.0.0 will support socket.io v4.
One issue that I've had was my exception handlers had no way to get the actual event name from the socket itself or the data, which I would like to emit the error back to: .on(... | 8.0.0 IoAdapter class for socket.io integration, suggested trail to pass "forwardEventNameAs" option to bindMessageHandlers call? | https://api.github.com/repos/nestjs/nest/issues/6771/comments | 0 | 2021-03-26T16:49:16Z | 2021-03-26T16:52:07Z | https://github.com/nestjs/nest/issues/6771 | 842,139,234 | 6,771 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
When creating a module that contains entities and their services, using the TypeOrmModule.forFeature() call to register those entities, using a custom connection name throws an injection error. However using the default connection works just fine.
## Input Code
<!-- REPL or R... | Registering entities in their own module with a named TypeORM connection causes an injection error | https://api.github.com/repos/nestjs/nest/issues/6766/comments | 7 | 2021-03-26T08:59:56Z | 2021-03-29T07:45:39Z | https://github.com/nestjs/nest/issues/6766 | 841,737,852 | 6,766 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
Service exported by **Module A** is being injected and used in **Module B**, everything works fine but one day when making changes in a completely unrelated module, service of Module B shows: **Nest can't resolve dependencies** even when this was working fine and nothing changed ei... | DI causes issue due to sequence in which modules are instantiated | https://api.github.com/repos/nestjs/nest/issues/6765/comments | 1 | 2021-03-26T08:22:56Z | 2021-03-31T05:44:37Z | https://github.com/nestjs/nest/issues/6765 | 841,711,680 | 6,765 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
<!-- Describe how the issue manifests. -->
<img width="3200" alt="QQ20210326-161013@2x" src="https://user-images.githubusercontent.com/1890238/112601782-d1e4f080-8e4d-11eb-8b23-5cc9e1eba704.png">
## Input Code
<!-- REPL or Repo link if applicable: -->
```
~/Desktop ... | Compile error in a new project | https://api.github.com/repos/nestjs/nest/issues/6764/comments | 3 | 2021-03-26T08:13:32Z | 2021-09-02T12:29:04Z | https://github.com/nestjs/nest/issues/6764 | 841,704,724 | 6,764 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
Following the docs I tried to use regex on route decorator, but the handler was not called.
Doc: https://docs.nestjs.com/controllers#route-wildcards
## Input Code
```ts
@Get(`:id(\d)'`)
async getByID(@Param('id') id: number): Promise<ConfigEntity> {
return this.se... | Controller GET decorator is not allowing regex | https://api.github.com/repos/nestjs/nest/issues/6763/comments | 1 | 2021-03-26T07:07:07Z | 2021-03-26T07:21:21Z | https://github.com/nestjs/nest/issues/6763 | 841,658,616 | 6,763 |
[
"nestjs",
"nest"
] | ## Feature Request
As stated [here](https://github.com/apollographql/subscriptions-transport-ws#graphql-ws), `subscriptions-transport-ws` is now no longer actively maintained and they propose to switch to `graphql-ws`.
Is it something that you consider?
Thanks | Migrating subscriptions-transport-ws to graphql-ws | https://api.github.com/repos/nestjs/nest/issues/6762/comments | 1 | 2021-03-26T06:14:02Z | 2021-03-26T07:43:40Z | https://github.com/nestjs/nest/issues/6762 | 841,626,268 | 6,762 |
[
"nestjs",
"nest"
] | ## Bug Report
Something has broken while preparing for production deployment. Due to other reasons, I had to delete my yarn lock file and I started getting error messages. It builds just fine in development, however, it displays over 90 errors of missing @types packages from @types/webpack and @types/tapable. This bre... | Latest NestJS CLI generated project cannot build due to webpack & Tapable type errors | https://api.github.com/repos/nestjs/nest/issues/6758/comments | 10 | 2021-03-26T04:34:20Z | 2021-03-26T09:08:42Z | https://github.com/nestjs/nest/issues/6758 | 841,581,166 | 6,758 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
<!-- Describe how the issue manifests. -->
When I add `await app.startAllMicroservicesAsync();` to my bootstrap file, it generates the following error:
```
Method handler FindAll for /articles.ArticlesService/FindAll expected but not provided
```
## Input Code
```ts
asyn... | startAllMicroservicesAsync generate error method not implemented. | https://api.github.com/repos/nestjs/nest/issues/6757/comments | 4 | 2021-03-25T23:19:52Z | 2021-04-19T08:50:07Z | https://github.com/nestjs/nest/issues/6757 | 841,416,671 | 6,757 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
Cannot get to https://docs.nestjs.com/ both from my location (ru) and from us-central (gcp).
## Expected behavior
Docs should be accessible.
| https://docs.nestjs.com/ outage? | https://api.github.com/repos/nestjs/nest/issues/6754/comments | 2 | 2021-03-25T17:23:00Z | 2021-03-25T19:36:35Z | https://github.com/nestjs/nest/issues/6754 | 841,148,450 | 6,754 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
I can't use CacheModule in feature modules unless I import it in all of them (and call register)
## Input Code
<!-- REPL or Repo link if applicable: -->
```ts
// app.module.ts:
@Module({
imports: [
ConfigModule.forRoot({ ... }),
CacheModule.registerAsync({ ...... | Unable to use CacheModule in feature modules | https://api.github.com/repos/nestjs/nest/issues/6753/comments | 4 | 2021-03-25T16:12:06Z | 2021-03-25T17:39:17Z | https://github.com/nestjs/nest/issues/6753 | 841,087,133 | 6,753 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
Providing a token from a module permits to override the token of modules of other scopes.
Consider the following example:
```ts
import {DynamicModule, Module} from "@nestjs/common";
import {NestFactory} from "@nestjs/core";
@Module({
providers: [{
provide... | Non exported tokens can be replaced by external modules | https://api.github.com/repos/nestjs/nest/issues/6751/comments | 4 | 2021-03-25T06:10:04Z | 2021-03-29T09:52:29Z | https://github.com/nestjs/nest/issues/6751 | 840,593,628 | 6,751 |
[
"nestjs",
"nest"
] | # I'm submitting a...
```
[ ] Regression
[ ] Bug report
[ ] Feature request
[x] Documentation issue or request
```
I find a spelling mistake in [https://docs.nestjs.cn/7/security?id=%e6%9d%83%e9%99%90%ef%bc%88authorization%ef%bc%89](url) .
# Current behavior
创建完成后,在CaslAbilityFactory中定义 **creteF... | A spelling mistake | https://api.github.com/repos/nestjs/nest/issues/6750/comments | 0 | 2021-03-25T03:15:27Z | 2021-03-25T03:21:28Z | https://github.com/nestjs/nest/issues/6750 | 840,516,473 | 6,750 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
<!-- Describe how the issue manifests. -->
I am unable to use your resource schematic that is given in docs.
## Input Code
<!-- REPL or Repo link if applicable: -->
In the project run
```
nest g resource some-resource
```
The output is
`Invalid schematic "resource"... | Unable to generate resource | https://api.github.com/repos/nestjs/nest/issues/6748/comments | 5 | 2021-03-24T18:40:58Z | 2021-03-24T19:06:49Z | https://github.com/nestjs/nest/issues/6748 | 840,043,128 | 6,748 |
[
"nestjs",
"nest"
] | Hello
Can you please share with me links to explain how to deploy app nestjs + monorepo to heroku ??
Very urgent for me ;)
| Nestjs Monorepo | Heroku | https://api.github.com/repos/nestjs/nest/issues/6747/comments | 1 | 2021-03-24T15:24:42Z | 2021-03-24T15:47:51Z | https://github.com/nestjs/nest/issues/6747 | 839,841,843 | 6,747 |
[
"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 [...] -->
In our Hybrid-Cloud environment we have some microservices running in our Cloud and some microservices running On-Premise of our cus... | Support TCP microservice over TLS | https://api.github.com/repos/nestjs/nest/issues/6745/comments | 6 | 2021-03-24T11:38:02Z | 2021-07-27T06:34:52Z | https://github.com/nestjs/nest/issues/6745 | 839,633,780 | 6,745 |
[
"nestjs",
"nest"
] | We'll update `@nestjs/platform-socket.io` to use socket.io 3.0 in the next major release (v8) which is coming very shortly.
_Originally posted by @kamilmysliwiec in https://github.com/nestjs/nest/issues/5676#issuecomment-771613092_
Hey there, socket.io has moved to 4.0, on nest next major release, i.e v8, can w... | socket.io moved to version 4.0.0 | https://api.github.com/repos/nestjs/nest/issues/6743/comments | 1 | 2021-03-23T22:44:47Z | 2021-03-23T22:47:39Z | https://github.com/nestjs/nest/issues/6743 | 839,181,913 | 6,743 |
[
"nestjs",
"nest"
] | When I run `yarn typeorm -- migration:run` I'm getting `Error during migration run:
MissingDriverError: Wrong driver: "undefined" given. Supported drivers are: "cordova", "expo", "mariadb", "mongodb", "mssql", "mysql", "oracle", "postgres", "sqlite", "better-sqlite3", "sqljs", "react-native", "aurora-data-api", "auror... | TypeOrmOptionsFactory and migration:run give Error during migration run: MissingDriverError: Wrong driver: "undefined" given. | https://api.github.com/repos/nestjs/nest/issues/6742/comments | 1 | 2021-03-23T19:21:26Z | 2021-03-23T19:25:11Z | https://github.com/nestjs/nest/issues/6742 | 839,043,640 | 6,742 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
I want to use file upload and it work well, but the test for the controller is failing with TypeError: multer is not a function
## Input Code
<!-- REPL or Repo link if applicable: -->
https://gitlab.com/CordlessWool/shadow-api/-/blob/main/src/images/images.controller.spec.ts
... | TypeError: multer is not a function | https://api.github.com/repos/nestjs/nest/issues/6728/comments | 1 | 2021-03-22T13:31:17Z | 2021-03-22T13:38:42Z | https://github.com/nestjs/nest/issues/6728 | 837,719,602 | 6,728 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behaviour
In NestJs it's possible to use custom logger:
```ts
app.useLogger(CustomLogger)
```
Also In order to disable NestJs default logs (like `[NestFactory] Starting Nest application...`) we should use ``NestApplicationOptions`` in the following way:
```ts
const app = await NestF... | Not all NestJs logs are disabled | https://api.github.com/repos/nestjs/nest/issues/6727/comments | 8 | 2021-03-22T13:27:29Z | 2021-03-22T18:30:29Z | https://github.com/nestjs/nest/issues/6727 | 837,716,173 | 6,727 |
[
"nestjs",
"nest"
] | Hello i am having a problem setting up a secure Websocket server with nestjs. When i use ws protocol it works as expected but wss returns `ERR_SSL_PROTOCOL_ERROR`. I am using CA signed certificate and trusting CA in chrome. I tested other non-nestjs barebones setup with https server and ws websocket, it works too. Test... | NestJS Websocket SSL error (ERR_SSL_PROTOCOL_ERROR) | https://api.github.com/repos/nestjs/nest/issues/6725/comments | 4 | 2021-03-22T10:07:01Z | 2022-03-31T01:03:01Z | https://github.com/nestjs/nest/issues/6725 | 837,555,622 | 6,725 |
[
"nestjs",
"nest"
] | - Node.js v14.15.4
- @nestjs/microservices v7.6.14
**Code**
```ts
const app = await NestFactory.createMicroservice<RedisOptions>(AppModule, {
transport: Transport.REDIS,
options: {
host: '111.222.33.44', // external redis host
password: 'something',
},
});
```
**Error**
I entered `host` b... | [microservices] The redis host option is ignored as a url. | https://api.github.com/repos/nestjs/nest/issues/6724/comments | 3 | 2021-03-22T09:02:45Z | 2021-04-03T09:45:11Z | https://github.com/nestjs/nest/issues/6724 | 837,490,801 | 6,724 |
[
"nestjs",
"nest"
] | ## Bug Report
Thrown built-in exception may lose its status code depending on the input parameter
## Current behavior
<!-- Describe how the issue manifests. -->
## Input Code
<!-- REPL or Repo link if applicable: -->
```ts
throw new NotFoundException("some error message");
// caught exception
{ "status... | Thrown built-in exception may lose its status code depending on the input parameter | https://api.github.com/repos/nestjs/nest/issues/6723/comments | 2 | 2021-03-22T07:42:46Z | 2021-03-22T08:27:10Z | https://github.com/nestjs/nest/issues/6723 | 837,424,374 | 6,723 |
[
"nestjs",
"nest"
] | Hello! First of all, thank you for your hard work! Nest.js is an amazing framework and I'm having a lot of pleasure working with it so far.
## Feature Request
## Is your feature request related to a problem? Please describe.
Right now, [`ClassSerializerInterceptor`](https://github.com/nestjs/nest/blob/ca487ce995... | Enable ClassSerializerInterceptor to be used globally | https://api.github.com/repos/nestjs/nest/issues/6716/comments | 2 | 2021-03-21T09:42:12Z | 2021-03-21T18:27:35Z | https://github.com/nestjs/nest/issues/6716 | 837,029,749 | 6,716 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
According to https://docs.nestjs.com/techniques/compression, I use nginx to compression my api.
The nginx.conf is below:
server {
listen 80;
server_name localhost;
gzip on;
gzip_types text/css application/javascript application/json image/svg+xml;
... | can not gzip post response | https://api.github.com/repos/nestjs/nest/issues/6715/comments | 2 | 2021-03-21T04:47:13Z | 2021-03-21T18:27:49Z | https://github.com/nestjs/nest/issues/6715 | 836,983,714 | 6,715 |
[
"nestjs",
"nest"
] | For example, if there is a front-end module with a front, all the following controllers will add a front, do not need to add a front on every controller. The other admin module operates in a similar way | module Prefix | https://api.github.com/repos/nestjs/nest/issues/6714/comments | 4 | 2021-03-21T02:34:10Z | 2021-03-21T18:27:15Z | https://github.com/nestjs/nest/issues/6714 | 836,967,308 | 6,714 |
[
"nestjs",
"nest"
] | nest.js nacos How to bond intimately? | nest.js nacos How to bond intimately | https://api.github.com/repos/nestjs/nest/issues/6713/comments | 1 | 2021-03-20T11:10:08Z | 2021-03-20T16:17:28Z | https://github.com/nestjs/nest/issues/6713 | 836,781,947 | 6,713 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
I want disable the color, because my logfile looks like:
<img width="1089" alt="图片" src="https://user-images.githubusercontent.com/6395323/111865657-40840300-89a3-11eb-90ea-86cd8c29ed59.png">
## Input Code
So I set the NO_COLOR environment variable.
But this didn't help.
<im... | NO_COLOR not work | https://api.github.com/repos/nestjs/nest/issues/6712/comments | 3 | 2021-03-20T09:44:34Z | 2021-03-21T03:38:28Z | https://github.com/nestjs/nest/issues/6712 | 836,767,138 | 6,712 |
[
"nestjs",
"nest"
] | i'm sorry if there is a question like that has been asked by another user.
inside main.ts (bootstrap) there is a instance of Nest application in
```
const app = await NestFactory.create(AppModule);
```
can i ( or is it safe ) to export INestApplication that can be use inside another file outside DI Lifecycle ... | Export INestApplication | https://api.github.com/repos/nestjs/nest/issues/6709/comments | 2 | 2021-03-19T16:14:50Z | 2021-03-19T16:21:04Z | https://github.com/nestjs/nest/issues/6709 | 836,163,564 | 6,709 |
[
"nestjs",
"nest"
] | NestFactory is not giving good scene from library...
we don't need Factory keyboard at all ...
many new framework and library use simple keys like express ..we didn't see expressFactory..
it is sophisticated meaning and does not give good felling | Remove traditional design pattern like Factory from Nest | https://api.github.com/repos/nestjs/nest/issues/6706/comments | 1 | 2021-03-19T13:04:17Z | 2021-03-19T13:28:28Z | https://github.com/nestjs/nest/issues/6706 | 835,968,939 | 6,706 |
[
"nestjs",
"nest"
] | ## Feature Request
I am really really sorry to open the [same issue](https://github.com/nestjs/nest/issues/6671) again but comments were closed so there was no room left for discussion.
Each client, e.g. `ClientNats` holds a client instance that is protected. This instance should be public in my opinion. E.g. the... | Microservice's ClientProxies should make client instances public | https://api.github.com/repos/nestjs/nest/issues/6692/comments | 2 | 2021-03-17T17:19:25Z | 2021-03-17T18:16:20Z | https://github.com/nestjs/nest/issues/6692 | 834,012,616 | 6,692 |
[
"nestjs",
"nest"
] | ## Feature Request
nats.js 2.0 has been released and is not api-compatible with nats.js 1.x
Migration guide: https://github.com/nats-io/nats.js/blob/master/migration.md
I already updated the docs to install 1.x. | Upgrade to NATS.js 2.0 | https://api.github.com/repos/nestjs/nest/issues/6690/comments | 1 | 2021-03-17T16:51:40Z | 2021-03-17T17:54:58Z | https://github.com/nestjs/nest/issues/6690 | 833,988,853 | 6,690 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
When compiling the nestjs project, I'm getting the
```
Error: Nest can't resolve dependencies of the AuthService (PlayerRepository, ?, JwtService). Please make sure that the argument dependency at index [1] is available in the AuthModule context.
```
## Input Code
My auth.mo... | nest can't resolve custom repository of AuthService | https://api.github.com/repos/nestjs/nest/issues/6687/comments | 1 | 2021-03-17T08:49:05Z | 2021-03-17T09:10:19Z | https://github.com/nestjs/nest/issues/6687 | 833,541,144 | 6,687 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
JFrog report security vulnerability with js-yaml version 3.12.0
JS-YAML contains a flaw in the storeMappingPair() function in lib/js-yaml/loader.js that is triggered when handling certain object properties as map keys. This may allow a context-dependent attacker to execute arbitra... | security issue with js-yaml 3.12.0 | https://api.github.com/repos/nestjs/nest/issues/6686/comments | 1 | 2021-03-16T21:43:55Z | 2021-03-17T07:17:21Z | https://github.com/nestjs/nest/issues/6686 | 833,220,436 | 6,686 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
If a microservice app or client can't connect to NATS server, or disconnects after connected, it throws an error but never tries to reconnect.
## Input Code
```ts
const app = await NestFactory.createMicroservice<MicroserviceOptions>(AppModule, {
transport: Transport.NATS,... | NATS microservice and client not reconnecting | https://api.github.com/repos/nestjs/nest/issues/6684/comments | 13 | 2021-03-16T15:33:10Z | 2021-03-26T11:02:01Z | https://github.com/nestjs/nest/issues/6684 | 832,927,707 | 6,684 |
[
"nestjs",
"nest"
] | Hi !!
Native decorators must appear in Javascript. As far as I understand, they are different than Typescript decorators.
Could this be a problem in the future? | decorators | https://api.github.com/repos/nestjs/nest/issues/6673/comments | 2 | 2021-03-15T18:11:46Z | 2021-03-15T18:15:29Z | https://github.com/nestjs/nest/issues/6673 | 832,067,339 | 6,673 |
[
"nestjs",
"nest"
] | ## Feature Request
## Is your feature request related to a problem? Please describe.
If I am not mistaken the only way to subscribe to microservice events is to create a microservice app and create a controller and then use `@MessagePattern` or `@EventPattern` decorator. This is very unhandy if I just want to list... | Using the microservice client proxy to subscribe | https://api.github.com/repos/nestjs/nest/issues/6671/comments | 1 | 2021-03-15T11:43:00Z | 2021-03-15T11:47:59Z | https://github.com/nestjs/nest/issues/6671 | 831,726,230 | 6,671 |
[
"nestjs",
"nest"
] | ## Feature Request
When using using ClientProxy, e.g. [ClientNats](https://github.com/nestjs/nest/blob/master/packages/microservices/client/client-nats.ts), it holds an instance of the used client but it is not accessible. It would be great if it is, e.g. [socket.io-nats-adapter](https://github.com/MickL/socket.io-n... | Microservice's ClientProxy should make client instance's public | https://api.github.com/repos/nestjs/nest/issues/6670/comments | 1 | 2021-03-15T11:42:56Z | 2021-03-15T11:48:07Z | https://github.com/nestjs/nest/issues/6670 | 831,726,180 | 6,670 |
[
"nestjs",
"nest"
] | https://github.com/nestjs/nest/blob/58735f943434d6eea240d6410a07d61389b6fd4e/packages/common/services/logger.service.ts#L77
I got an error "this.printMessage() is not a function". I've started to research why I see this error. I was amazed when I've seen static log() { this.printMessage() }. Fix it please | This inside static method | https://api.github.com/repos/nestjs/nest/issues/6662/comments | 5 | 2021-03-14T22:03:14Z | 2021-03-15T07:33:38Z | https://github.com/nestjs/nest/issues/6662 | 831,272,189 | 6,662 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
DynamicModule does not override same static type Module which cases the container to have to instances of the same metatype.
## Input Code
<!-- REPL or Repo link if applicable: -->
```ts
@Module({ })
export class LibModule { }
@Module({
imports: [LibModule] //impo... | Multi instances of the same module are instantiated when provided as an import of a DynamicModule | https://api.github.com/repos/nestjs/nest/issues/6660/comments | 2 | 2021-03-14T18:11:30Z | 2021-03-15T07:32:27Z | https://github.com/nestjs/nest/issues/6660 | 831,221,412 | 6,660 |
[
"nestjs",
"nest"
] | ## Feature Request
## Is your feature request related to a problem? Please describe.
Related to RESTful API error handling.
We make use of HTTP conditional requests to implement concurrency control (e.g If-Match header + ETag). Except for respond with `HTTP 412 Precondition Failed` when the condition is not fulfil... | Add missing precondition required (428) exception class | https://api.github.com/repos/nestjs/nest/issues/6657/comments | 1 | 2021-03-13T10:29:20Z | 2021-03-15T08:19:16Z | https://github.com/nestjs/nest/issues/6657 | 830,868,919 | 6,657 |
[
"nestjs",
"nest"
] | Hi Nestjs team!
Socket.io team recently updated their package to 4.0.0 but @nestjs/platform-socket.io still depends on the version 2.4.1. So I hope Nestjs update your package soon.
| Update socket.io version 4.0.0 to @nestjs/platform-socket.io package | https://api.github.com/repos/nestjs/nest/issues/6656/comments | 1 | 2021-03-13T09:15:57Z | 2021-03-13T11:02:45Z | https://github.com/nestjs/nest/issues/6656 | 830,850,531 | 6,656 |
[
"nestjs",
"nest"
] | Following up from https://github.com/nestjs/nest/issues/5676 socket.io 4.0 has been released with some breaking api changes:
https://socket.io/blog/socket-io-4-release/ | Update socket.io to 4.0 in @nestjs/platform-socket.io package | https://api.github.com/repos/nestjs/nest/issues/6649/comments | 2 | 2021-03-12T10:01:39Z | 2021-03-12T11:35:37Z | https://github.com/nestjs/nest/issues/6649 | 829,953,291 | 6,649 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
When annotating route with `@Sse('tada')` and using `app.enableShutdownHooks();` and there are clients connected to the SSE endpoint the process does not exit when SIGINT (or possibly other) request to terminate is received.
One must press `Ctrl+C` twice to terminate. Or click... | Node hangs upon exit when using @Sse and app.enableShutdownHooks() | https://api.github.com/repos/nestjs/nest/issues/6643/comments | 6 | 2021-03-12T04:29:16Z | 2021-03-12T22:33:03Z | https://github.com/nestjs/nest/issues/6643 | 829,746,855 | 6,643 |
[
"nestjs",
"nest"
] | ## Bug Report
After running `nest g resource user` to create a new resource module for "user" (with controller, service and entities stubbed) the pre-generated `update-user.dto.ts` fails to resolve `import { PartialType } from '@nestjs/mapped-types';`
## Current behavior
Assuming `npm i -g @nestjs/cli` has been ... | @nestjs/mapped-types is not found after using `nest g resource user` | https://api.github.com/repos/nestjs/nest/issues/6642/comments | 5 | 2021-03-12T00:42:35Z | 2024-01-29T13:18:03Z | https://github.com/nestjs/nest/issues/6642 | 829,646,827 | 6,642 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
Create a new app with logger false. This correctly does no logging.
Then create a new microservice. This will also do no logging.
## Input Code
```ts
const appContext: INestApplicationContext = await NestFactory.createApplicationContext(
AppModule,
{
logger... | Logger value ignored when calling createMicroService after createApplicationContext | https://api.github.com/repos/nestjs/nest/issues/6636/comments | 1 | 2021-03-11T11:57:36Z | 2021-03-12T08:38:47Z | https://github.com/nestjs/nest/issues/6636 | 829,083,725 | 6,636 |
[
"nestjs",
"nest"
] | ## Bug Report
DTO nested validation only work 'application/json' and not working with ' multipart/form-data '
## Current behavior
## DTO file
export class nameDTO {
@MinLength(2)
@MaxLength(40)
readonly ar: string;
@MinLength(2)
@MaxLength(40)
readonly en: string;
}
export class branc... | nested object in body of multipart/form-data not validated | https://api.github.com/repos/nestjs/nest/issues/6635/comments | 3 | 2021-03-11T10:11:08Z | 2021-03-11T10:46:02Z | https://github.com/nestjs/nest/issues/6635 | 829,000,386 | 6,635 |
[
"nestjs",
"nest"
] | How to set view engine like `setViewEngine(engine: string)` from `NestExpressApplication` only for once module? | Set view engine for once module | https://api.github.com/repos/nestjs/nest/issues/6628/comments | 4 | 2021-03-10T19:04:05Z | 2021-03-10T19:20:32Z | https://github.com/nestjs/nest/issues/6628 | 828,204,882 | 6,628 |
[
"nestjs",
"nest"
] | Inject CONTEXT from @nestjs/graphql block service 's constructor
Inject CONTEXT from @nestjs/graphql, then set a member variable,the variable is undefined.
```
import { Injectable, Inject } from '@nestjs/common';
import { CONTEXT } from '@nestjs/graphql'
@Injectable()
export class AppService {
@Inject(CONTEXT)... | Inject CONTEXT from @nestjs/graphql block service 's constructor | https://api.github.com/repos/nestjs/nest/issues/6625/comments | 6 | 2021-03-10T15:52:55Z | 2021-03-12T07:11:29Z | https://github.com/nestjs/nest/issues/6625 | 827,949,960 | 6,625 |
[
"nestjs",
"nest"
] | closed | https://api.github.com/repos/nestjs/nest/issues/6623/comments | 1 | 2021-03-10T12:38:10Z | 2021-03-10T16:20:40Z | https://github.com/nestjs/nest/issues/6623 | 827,672,397 | 6,623 | |
[
"nestjs",
"nest"
] | ## Feature Request
We are running Nestjs for a few our of applications on production now and we are pretty happy with it. However, a lot of our engineers are used to using Rails console to be able to debug issues, export data, and see the state of data and application status. As we have more and more usage on our ap... | Rails like console for Nestjs | https://api.github.com/repos/nestjs/nest/issues/6620/comments | 1 | 2021-03-10T04:38:36Z | 2021-03-10T07:10:54Z | https://github.com/nestjs/nest/issues/6620 | 827,091,157 | 6,620 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
<!-- Describe how the issue manifests. -->
The options provided in `@Field` of the field in entity class get ignored if there is a `@ResolveField` for that field prenent in the resolver.
## Input Code
<!-- REPL or Repo link if applicable: -->
If there is an entity class with ... | Options of @Field gets ignored | https://api.github.com/repos/nestjs/nest/issues/6614/comments | 1 | 2021-03-09T06:42:40Z | 2021-03-09T06:49:13Z | https://github.com/nestjs/nest/issues/6614 | 825,418,080 | 6,614 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
<!-- Describe how the issue manifests. -->
I configured the cross-domain, but it didn’t work

);
`. I also made my own adapter to handle authentication.
```
create(port: number, options?: EngineOptions): ... | Use multiple websocket adapters | https://api.github.com/repos/nestjs/nest/issues/6604/comments | 1 | 2021-03-08T20:26:29Z | 2021-03-09T07:07:58Z | https://github.com/nestjs/nest/issues/6604 | 824,922,723 | 6,604 |
[
"nestjs",
"nest"
] | **Here is my code。**
In rbacInterceptor, My code is like this:
```typescript
import {
CallHandler,
ExecutionContext,
Injectable,
NestInterceptor,
ForbiddenException,
UnauthorizedException,
Inject,
} from '@nestjs/common';
import { Observable } from 'rxjs';
import { tap } from 'rxjs/operator... | How do I pass the service in the interceptor or guards? | https://api.github.com/repos/nestjs/nest/issues/6592/comments | 2 | 2021-03-08T03:26:48Z | 2021-03-08T03:44:39Z | https://github.com/nestjs/nest/issues/6592 | 824,129,072 | 6,592 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
Jest outputs that the last 2 lines mockUserService.findOne is not called although the result of the function is as produced as expected (expect auth.service.validateUserLogin...)
## Input Code
```ts
// auth.service.ts
export class AuthService {
constructor(
private ... | Unit testing mock function not being called | https://api.github.com/repos/nestjs/nest/issues/6591/comments | 1 | 2021-03-08T02:22:59Z | 2021-03-08T03:30:42Z | https://github.com/nestjs/nest/issues/6591 | 824,105,419 | 6,591 |
[
"nestjs",
"nest"
] | I used the plugin to generate the swagger document automatically.
In the interface for getting all users, the UserEntityList is returned, which is automatically generated for the interface document。But in adding the user interface, I return a custom wrapped result object, which does not automatically generate docu... | @nestjs/swagger/plugin , In some cases the documentation is not generated automatically | https://api.github.com/repos/nestjs/nest/issues/6590/comments | 3 | 2021-03-07T17:04:38Z | 2021-03-27T17:55:20Z | https://github.com/nestjs/nest/issues/6590 | 823,964,797 | 6,590 |
[
"nestjs",
"nest"
] | ## Bug Report
NestJS does not correctly detect class when babel transforms class to function.
## Current behavior
throws following error
```
TypeError: Cannot call a class as a function
```
## Input Code
_.baberc_
```json
{
"presets": [
[
"@babel/preset-env",
{
"corejs": 3... | TypeError: Cannot call a class as a function | https://api.github.com/repos/nestjs/nest/issues/6586/comments | 5 | 2021-03-07T08:19:22Z | 2021-03-08T07:37:35Z | https://github.com/nestjs/nest/issues/6586 | 823,860,604 | 6,586 |
[
"nestjs",
"nest"
] | Please help
https://stackoverflow.com/questions/66511229/nestjs-microservice-issue-with-docker | NestJS: Microservices with Docker | https://api.github.com/repos/nestjs/nest/issues/6584/comments | 3 | 2021-03-06T22:24:15Z | 2021-03-06T22:34:16Z | https://github.com/nestjs/nest/issues/6584 | 823,762,831 | 6,584 |
[
"nestjs",
"nest"
] | Hello,
After migrating from Nestjs v6 to v7 Stripe is no more working I got the following error:
`TypeError: stripe_1.default is not a constructor`
I tried with nestjs-stripe v0.2.1 & @golevelup/nestjs-stripe v0.1.0 and still got the same error.
Here is an example of full log:
```
TypeError: stripe_1.de... | TypeError: stripe_1.default is not a constructor | https://api.github.com/repos/nestjs/nest/issues/6583/comments | 1 | 2021-03-06T22:21:16Z | 2021-03-06T22:39:07Z | https://github.com/nestjs/nest/issues/6583 | 823,762,269 | 6,583 |
[
"nestjs",
"nest"
] | I have a multi tenant project that has multiple databases. and there is a general database where I store the tenants info. I separate them with a unique token. now when two tenants make a request at the same time, both of them get the same result from one database.
I have a tenant module that has a request scoped pr... | Multitenancy using sequelize | https://api.github.com/repos/nestjs/nest/issues/6582/comments | 1 | 2021-03-06T12:29:25Z | 2021-03-06T18:44:26Z | https://github.com/nestjs/nest/issues/6582 | 823,637,133 | 6,582 |
[
"nestjs",
"nest"
] | ## What works without error


as you can see. DishMeta is the model. As doc pointed out, this... | Graphql Mapped Types decorator parameter doesn't work. | https://api.github.com/repos/nestjs/nest/issues/6579/comments | 4 | 2021-03-06T02:22:17Z | 2021-03-06T12:03:53Z | https://github.com/nestjs/nest/issues/6579 | 823,538,338 | 6,579 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
Including a schema directive in the `GraphQLModule.forRoot` factory causes an error on startup when gql-tools 5+ is installed (4 seems to work)
## Input Code
```ts
return GraphQLModule.forRoot({
autoSchemaFile: join(process.cwd(), '__generated__/schema.gql'), // use t... | Schema Directives don't work with gql-tools 5, 6 or 7 installed according to documentation | https://api.github.com/repos/nestjs/nest/issues/6577/comments | 3 | 2021-03-05T21:29:33Z | 2021-03-05T21:43:09Z | https://github.com/nestjs/nest/issues/6577 | 823,434,926 | 6,577 |
[
"nestjs",
"nest"
] | I need to test a custom Decorator and I am not able yet. I read the following suggestion
https://github.com/nestjs/nest/issues/1020#issuecomment-417646366_ but I don't undestarnd the way of extracting the factory. How can i achieve that?
Thanks a lot! | How can I extract my factory funcion from custom decorator? | https://api.github.com/repos/nestjs/nest/issues/6576/comments | 1 | 2021-03-05T21:23:10Z | 2021-03-05T21:31:06Z | https://github.com/nestjs/nest/issues/6576 | 823,431,269 | 6,576 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
<!-- Describe how the issue manifests. -->
When using the most recent release of `@nestjs/cli` package and attempting to follow the Nestjs Documentation tutorial for GraphQL after a fresh install and new project, I can't even download the GraphQL packages specified in the "Getting... | GraphQL issues on initial setup | https://api.github.com/repos/nestjs/nest/issues/6571/comments | 1 | 2021-03-05T01:22:06Z | 2021-03-05T02:05:09Z | https://github.com/nestjs/nest/issues/6571 | 822,650,881 | 6,571 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.