issue_owner_repo listlengths 2 2 | issue_body stringlengths 0 262k ⌀ | issue_title stringlengths 1 1.02k | issue_comments_url stringlengths 53 116 | issue_comments_count int64 0 2.49k | issue_created_at stringdate 1999-03-17 02:06:42 2025-06-23 11:41:49 | issue_updated_at stringdate 2000-02-10 06:43:57 2025-06-23 11:43:00 | issue_html_url stringlengths 34 97 | issue_github_id int64 132 3.17B | issue_number int64 1 215k |
|---|---|---|---|---|---|---|---|---|---|
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
Adding UseInterceptors to MessagePattern handler brakes consistent processing of Kafka messages. And consumer starts getting new messages without awaiting until completed currently run.
## Input Code
**main.ts**
```ts
async function bootstrap() {
const app = await NestFa... | [Kafka Microservice] UseInterceptors brake consistent processing of Kafka messages | https://api.github.com/repos/nestjs/nest/issues/6254/comments | 12 | 2021-01-27T09:14:12Z | 2022-06-14T07:05:08Z | https://github.com/nestjs/nest/issues/6254 | 794,915,533 | 6,254 |
[
"nestjs",
"nest"
] | ## Feature Request
## Is your feature request related to a problem? Please describe.
While NestJS does expose the `onConnect` and `onDisconnect` hooks in the subscriptions options object, I am looking to maintain class instances that manage the client's state for the duration of their websocket connection from with... | GraphQL WebSocket Connection Scope | https://api.github.com/repos/nestjs/nest/issues/6253/comments | 3 | 2021-01-27T05:53:52Z | 2021-01-28T04:52:16Z | https://github.com/nestjs/nest/issues/6253 | 794,795,830 | 6,253 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
```
[17:38:38] Starting compilation in watch mode...
node_modules/@nestjs/platform-fastify/adapters/fastify-adapter.d.ts:3:23 - error TS2305: Module '"../../common/interfaces/external/cors-options.interface"' has no exported member 'CorsOptionsDelegate'.
3 import { CorsOptio... | Switching to Fastify errors on a module dependency | https://api.github.com/repos/nestjs/nest/issues/6246/comments | 2 | 2021-01-26T15:51:14Z | 2021-01-26T16:15:38Z | https://github.com/nestjs/nest/issues/6246 | 794,344,328 | 6,246 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
I can't handle any shutdown hook or process signals if run application in Docker.
## Input Code
main.ts
```ts
import { NestFactory } from '@nestjs/core';
import { AppModule } from './app.module';
async function bootstrap() {
const app = await NestFactory.create(AppMo... | Nest don't handle shutdown hooks or SIGTERM SIGINT when running application in docker | https://api.github.com/repos/nestjs/nest/issues/6234/comments | 3 | 2021-01-25T09:24:10Z | 2021-01-25T11:26:24Z | https://github.com/nestjs/nest/issues/6234 | 793,203,102 | 6,234 |
[
"nestjs",
"nest"
] | System goes to infinity loop of requests-reponses with particular message pattern name. For example suddenly my message pattern `getUserByID` starts to give me this loop. To fix it I need to change message pattern to something else, like `getUserByID1` and it works, so I don't change my code, just message pattern. `do... | Nestjs + Nats = infinity loop | https://api.github.com/repos/nestjs/nest/issues/6227/comments | 5 | 2021-01-24T20:19:53Z | 2021-01-26T13:15:16Z | https://github.com/nestjs/nest/issues/6227 | 792,883,713 | 6,227 |
[
"nestjs",
"nest"
] | **and requested change in doc as well
Hi all, I know it is a bug might related to the typeorm, but idk which framwork contribute to this error and thats why i open a ticket here
## Bug Report
how to recreate this error message
install typeorm
set up DB config and stuff
**create a entity file**
and class name ... | [typeorm]If entity class name is end with "Entity", it will trigger Nest can't resolve dependencies of the ***error message | https://api.github.com/repos/nestjs/nest/issues/6219/comments | 4 | 2021-01-22T08:35:37Z | 2021-01-22T17:21:09Z | https://github.com/nestjs/nest/issues/6219 | 791,810,214 | 6,219 |
[
"nestjs",
"nest"
] | There is an error with this repository's Renovate configuration that needs to be fixed. As a precaution, Renovate will stop PRs until it is resolved.
Error type: undefined. Note: this is a *nested* preset so please contact the preset author if you are unable to fix it yourself.
| Action Required: Fix Renovate Configuration | https://api.github.com/repos/nestjs/nest/issues/6213/comments | 1 | 2021-01-21T13:01:46Z | 2021-01-21T14:20:13Z | https://github.com/nestjs/nest/issues/6213 | 791,056,879 | 6,213 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
<!-- Describe how the issue manifests. -->
I am using an example from the documentation about queues (26-queues). I set a delay of 3000 ms in calling the procedure. I start redis in docker and run applications. It then calls an endpoint that adds the procedure to the queue. Before... | Reconnecting to Redis is not working | https://api.github.com/repos/nestjs/nest/issues/6212/comments | 2 | 2021-01-21T12:05:27Z | 2021-01-22T08:51:52Z | https://github.com/nestjs/nest/issues/6212 | 791,007,237 | 6,212 |
[
"nestjs",
"nest"
] | ## Bug Report
I have created a base controller where I defined all the methods accepted and basic parameters (eg: itemsPerPage, page etc.).
For each data type I extend this base controller and create a controller specific to that type.
## Current behavior
However, validation fails in this case, meaning that e... | Validation not working when extending abstract base controller | https://api.github.com/repos/nestjs/nest/issues/6205/comments | 1 | 2021-01-20T07:56:53Z | 2021-01-20T08:04:12Z | https://github.com/nestjs/nest/issues/6205 | 789,734,231 | 6,205 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
If the route parameter length the router throws a 404.
## Input Code
<!-- REPL or Repo link if applicable: -->
```ts
@Get("/:slug")
async details(@Param("slug") slug: string) {
// any code here
}
```
Then visit:
http://mydomain.we/my-module/this-is... | Route parameters (i.e. slug) of length above 100 lead to 404 | https://api.github.com/repos/nestjs/nest/issues/6201/comments | 2 | 2021-01-19T20:19:58Z | 2021-01-20T09:36:54Z | https://github.com/nestjs/nest/issues/6201 | 789,334,486 | 6,201 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
When using the WS adapter the request are blocked by CORS
`has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource
## Input Code
<!-- REPL or Repo link if app... | Using `WsAdapter` throws CORS: no header sent | https://api.github.com/repos/nestjs/nest/issues/6198/comments | 2 | 2021-01-19T14:37:21Z | 2021-01-25T08:28:17Z | https://github.com/nestjs/nest/issues/6198 | 789,077,665 | 6,198 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
I am using NestJs with Kafka and the error `The client consumer subscribed to the topic (${topic}) whcih is not assigned to any partitions.`, is often thrown with failed code execution
Some other time I get `The client consumer did not subscribe to the corresponding reply topic ($... | Randomly get topic ... whcih is not assigned to any partitions exception | https://api.github.com/repos/nestjs/nest/issues/6197/comments | 10 | 2021-01-19T13:31:30Z | 2024-10-22T13:09:20Z | https://github.com/nestjs/nest/issues/6197 | 789,025,216 | 6,197 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
I ran out of space in my docker and was unable to connect to RabbitMQ
because of RabbitMQ's error
```
➜ ~ docker run -p 5672:5672 -p 15672:15672 rabbitmq:management
01:03:58.550 [error] Failed to write to cookie file '/var/lib/rabbitmq/.erlang.cookie': enospc
01:03:59.36... | Error passed from RabbitMQ has no meaningfull information | https://api.github.com/repos/nestjs/nest/issues/6191/comments | 4 | 2021-01-19T01:19:07Z | 2021-01-26T08:30:02Z | https://github.com/nestjs/nest/issues/6191 | 788,633,525 | 6,191 |
[
"nestjs",
"nest"
] | ## Feature Request
## Is your feature request related to a problem? Please describe.
We're all aware of the fact that the `FileInterceptor` does not work with the `FastifyAdapter`. For many, this drawback is enough to make them ditch Fastify all together until a clean solution can be established.
About a year ag... | FileInterceptor on Fastify using fastify-multer | https://api.github.com/repos/nestjs/nest/issues/6183/comments | 1 | 2021-01-18T01:04:32Z | 2021-01-18T08:07:59Z | https://github.com/nestjs/nest/issues/6183 | 787,843,088 | 6,183 |
[
"nestjs",
"nest"
] | Hey guys! First of all, thank you for creating Nest.js — we use it at work and we really like it.
We've recently implemented connection pooling and we've with [agentkeepalive](https://www.npmjs.com/package/agentkeepalive) noticed a certain proportion of requests will fail with `socket hang up` errors.
I spent a w... | HttpService Socket Hang Up w/ Connection Pooling | https://api.github.com/repos/nestjs/nest/issues/6182/comments | 5 | 2021-01-17T19:29:13Z | 2021-01-18T14:41:53Z | https://github.com/nestjs/nest/issues/6182 | 787,777,056 | 6,182 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
GraphQL Playground does not load when using fastify, instead `GET query missing.` is shown in plain text.
## Expected behavior
GraphQL Playground should load.
## Reproducible Environment
https://codesandbox.io/s/bold-snowflake-hmet5
(go to the /graphql route in the sandbox... | Fastify GraphQL Playground doesn't work | https://api.github.com/repos/nestjs/nest/issues/6180/comments | 10 | 2021-01-16T18:06:47Z | 2021-10-26T15:33:17Z | https://github.com/nestjs/nest/issues/6180 | 787,521,431 | 6,180 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
App Crashes
Crash Log: https://pastebin.com/ZEExtbC9
## Input Code
```ts
//...
import compression from 'fastify-compress';
async function bootstrap(): Promise<void> {
const app = await NestFactory.create<NestFastifyApplication>(
AppModule,
new F... | Fastify Compression doesn't work anymore | https://api.github.com/repos/nestjs/nest/issues/6179/comments | 4 | 2021-01-16T13:15:04Z | 2021-01-25T07:51:18Z | https://github.com/nestjs/nest/issues/6179 | 787,464,053 | 6,179 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
On installation, eslint 7.7.0 is installed and then all files of type js and ts have this error:
`Parsing error: Cannot read file tsconfig.json`
## Expected behavior
Should be able to find the file.
## Possible Solution
Downgrading eslint to version 6.8.0 seems to do the t... | After creating a new project, this one can't find tsconfig.json file | https://api.github.com/repos/nestjs/nest/issues/6178/comments | 9 | 2021-01-16T03:12:39Z | 2022-03-03T07:42:03Z | https://github.com/nestjs/nest/issues/6178 | 787,334,681 | 6,178 |
[
"nestjs",
"nest"
] | ## Bug Report
Ever since upgrading to 7.6, this error occurs forcing me to lock version to 7.5.5.
I am wanting to invoke my own custom logger and following documentation which references to setting logger to false when wanting to do so
## Current behavior
This error originated either by throwing inside of an a... | TypeError: instance.getTimestamp is not a function | https://api.github.com/repos/nestjs/nest/issues/6175/comments | 16 | 2021-01-15T23:53:40Z | 2021-01-26T16:27:39Z | https://github.com/nestjs/nest/issues/6175 | 787,290,917 | 6,175 |
[
"nestjs",
"nest"
] | ## Feature Request
It is quite common that I have to get the `req.user` property for the current request in order to return basically anything to the client. Currently, I use the `@Request` decorator for injecting the whole request and then access `req.user` or any property of it.
As this is very common for me an... | Add decorator for quickly injecting the current user | https://api.github.com/repos/nestjs/nest/issues/6174/comments | 2 | 2021-01-15T17:48:51Z | 2021-01-16T13:02:14Z | https://github.com/nestjs/nest/issues/6174 | 787,076,778 | 6,174 |
[
"nestjs",
"nest"
] | ## Feature Request
## Is your feature request related to a problem? Please describe.
The default logger supports multiple log levels but currently the only distinguishing aspect is different colors (assuming that the developer has this turned on). When managing logs in a deployed environment its essential to be abl... | Add Log Level Output to built in Logger | https://api.github.com/repos/nestjs/nest/issues/6172/comments | 1 | 2021-01-15T16:50:19Z | 2021-01-25T08:20:51Z | https://github.com/nestjs/nest/issues/6172 | 787,038,329 | 6,172 |
[
"nestjs",
"nest"
] | ## Feature Request
## Is your feature request related to a problem? Please describe.
As per [documentation](https://docs.nestjs.com/techniques/mvc#dynamic-template-rendering) if user needs to render view dynamically he have to do it manually by using platform-specific response object provided by `@Res` decorator. T... | [MVC] Render multiple views for single handler in controller without using @Res | https://api.github.com/repos/nestjs/nest/issues/6169/comments | 15 | 2021-01-15T14:45:24Z | 2023-02-01T13:44:54Z | https://github.com/nestjs/nest/issues/6169 | 786,949,353 | 6,169 |
[
"nestjs",
"nest"
] | I have API gateway and JWT guard there. Validation func:
```
async validate(payload: any) {
console.log("~~~~~~~~~~~~~~~~~~~~~~~~~>")
const user = await this.usersService.send(GET_USER_BY_ID, {userId: payload.id}).toPromise();
return null
if(!user){
return null
... | Micsroservices + NATS = infinity loop of requests | https://api.github.com/repos/nestjs/nest/issues/6153/comments | 1 | 2021-01-14T13:19:21Z | 2021-01-14T13:21:31Z | https://github.com/nestjs/nest/issues/6153 | 785,982,273 | 6,153 |
[
"nestjs",
"nest"
] | I have API gateway and JWT guard there. Validation func:
```
async validate(payload: any) {
console.log("~~~~~~~~~~~~~~~~~~~~~~~~~>")
const user = await this.usersService.send(GET_USER_BY_ID, {userId: payload.id}).toPromise();
return null
if(!user){
return null
... | Microservices + NATS = infinity loop of requests | https://api.github.com/repos/nestjs/nest/issues/6152/comments | 0 | 2021-01-14T13:18:43Z | 2021-01-14T13:21:22Z | https://github.com/nestjs/nest/issues/6152 | 785,981,798 | 6,152 |
[
"nestjs",
"nest"
] | I have API gateway and JWT guard there. Validation func:
```
async validate(payload: any) {
console.log("~~~~~~~~~~~~~~~~~~~~~~~~~>")
const user = await this.usersService.send(GET_USER_BY_ID, {userId: payload.id}).toPromise();
return null
if(!user){
return null
... | Microservices + NATS produces infinity loop of requests | https://api.github.com/repos/nestjs/nest/issues/6151/comments | 0 | 2021-01-14T13:18:05Z | 2021-01-14T13:21:22Z | https://github.com/nestjs/nest/issues/6151 | 785,981,278 | 6,151 |
[
"nestjs",
"nest"
] | ## I created a directive code first like the link <https://docs.nestjs.com/graphql/directives>
it is work, but it don't show in SDL
| directives first code bug | https://api.github.com/repos/nestjs/nest/issues/6149/comments | 3 | 2021-01-14T08:37:18Z | 2022-03-24T12:27:33Z | https://github.com/nestjs/nest/issues/6149 | 785,794,335 | 6,149 |
[
"nestjs",
"nest"
] | I updated @nestjs/common from version `^6.8.3` to version `^7.6.5`
And I got that error:
```
[Nest] 55720 - 01/13/2021, 2:32:24 PM [ExceptionHandler] Cannot read property 'IMPORTS' of undefined +8ms
TypeError: Cannot read property 'IMPORTS' of undefined
at DependenciesScanner.scanForModules (/home/itamard/... | Cannot read property 'IMPORTS' of undefined | https://api.github.com/repos/nestjs/nest/issues/6143/comments | 2 | 2021-01-13T13:08:15Z | 2021-01-13T16:44:29Z | https://github.com/nestjs/nest/issues/6143 | 785,090,060 | 6,143 |
[
"nestjs",
"nest"
] | ## Feature Request
## Is your feature request related to a problem? Please describe.
Due to how `NestFactory.create` works, we are seeing non-json log lines in our logs, further more, these all include ansi escape codes, as Nest's default logger using coloured/pretty output.
I can supply a third argument to `N... | Ability to pipe Nest application startup logs to loggers like pino | https://api.github.com/repos/nestjs/nest/issues/6142/comments | 5 | 2021-01-13T11:24:37Z | 2021-01-14T16:03:01Z | https://github.com/nestjs/nest/issues/6142 | 785,021,039 | 6,142 |
[
"nestjs",
"nest"
] | I'm trying the migration using nestjs/typeorm on production.
On development (localhost), migration successfly, but production is not.
According to error messages, there are no configration files.
Is `typeOrmModule.forRootAsync` used incorrectly?
Does anyone know what the problem is?
Error message
```
Err... | Error "No connection options were found in any orm configuration files" on production. | https://api.github.com/repos/nestjs/nest/issues/6140/comments | 1 | 2021-01-13T07:39:30Z | 2021-01-13T08:02:05Z | https://github.com/nestjs/nest/issues/6140 | 784,868,668 | 6,140 |
[
"nestjs",
"nest"
] | ## Feature Request
I want you to add a new method `ExecutionContext.getModule()`.
The `ExecutionContext.getModule()` would return a type of the module who is related with the request.
## Is your feature request related to a problem? Please describe.
I often develop a http(s) server who encrypts all of the r... | ExecutionContext.getModule() | https://api.github.com/repos/nestjs/nest/issues/6138/comments | 3 | 2021-01-13T05:02:03Z | 2021-01-14T09:08:39Z | https://github.com/nestjs/nest/issues/6138 | 784,789,956 | 6,138 |
[
"nestjs",
"nest"
] | I'm trying to set up a schema first implementation of the documentation https://docs.nestjs.com/graphql/federation and I don't see in the User resolver the resolve field for posts, and I'm having a trouble returning the array of posts for a given user. Any help would be appreciated. | Federation Documentation Seems Incomplete | https://api.github.com/repos/nestjs/nest/issues/6137/comments | 3 | 2021-01-12T16:49:38Z | 2021-01-13T08:45:39Z | https://github.com/nestjs/nest/issues/6137 | 784,406,264 | 6,137 |
[
"nestjs",
"nest"
] | I'm trying to set up a schema first implementation of the documentation https://docs.nestjs.com/graphql/federation and I don't see in the User resolver the resolve field for posts, and I'm having a trouble returning the array of posts for a given user. Any help would be appreciated. | Federation Documentation seems incomplete | https://api.github.com/repos/nestjs/nest/issues/6136/comments | 0 | 2021-01-12T16:49:15Z | 2021-01-12T16:49:54Z | https://github.com/nestjs/nest/issues/6136 | 784,405,976 | 6,136 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
Build fails when using the `--only=production` flag with `npm ci`.
## Input Code
I have a multi-stage Docker build that should only include production dependencies.
This is my Docker file:
```dockerfile
FROM node:14-alpine as build
WORKDIR /usr/home/build
RUN npm i -g @n... | Build of NestJS project fails when "--only=production" is used for "npm ci" | https://api.github.com/repos/nestjs/nest/issues/6134/comments | 1 | 2021-01-12T11:19:23Z | 2021-01-13T08:47:31Z | https://github.com/nestjs/nest/issues/6134 | 784,146,858 | 6,134 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
The current class-validator ValidatoOptions is outdated and does not match the definition from the latest class-validator package.
## Possible Solution
Update the class-validation [validator-options.interface](https://github.com/nestjs/nest/blob/master/packages/common/interface... | Update class-validator interface | https://api.github.com/repos/nestjs/nest/issues/6131/comments | 2 | 2021-01-12T08:07:31Z | 2021-01-13T11:35:59Z | https://github.com/nestjs/nest/issues/6131 | 784,010,936 | 6,131 |
[
"nestjs",
"nest"
] | ## Feature Request
## Describe the solution you'd like
<!-- A clear and concise description of what you want to happen. Add any considered drawbacks. -->
The current way of configuring the service is a bit inconvenient for me and I hope to support the following usage
```ts
const app = await NestFactory.creat... | [Feature] inject provider by NestFactory.create | https://api.github.com/repos/nestjs/nest/issues/6123/comments | 1 | 2021-01-11T10:16:27Z | 2021-01-11T10:18:36Z | https://github.com/nestjs/nest/issues/6123 | 783,240,918 | 6,123 |
[
"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. ... | NestFactory.create provider | https://api.github.com/repos/nestjs/nest/issues/6122/comments | 0 | 2021-01-11T09:48:49Z | 2021-01-11T09:48:55Z | https://github.com/nestjs/nest/issues/6122 | 783,221,422 | 6,122 |
[
"nestjs",
"nest"
] | ## Feature Request
The current strategy of topic creation for kafka microservices does not follow best practice. For each `EventPattern` decorator in some Kafka microservice controller, a new topic is created in Kafka. This is contrary to best practices (see: [confluent article](https://www.confluent.io/blog/put-sever... | [microservices] Extend EventPattern to listen for event types within a specified topic with Kafka [type:feat] | https://api.github.com/repos/nestjs/nest/issues/6119/comments | 2 | 2021-01-09T23:22:53Z | 2021-01-22T22:13:29Z | https://github.com/nestjs/nest/issues/6119 | 782,704,495 | 6,119 |
[
"nestjs",
"nest"
] | ## Feature Request
## Is your feature request related to a problem? Please describe.
The "cors" library allows us to set the [configuration asynchronously](https://github.com/expressjs/cors#configuring-cors-asynchronously). This cannot be use with enableCors method, we need to do some workarounds.
## Describe th... | Configuring CORS Asynchronously | https://api.github.com/repos/nestjs/nest/issues/6118/comments | 13 | 2021-01-09T16:55:10Z | 2021-01-26T07:26:08Z | https://github.com/nestjs/nest/issues/6118 | 782,644,719 | 6,118 |
[
"nestjs",
"nest"
] | The fix to #5964 introduced in bacef33be17f618589af5bd430320a94ad2d4ba2 seems incomplete. Because the provided token gets serialized as a string, using `provide: Symbol()` gets serialized as `"Symbol()"` which leads to the same collapse as in the initial issue.
By design, `Symbol() !== Symbol()` so treating them as ... | Dynamic modules serialize symbol providers as strings | https://api.github.com/repos/nestjs/nest/issues/6117/comments | 5 | 2021-01-09T10:41:05Z | 2021-01-11T12:04:18Z | https://github.com/nestjs/nest/issues/6117 | 782,580,719 | 6,117 |
[
"nestjs",
"nest"
] | ## Bug Report
I am trying to give namespaces to my gateways.
like so:
`
@WebSocketGateway({ namespace: '/messages' })
`
After adding a namespace, I get the following error:
UnhandledPromiseRejectionWarning: TypeError: shared_utils_1.addLeadingSlash is not a function
(node:10226) UnhandledPromiseRejectio... | UnhandledPromiseRejectionWarning: TypeError: shared_utils_1.addLeadingSlash is not a function | https://api.github.com/repos/nestjs/nest/issues/6115/comments | 4 | 2021-01-09T05:06:51Z | 2021-01-12T07:59:29Z | https://github.com/nestjs/nest/issues/6115 | 782,514,757 | 6,115 |
[
"nestjs",
"nest"
] | I have a custom Param Decorator in my code:
```
export const AuthUser = createParamDecorator((_, context: ExecutionContext):
| AuthUserEntity
| undefined => {
const gqlCtx = GqlExecutionContext.create(context);
return gqlCtx.getContext<AuthenticatedContext>().user;
});
```
This param decorator retr... | How to mock GqlExecutionContext using ts-mockito | https://api.github.com/repos/nestjs/nest/issues/6112/comments | 9 | 2021-01-08T15:23:41Z | 2022-07-28T21:04:02Z | https://github.com/nestjs/nest/issues/6112 | 782,194,271 | 6,112 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
Cannot get environment variables in any module
## Input Code
```ts
import { Module } from '@nestjs/common';
import { AppController } from './app.controller';
import { ApiModule } from './api/api.module';
import { MongooseModule } from '@nestjs/mongoose';
import { ConfigMod... | IsGlobal of ConfigModule is invalid | https://api.github.com/repos/nestjs/nest/issues/6110/comments | 2 | 2021-01-08T12:52:38Z | 2021-01-08T16:22:22Z | https://github.com/nestjs/nest/issues/6110 | 782,098,129 | 6,110 |
[
"nestjs",
"nest"
] | I am creating a centralized microservice which will receive commands from all possible places.
This microservice will be hosted on a dedicated server, that is why I want to connect externally and not internally as the documentation shows, I have tried host / port, but it does not work, is there something I missed?
``... | @Nestjs/microservices, External TCP connection | https://api.github.com/repos/nestjs/nest/issues/6106/comments | 2 | 2021-01-07T21:46:00Z | 2021-11-30T07:36:36Z | https://github.com/nestjs/nest/issues/6106 | 781,631,755 | 6,106 |
[
"nestjs",
"nest"
] | ## Bug Report
I am working on the refresh-token function of the application. After configuring each file, the token uses refresh-token to verify that the refresh-token always prompts 401
## Current behavior
<!-- Describe how the issue manifests. -->
## Input Code
<!-- REPL or Repo link if applicable: -->
... | Use refresh-token to verify refresh-token always prompt 401 | https://api.github.com/repos/nestjs/nest/issues/6105/comments | 1 | 2021-01-07T15:12:30Z | 2021-01-07T16:10:05Z | https://github.com/nestjs/nest/issues/6105 | 781,384,702 | 6,105 |
[
"nestjs",
"nest"
] | hi .
Lucid is one of the best packages available that has a very large and simple structure.
Unfortunately, to use this package, you need to use the Adonis framework.
I do not want to use it.
I will write some examples of the code of this package, maybe you will agree with me:
sample relationship:
```
... | please add Lucid ORM to Nest js | https://api.github.com/repos/nestjs/nest/issues/6093/comments | 5 | 2021-01-06T23:27:21Z | 2021-01-07T07:53:30Z | https://github.com/nestjs/nest/issues/6093 | 780,910,768 | 6,093 |
[
"nestjs",
"nest"
] | I'm reading the documentation of Nest.js and am puzzled at two contradictory information. When declaring a module, I have to explicitely tell what providers this module exposes:
https://docs.nestjs.com/modules#modules
> providers | the providers that will be instantiated by the Nest injector and that may be share... | Why do I have to declare a class as a Provider twice? | https://api.github.com/repos/nestjs/nest/issues/6081/comments | 17 | 2021-01-05T10:35:09Z | 2021-02-12T12:17:18Z | https://github.com/nestjs/nest/issues/6081 | 778,852,724 | 6,081 |
[
"nestjs",
"nest"
] | It looks like this has already been fixed https://github.com/nestjs/nest/commit/4603979d67bb20a2c61decda04d5bfed4442b98c , just needs a release
```
┌───────────────┬──────────────────────────────────────────────────────────────┐
│ high │ Server-Side Request Forgery │
├──... | Axios security vulnerability 1594 | https://api.github.com/repos/nestjs/nest/issues/6075/comments | 2 | 2021-01-05T01:20:08Z | 2021-01-05T04:01:21Z | https://github.com/nestjs/nest/issues/6075 | 778,493,104 | 6,075 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
<!-- Describe how the issue manifests. -->
Command line startup error
npm start
```
hr-s-node git:(master) ✗ npm start
> hr-service-node@0.0.1 start
> nest start
[Nest] 50127 - 2021/01/05 上午6:13:08 [NestFactory] Starting Nest application...
[Nest] 50127 - 2... | Nest can't resolve dependencies of the UsersService (UserEntityRepository, ?) | https://api.github.com/repos/nestjs/nest/issues/6072/comments | 2 | 2021-01-04T22:21:26Z | 2021-01-07T19:22:39Z | https://github.com/nestjs/nest/issues/6072 | 778,413,253 | 6,072 |
[
"nestjs",
"nest"
] | I don't know if it is bug
## Input Code
```typescript
@Controller('a')
export class AController {
constructor(protected readonly aServer: AService) {}
protected status = false;
@Post()
private save() {
this.aServer.save(this.status)
}
@Get()
query() {
thi... | How to inherit the controller without exposing private members | https://api.github.com/repos/nestjs/nest/issues/6067/comments | 1 | 2021-01-03T21:11:04Z | 2021-01-04T07:52:07Z | https://github.com/nestjs/nest/issues/6067 | 777,717,211 | 6,067 |
[
"nestjs",
"nest"
] | I have in app.module such fragment of code:
```typescript
@Module({
imports: [
ConfigModule.forRoot({
envFilePath: `env/${(process.env.NODE_ENV || 'local').toLowerCase()}.env`,
validationSchema: Joi.object({
TYPEORM_HOST: Joi.required(),
TYPEORM_PORT: Joi.number().default(543... | `envFilePath` in `ConfigModule.forRoot` function won't evaluate `process.env.NODE_ENV` | https://api.github.com/repos/nestjs/nest/issues/6064/comments | 8 | 2021-01-02T17:18:58Z | 2021-01-04T08:16:27Z | https://github.com/nestjs/nest/issues/6064 | 777,494,435 | 6,064 |
[
"nestjs",
"nest"
] | I was thinking to package some request from client into one single request, then remap into seprated requests to different controlers to process, then after all, gether the result into one single response and return to client.
the purpose to do so is try to reduce the request number, that would some kind of optimiz... | is there a solution to create a http gateaway which can accept bundle requests | https://api.github.com/repos/nestjs/nest/issues/6061/comments | 1 | 2021-01-01T13:05:00Z | 2021-01-01T16:49:25Z | https://github.com/nestjs/nest/issues/6061 | 777,281,916 | 6,061 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
Very simple to reproduce.
Some kind to start listening
```
const microservice = app.connectMicroservice({
transport: Transport.GRPC,
options: {
url: `0.0.0.0:${configService.gRPCListeningPort}`,
package: [MAIN_NET_DATA_SERVICE_PACKAGE_NAME, STN_DA... | Calling listen on microservice or startAllMicroServices doesn't not throw a catchable error when port is in use | https://api.github.com/repos/nestjs/nest/issues/6060/comments | 1 | 2021-01-01T09:33:45Z | 2021-01-02T15:55:36Z | https://github.com/nestjs/nest/issues/6060 | 777,252,065 | 6,060 |
[
"nestjs",
"nest"
] | Hello Guys, I speak from Brazil and I don't speak English very well. I have a question about how to map an array in Nestjs. Is this usually done on Interceptors? I used the Interceptor but was unsuccessful, I have a repository that returns an array of objects and I need to do a replace in two fields that comes from the... | [DISCUSSION] I have a question about how to map an array in Nestjs | https://api.github.com/repos/nestjs/nest/issues/6059/comments | 1 | 2020-12-31T21:31:38Z | 2020-12-31T21:43:18Z | https://github.com/nestjs/nest/issues/6059 | 777,141,746 | 6,059 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
<!-- Describe how the issue manifests. -->
swagger cat not handle @Body() if is a complex structure, but I find it can handle the same structure in response, can it also support in @Body()?
## Input Code
<!-- REPL or Repo link if applicable: -->
Here is my code.
```ts
c... | swagger plugin cat not handle @Body() if is a complex structure | https://api.github.com/repos/nestjs/nest/issues/6057/comments | 2 | 2020-12-31T11:47:49Z | 2023-05-26T14:02:21Z | https://github.com/nestjs/nest/issues/6057 | 776,934,266 | 6,057 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
According to the [documentation](https://docs.nestjs.com/microservices/nats#options) the NatsOptions does have the same properties as the [nats.js connect options](https://github.com/nats-io/nats.js#connect-options).
Actually it does have fewer properties, e.g. `token` or `time... | NatsOptions is not on par with nats.js connect options | https://api.github.com/repos/nestjs/nest/issues/6054/comments | 2 | 2020-12-30T20:23:20Z | 2021-01-06T12:31:08Z | https://github.com/nestjs/nest/issues/6054 | 776,622,642 | 6,054 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
I'm trying to connect two microservices using regular TCP transport and it is throwing this error
ValidationError: Invalid JoiPipeOptions: "pattern" is not allowed
Error details
```json
details: [
{
"message": "'pattern' is not allowed",
"path": ["Array"]... | MessagePattern is throwing a validationError | https://api.github.com/repos/nestjs/nest/issues/6053/comments | 6 | 2020-12-30T11:39:29Z | 2022-02-16T09:06:11Z | https://github.com/nestjs/nest/issues/6053 | 776,414,173 | 6,053 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
Closing the Nest App does not await until all logfiles have been written. The `LoggerService` class has no preparation for a flush or finish mechanism. Therefore, the logfiles are incomplete and do not contain late messages, e.g. from `onModuleDestroy()`. The console output might b... | Logger is not flushed on shutdown -> incomplete logfiles | https://api.github.com/repos/nestjs/nest/issues/6047/comments | 1 | 2020-12-29T17:59:35Z | 2020-12-29T21:33:50Z | https://github.com/nestjs/nest/issues/6047 | 776,019,581 | 6,047 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
I'm trying to set up a Typeform + NestJS but failed to do so when setting up entities. I'm seeing an error when running `nest start`.
I tried this [solution](https://github.com/nestjs/nest/issues/4283) but didn't help me.
```js
[Nest] 15144 - 12/29/2020, 6:41:09 PM [Exce... | [ExceptionHandler] Cannot use import statement outside a module | https://api.github.com/repos/nestjs/nest/issues/6046/comments | 1 | 2020-12-29T11:01:39Z | 2020-12-29T14:11:37Z | https://github.com/nestjs/nest/issues/6046 | 775,832,797 | 6,046 |
[
"nestjs",
"nest"
] | ## Bug Report
### Current behavior
If I put a json file outside the src folder and I want to use it inside a typescript file with _resolveJsonModule_ flag, the build produce a dist folder without the main.js, so if I run the command `npm run start:prod` it doesn't works.
### Software versions
```cmd
λ node -v
v... | Build problem using resolveJsonModule | https://api.github.com/repos/nestjs/nest/issues/6045/comments | 1 | 2020-12-29T10:51:39Z | 2020-12-29T11:09:08Z | https://github.com/nestjs/nest/issues/6045 | 775,828,634 | 6,045 |
[
"nestjs",
"nest"
] | ## Bug Report
I hoped to inject an object of epcRepository when loaded instance's partner service class. but I got an empty object like followings. plz help me.
## Current behavior
<!-- Describe how the issue manifests. -->
[Nest] 33953 - 2020-12-28 17:19:30 [InstanceLoader] TypeOrmModule dependencies in... | I got an empty object when loaded Instance on constructor . | https://api.github.com/repos/nestjs/nest/issues/6032/comments | 1 | 2020-12-28T08:33:59Z | 2020-12-28T08:45:33Z | https://github.com/nestjs/nest/issues/6032 | 775,279,432 | 6,032 |
[
"nestjs",
"nest"
] | ## Feature Request
BDD test case feature req
| BDD test case feature req | https://api.github.com/repos/nestjs/nest/issues/6031/comments | 1 | 2020-12-28T07:51:34Z | 2020-12-28T07:56:14Z | https://github.com/nestjs/nest/issues/6031 | 775,261,020 | 6,031 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
A fresh nestjs install requires microservices
## Input Code
<!-- REPL or Repo link if applicable: -->
```ts
npm WARN @nestjs/core@7.6.4 requires a peer of @nestjs/microservices@^7.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN @nestjs/test... | Peer Deps | https://api.github.com/repos/nestjs/nest/issues/6028/comments | 5 | 2020-12-28T00:00:42Z | 2020-12-29T18:54:13Z | https://github.com/nestjs/nest/issues/6028 | 775,131,409 | 6,028 |
[
"nestjs",
"nest"
] | While browsing through the Code, I found the usage of this empty function:
https://github.com/nestjs/nest/blob/bfc7bea887a80f7fd29776417c679c77b452709c/integration/scopes/src/request-chain/helper/helper.service.ts#L8
Can this be treated as an Issue or a PR raised for the same? | Found Usage of Empty Functions | https://api.github.com/repos/nestjs/nest/issues/6027/comments | 1 | 2020-12-27T11:31:20Z | 2020-12-27T18:06:17Z | https://github.com/nestjs/nest/issues/6027 | 775,021,680 | 6,027 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
We're currently have multiple modules implementing websocket gateways. All of the gateways using the exact same configuration (namespace, path, transports e.g.). The Only difference is the business logic inside of the particular gateway for its module.
How ever we discovered tha... | WebSocketGateway + MaxListenerExceededWarning with gateway options | https://api.github.com/repos/nestjs/nest/issues/6026/comments | 3 | 2020-12-27T11:00:48Z | 2022-07-24T09:20:45Z | https://github.com/nestjs/nest/issues/6026 | 775,017,329 | 6,026 |
[
"nestjs",
"nest"
] | I want to know how can i use peerjs in nest.js, if i'm using in the main.ts file its working fine, but i want to use it in a custom file.
Like in simple express file we can use it like this.
```
const express = require('express');
const { ExpressPeerServer } = require('peer');
const app = express();
app.ge... | nestjs peerjs | https://api.github.com/repos/nestjs/nest/issues/6024/comments | 2 | 2020-12-26T19:30:43Z | 2023-03-10T10:15:17Z | https://github.com/nestjs/nest/issues/6024 | 774,922,615 | 6,024 |
[
"nestjs",
"nest"
] | This is the one of the main things that is stopping JavaScript from taking over the embedded systems development. The ability to hide source code and also to eliminate the use of node_modules in the end. Inspiration taken from golang which compiles into one binary that is not dependent on anything except OS.
| Ability to convert entire app into a single binary like Golang | https://api.github.com/repos/nestjs/nest/issues/6023/comments | 1 | 2020-12-26T04:10:07Z | 2020-12-26T19:51:21Z | https://github.com/nestjs/nest/issues/6023 | 774,818,470 | 6,023 |
[
"nestjs",
"nest"
] | ## Bug Report
1. use nest cli create 2 empty libs: `demo` and `demo1`
2. import the 2 libs in `AppModule`
## Current behavior
<!-- Describe how the issue manifests. -->
- npm start (⭕ )
- npm run test:e2e (❌ )
## Input Code
<!-- REPL or Repo link if applicable: -->
https://codesandbox.io/s/nestjs-libs-... | libs if one's name is other's prefix will fail tests | https://api.github.com/repos/nestjs/nest/issues/6020/comments | 6 | 2020-12-25T05:46:54Z | 2020-12-28T13:40:47Z | https://github.com/nestjs/nest/issues/6020 | 774,638,344 | 6,020 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
sample/02-gateways doesn't seem to work against latest redis-io.adapter npm version.
## Input Code
```
src/adapters/redis-io.adapter.ts:5:22 - error TS2349: This expression is not callable.
Type 'typeof import("/home/nikita/Projects/app-nestjs/node_modules/socket.io-redis... | Update sample/02-gateways to support latest socket.io-redis | https://api.github.com/repos/nestjs/nest/issues/6019/comments | 1 | 2020-12-24T18:17:02Z | 2020-12-24T18:21:30Z | https://github.com/nestjs/nest/issues/6019 | 774,530,626 | 6,019 |
[
"nestjs",
"nest"
] | ## Feature Request

| has micro server and ValidationPipe demo? | https://api.github.com/repos/nestjs/nest/issues/6018/comments | 1 | 2020-12-24T16:49:38Z | 2020-12-24T16:55:59Z | https://github.com/nestjs/nest/issues/6018 | 774,511,099 | 6,018 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
take the following proto
```
rpc GetLargestBlocksSizes24 (GetLargestBlocksSizes24hRequest) returns (GetLargestBlocksSizes24hResponse) {}
rpc GetLargestBlocksSizes48h (GetLargestBlocksSizes24hRequest) returns (GetLargestBlocksSizes24hResponse) {}
rpc GetLargestBlocksSi... | GRPC method name that ends with numbers and letters fails reports "not provided" | https://api.github.com/repos/nestjs/nest/issues/6017/comments | 3 | 2020-12-24T13:46:43Z | 2020-12-28T09:14:35Z | https://github.com/nestjs/nest/issues/6017 | 774,454,867 | 6,017 |
[
"nestjs",
"nest"
] | ## Feature Request
[AsyncLocalStorage](https://nodejs.org/api/async_hooks.html#async_hooks_class_asynclocalstorage) can probably be useful for handling Authentication/Authorization and also for [DataLoader](https://github.com/krislefeber/nestjs-dataloader), especially in GraphQL use cases.
## Is your feature requ... | Support AsyncLocalStorage for better flexibility | https://api.github.com/repos/nestjs/nest/issues/6012/comments | 3 | 2020-12-23T17:30:37Z | 2021-04-21T06:24:50Z | https://github.com/nestjs/nest/issues/6012 | 773,949,212 | 6,012 |
[
"nestjs",
"nest"
] |
## Current behavior
Calling populate returns an empty array.
But removing the populate() method returns an array with the ids
## Input Code
<!-- REPL or Repo link if applicable: -->
```ts
//my schema
export const CrewSchema = new Schema(
{
_id: { type: String, default: shortid.generate },
n... | Issue with mongoose populate | https://api.github.com/repos/nestjs/nest/issues/6010/comments | 1 | 2020-12-23T12:56:13Z | 2020-12-23T20:14:58Z | https://github.com/nestjs/nest/issues/6010 | 773,733,504 | 6,010 |
[
"nestjs",
"nest"
] | ## Bug Report
When I start a project,I have the following problems
```bash
➜ project-name (master) ✗ npm run start
> project-name@0.0.1 start /Users/MiG/Documents/Learning/Node.js/nestjs/project-name
> nest start
node_modules/typescript/lib/lib.dom.d.ts:16391:11 - error TS2430: Interface 'WebGL2RenderingCont... | Interface 'WebGL2RenderingContext' incorrectly extends interface 'WebGL2RenderingContextBase' | https://api.github.com/repos/nestjs/nest/issues/6008/comments | 1 | 2020-12-23T04:35:54Z | 2020-12-23T07:55:55Z | https://github.com/nestjs/nest/issues/6008 | 773,478,789 | 6,008 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
<!-- Describe how the issue manifests. -->
If I want to implment jwt authentication, I have to config jwt secret or rsa keys twice. The one is in
```ts
JwtModule.register({
secret: jwtConstants.secret,
signOptions: { expiresIn: '60s' },
})
```
the other ... | why must I config jwt twice? | https://api.github.com/repos/nestjs/nest/issues/6003/comments | 2 | 2020-12-22T15:58:00Z | 2020-12-22T16:04:07Z | https://github.com/nestjs/nest/issues/6003 | 773,053,076 | 6,003 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
I need to use param and query decorator in same function, but its giving me 404 error
## Input Code
`@Get('count/:userId')
async getCount(@Param('userId') userId: any = 0, @Query() query, @Res() res) {
const count = await this.service.getCount(userId, query);
... | Query and Params decorator cannot be used in same function? | https://api.github.com/repos/nestjs/nest/issues/6000/comments | 3 | 2020-12-22T07:35:30Z | 2020-12-22T16:02:22Z | https://github.com/nestjs/nest/issues/6000 | 772,717,505 | 6,000 |
[
"nestjs",
"nest"
] | ## Feature Request
## Is your feature request related to a problem? Please describe.
When creating a new `INestApplication` using `NestFactory` in the `main.ts` file, we can of course use application globals, like `app.useGlobalFilters()` or `app.useGlobalInterceptor()` for example.
So far so good, but when I wa... | [Proposal] Reflect the application globals in an end-to-end test (@nestjs/testing) | https://api.github.com/repos/nestjs/nest/issues/5995/comments | 3 | 2020-12-21T23:29:48Z | 2020-12-22T09:03:10Z | https://github.com/nestjs/nest/issues/5995 | 772,528,401 | 5,995 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
Using dynamic namespace, say user ID for example, after restart nest server, the first client's works as excepted, whoever that may be, but next user, he cannot trigger the handle connection handler on the gateway any more. Even close all the socket, and reconnect, same. The first ... | Gateway ignores non-first connection when using dynamic namespace | https://api.github.com/repos/nestjs/nest/issues/5993/comments | 7 | 2020-12-21T18:34:42Z | 2021-07-14T06:32:47Z | https://github.com/nestjs/nest/issues/5993 | 772,380,015 | 5,993 |
[
"nestjs",
"nest"
] | ## Bug Report
I am experiencing a bug for > 4 days and I can't get around it.
## Current behavior
<!-- Describe how the issue manifests. -->
Any controller returns result, I'd see in the console the following stacktrace with no further details:
```
domain.js:547
domain.enter();
^
TypeError: doma... | TypeError: domain.enter is not a function | https://api.github.com/repos/nestjs/nest/issues/5985/comments | 18 | 2020-12-20T09:45:14Z | 2020-12-21T23:20:21Z | https://github.com/nestjs/nest/issues/5985 | 771,551,866 | 5,985 |
[
"nestjs",
"nest"
] | ## Bug Report
I am using the redis transporter on nestjs microservice to connect to my redis managed db hosted on digitalocean and I keep getting error after a few minutes of starting my service.
NOTE: This error didn't show up on the nestjs microservice client connection just consumer services
The redis connecti... | Error when connecting REDIS microservice transporter on digitalocean managed database | https://api.github.com/repos/nestjs/nest/issues/5981/comments | 1 | 2020-12-18T08:40:27Z | 2020-12-18T09:08:09Z | https://github.com/nestjs/nest/issues/5981 | 770,700,813 | 5,981 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
on uploading file, value of file is undefined
## Input Code
<!-- REPL or Repo link if applicable: -->
```ts
@Post('upload')
@UseInterceptors(FileInterceptor('file'))
uploadFile(@UploadedFile() file) {
console.log(file);
}
```
```
POST /digital-verification-de... | File upload doesn't work as expected | https://api.github.com/repos/nestjs/nest/issues/5979/comments | 11 | 2020-12-18T02:20:35Z | 2024-11-21T17:45:51Z | https://github.com/nestjs/nest/issues/5979 | 770,512,762 | 5,979 |
[
"nestjs",
"nest"
] | I need to write a http header interceptor to add Authorization header, if there is 401 error, submit another request for new token, then resubmit the original request with the new token.
catchError(async error => {
if (error.response.status === 401) {
// get a new token
// then resubmit the... | How to catch 401 error and then resubmit original request | https://api.github.com/repos/nestjs/nest/issues/5978/comments | 1 | 2020-12-18T02:00:06Z | 2020-12-18T07:53:18Z | https://github.com/nestjs/nest/issues/5978 | 770,505,426 | 5,978 |
[
"nestjs",
"nest"
] | ## Bug Report
Kafka Microservice does not validate dto's. kafka payload response is incorrect according to docs.
## Current behavior
```
@MessagePattern('hero.kill.dragon')
killDragon(@Payload() message: KillDragonMessage): any
```
it does not output `KillDragonMessage` interface but interface `IncomingMessa... | Kafka Microservice Does not validate DTO | https://api.github.com/repos/nestjs/nest/issues/5974/comments | 37 | 2020-12-17T21:23:14Z | 2022-07-13T06:41:36Z | https://github.com/nestjs/nest/issues/5974 | 770,377,823 | 5,974 |
[
"nestjs",
"nest"
] | My controller has a downloadFile endpoint, uploadFile and deleteFile endpoint. I need help with testing those endpoints | I want help with rest api testing which downloads a file | https://api.github.com/repos/nestjs/nest/issues/5971/comments | 1 | 2020-12-17T16:49:16Z | 2020-12-17T16:51:04Z | https://github.com/nestjs/nest/issues/5971 | 770,206,264 | 5,971 |
[
"nestjs",
"nest"
] | I try pull latest code in master branch
Follow step
```
cd sample/08-webpack
npm i
npm run build:dev
```
Error apper
```
> nest-typescript-starter@1.0.0 build:dev
> nest build --watch --webpack --webpackPath webpack-hmr.config.js
Info Webpack is building your sources...
Error The 'compilation'... | Sample build error | https://api.github.com/repos/nestjs/nest/issues/5969/comments | 2 | 2020-12-17T15:04:33Z | 2020-12-17T16:58:40Z | https://github.com/nestjs/nest/issues/5969 | 770,122,947 | 5,969 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
When running `npm i` on https://github.com/nestjs/nest with Node v14, there's a failure to install **fsevents**. It appears that v1 of it [has been deprecated](https://www.npmjs.com/package/fsevents/v/1.2.9) and can't be used anymore on Node v14.
## Possible Solution
<!--- Only... | Nest core doesn't compile on Node v14 | https://api.github.com/repos/nestjs/nest/issues/5967/comments | 1 | 2020-12-17T14:28:38Z | 2020-12-17T14:53:21Z | https://github.com/nestjs/nest/issues/5967 | 770,093,938 | 5,967 |
[
"nestjs",
"nest"
] | Using `provide: Symbol()` with dynamic modules leads to strange behaviors and missing providers
Consider the `TestModule` :
```typescript
@Module({})
export class TestModule {
public static forRoot (): DynamicModule {
return {
module: TestModule,
global: true,
... | Missing symbol providers on dynamic modules | https://api.github.com/repos/nestjs/nest/issues/5964/comments | 3 | 2020-12-17T09:04:44Z | 2021-01-07T11:50:42Z | https://github.com/nestjs/nest/issues/5964 | 769,730,587 | 5,964 |
[
"nestjs",
"nest"
] | Hi,
trying to implement a wesocket gateway.
The connection from the the client works fine but the server is unable to recieve any data from the client
Environment:
`"@nestjs/cli": "^7.5.1",`
Server code
```
import { Logger } from '@nestjs/common';
import {
MessageBody,
OnGatewayConnection,
OnGate... | @SubscribeMessage not working | https://api.github.com/repos/nestjs/nest/issues/5960/comments | 3 | 2020-12-16T22:28:04Z | 2020-12-16T23:50:32Z | https://github.com/nestjs/nest/issues/5960 | 769,316,429 | 5,960 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
<!-- Describe how the issue manifests. -->
If logger is set in the callback of the `app.listen` when starting the app, it would return the following error.
```ts
TypeError: Cannot read property 'getTimestamp' of undefined
at Function.printMessage (C:\docker\nest-app\node_mo... | Logger false would return "Cannot read property 'getTimestamp' of undefined" | https://api.github.com/repos/nestjs/nest/issues/5959/comments | 2 | 2020-12-16T16:29:21Z | 2021-01-20T03:33:41Z | https://github.com/nestjs/nest/issues/5959 | 769,069,492 | 5,959 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
When throwing an exception within a GraphQL resolver, and then using a global Exception filter that extends `BaseExceptionFilter `, there's an exception inside `BaseExceptionFilter`.
```
{
"errors": [
{
"message": "response.status is not a function",
"loc... | GraphQL doesn't work well with `BaseExceptionFilter` | https://api.github.com/repos/nestjs/nest/issues/5958/comments | 5 | 2020-12-16T15:51:12Z | 2020-12-18T09:19:21Z | https://github.com/nestjs/nest/issues/5958 | 769,023,396 | 5,958 |
[
"nestjs",
"nest"
] | ## Feature Request
## Describe the solution you'd like
In `ClassSerializerInterceptor` (https://github.com/nestjs/nest/blob/master/packages/common/serializer/class-serializer.interceptor.ts) is `getContextOptions` method private.
This means that I cannot properly extend this class and use custom `intercept` meth... | Private methods in ClassSerializerInterceptor make impossible to extend from it | https://api.github.com/repos/nestjs/nest/issues/5957/comments | 5 | 2020-12-16T14:59:55Z | 2020-12-21T09:48:11Z | https://github.com/nestjs/nest/issues/5957 | 768,974,784 | 5,957 |
[
"nestjs",
"nest"
] | ## Feature Request
Use `stderr` on error log made by common `LoggerService`
## 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, common logger service uses only `stdout` but no `stderr` on e... | Use "stderr" too instead of only "stdout" on default nest common Logger | https://api.github.com/repos/nestjs/nest/issues/5952/comments | 2 | 2020-12-16T00:56:14Z | 2020-12-21T07:20:45Z | https://github.com/nestjs/nest/issues/5952 | 768,348,425 | 5,952 |
[
"nestjs",
"nest"
] | I get some address from etcd. so i need to load balance the grpc request, how can i use different address when i send grpc request | how can i set a dynamic to grpc option | https://api.github.com/repos/nestjs/nest/issues/5950/comments | 1 | 2020-12-15T11:43:16Z | 2020-12-15T12:05:32Z | https://github.com/nestjs/nest/issues/5950 | 767,505,903 | 5,950 |
[
"nestjs",
"nest"
] | hi!
I'm trying to enable cors in my server and not being able to do so. I have a NestJS backend using Fastify adapter and GraphQL that is being used by Apollo GraphQL client.
I've added the `enableCors` to my bootstrap module and also the cors configs for my GraphQL module, but it does not seems to work.
Here ... | GraphQL + Fastify CORS does not seems to work | https://api.github.com/repos/nestjs/nest/issues/5943/comments | 5 | 2020-12-14T15:42:05Z | 2020-12-15T08:04:32Z | https://github.com/nestjs/nest/issues/5943 | 766,632,062 | 5,943 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
When absolute paths are configured throught tsconfig.json. The absolute paths don't while while in testing environemnt.
## Input Code
```ts
Test suite failed to run
Cannot find module 'users/users.service' from 'auth/auth.service.ts'
Require stack:
auth/... | Absolute imports don't work in testing environment | https://api.github.com/repos/nestjs/nest/issues/5933/comments | 4 | 2020-12-12T19:27:10Z | 2021-08-02T06:40:53Z | https://github.com/nestjs/nest/issues/5933 | 764,247,172 | 5,933 |
[
"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 [...] -->
Hi! I don't think there's a way to deal with controllers that share the same url prefix.
As described in #2394, if a controller u... | Order of routes sharing the same prefix across multiple controllers | https://api.github.com/repos/nestjs/nest/issues/5931/comments | 2 | 2020-12-12T00:10:21Z | 2020-12-14T10:54:10Z | https://github.com/nestjs/nest/issues/5931 | 763,085,547 | 5,931 |
[
"nestjs",
"nest"
] | ## Bug Report
Adding hot reload with yarn 2 in a new nest project runs the nest server successfully (i.e. `curl localhost:3000` returns "Hello world"), but the output shows a deprecation warning and error messages related to requiring uninstalled packages.
Repro:
1. `nest new`
1. `yarn set version berry && yarn... | Warnings + error messages with hot reload + yarn v2 | https://api.github.com/repos/nestjs/nest/issues/5928/comments | 16 | 2020-12-11T23:25:44Z | 2024-02-26T06:03:37Z | https://github.com/nestjs/nest/issues/5928 | 763,044,770 | 5,928 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
I'm using `WebSocketGateway` with `redis-io` adapter. I'm trying to broadcast a message to all clients that are connected to a room, and I get this exception:
> TypeError: callback is not a function
> [0] at Encoder.encode (E:\Workspace\Web\matan\backend\node_modules\socket... | TypeError: callback is not a function | https://api.github.com/repos/nestjs/nest/issues/5925/comments | 1 | 2020-12-11T10:36:35Z | 2020-12-11T10:41:04Z | https://github.com/nestjs/nest/issues/5925 | 762,219,826 | 5,925 |
[
"nestjs",
"nest"
] | ## Bug Report
shared_utils_1.addLeadingSlash
## Current behavior
<!-- Describe how the issue manifests. -->
## Input Code
<!-- REPL or Repo link if applicable: -->
```ts
const your = (code) => here;
```
## Expected behavior
<!-- A clear and concise description of what you expected to happen (or code). -... | shared_utils_1.addLeadingSlash is not a function | https://api.github.com/repos/nestjs/nest/issues/5920/comments | 4 | 2020-12-11T02:43:41Z | 2020-12-11T07:51:20Z | https://github.com/nestjs/nest/issues/5920 | 761,817,604 | 5,920 |
[
"nestjs",
"nest"
] | We ran into an issue with our TS linter throwing the error `Cannot find module '@nestjs/microservices/external/kafka-options.interface'` after upgrading from `7.5.5` to `7.6.1` for @nestjs/common and @nestjs/core. It appears this is because the release does not include this file.
Our current workaround is to just ke... | Release 7.6.1 does not include the kafka-options.interface file, resulting in TS compilation errors | https://api.github.com/repos/nestjs/nest/issues/5917/comments | 1 | 2020-12-10T22:35:36Z | 2020-12-11T09:12:21Z | https://github.com/nestjs/nest/issues/5917 | 761,674,110 | 5,917 |
[
"nestjs",
"nest"
] | With typeDI I was able to use a decorator to inject a custom service.
I would love to see this kind of feature !
Here is some code to be understood.
```
/**
* Annotation that will inject the logger
*
* Should be use on a constructor parameter
* constuctor(private @Log(//optional{name: 'MyLogger'}))
*
... | Custom injection with decorator | https://api.github.com/repos/nestjs/nest/issues/5912/comments | 3 | 2020-12-10T08:45:13Z | 2020-12-14T08:51:44Z | https://github.com/nestjs/nest/issues/5912 | 761,034,562 | 5,912 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.