issue_owner_repo listlengths 2 2 | issue_body stringlengths 0 262k ⌀ | issue_title stringlengths 1 1.02k | issue_comments_url stringlengths 53 116 | issue_comments_count int64 0 2.49k | issue_created_at stringdate 1999-03-17 02:06:42 2025-06-23 11:41:49 | issue_updated_at stringdate 2000-02-10 06:43:57 2025-06-23 11:43:00 | issue_html_url stringlengths 34 97 | issue_github_id int64 132 3.17B | issue_number int64 1 215k |
|---|---|---|---|---|---|---|---|---|---|
[
"nestjs",
"nest"
] | ## Feature Request
## Is your feature request related to a problem? Please describe.
I want to instantiate transient service that have some additional, **required** parameters that are created dynamically. Because those parameters are required, it is safer to force passing it down through the constructor than some ... | ModuleRef.resolve - allow to pass down additional parameters to constructor of resolved service | https://api.github.com/repos/nestjs/nest/issues/5617/comments | 8 | 2020-10-28T09:56:25Z | 2020-10-30T10:08:08Z | https://github.com/nestjs/nest/issues/5617 | 731,289,928 | 5,617 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
<!-- Describe how the issue manifests. -->
microservices <code>clientProxy.send(pattern, data);</code>
```ts
[ClientTCP] write ECONNRESET - {"stack":["Error: write ECONNRESET
at afterWriteDispatched (internal/stream_base_commons.js:154:25)
at writeGeneric (internal/st... | Cannot catch ECONNRESET for microservice send | https://api.github.com/repos/nestjs/nest/issues/5616/comments | 6 | 2020-10-28T02:45:29Z | 2021-02-09T16:31:55Z | https://github.com/nestjs/nest/issues/5616 | 731,035,916 | 5,616 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
RpcException does not work as expected when it's being used in the `RpcExceptionFilter`
## Input Code
```ts
// Works correctly - client is receiving error with status 5 (NOT_FOUND)
@Controller()
class HeroController {
@GrpcMethod('HeroService', 'FindHero')
public ... | GRPC exception filter always sends UNKNOWN status code | https://api.github.com/repos/nestjs/nest/issues/5615/comments | 4 | 2020-10-28T00:44:43Z | 2020-12-08T10:12:08Z | https://github.com/nestjs/nest/issues/5615 | 730,981,116 | 5,615 |
[
"nestjs",
"nest"
] | can someone please give the straight forward way to get request values(headers/params) in the controller API. Also can we specify this in the DTO for the API request. Didn't find it in the documentation either (found it for express specific for the request but not for fastify- this was for access and not for the DTO) | Why is it so difficult to get a simple step to get the header values of an API request for nestjs fastify/express? | https://api.github.com/repos/nestjs/nest/issues/5614/comments | 2 | 2020-10-27T10:37:05Z | 2020-10-29T08:08:03Z | https://github.com/nestjs/nest/issues/5614 | 730,325,205 | 5,614 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
Whenever i apply a middleware for routes using the ```*``` wildcard, the middleware is not executed.
## Input Code
<!-- REPL or Repo link if applicable: -->
I have this code in ```app.module.ts```:
```ts
consumer.apply(ReceiveWebhookMiddleware).forRoutes({
path: 'webh... | Middleware doesn't work with wildcards | https://api.github.com/repos/nestjs/nest/issues/5613/comments | 4 | 2020-10-27T10:17:13Z | 2020-10-27T17:04:24Z | https://github.com/nestjs/nest/issues/5613 | 730,309,387 | 5,613 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
Middleware with request scoped dependency always executes first than the others without dependencies.
Print from the code is:
```
AuthMiddleware
1
```
When i remove the dependency or remove the REQUEST scope, things just works normally and the output becomes:
```
1
AuthMid... | Middleware with dependency is always executing first | https://api.github.com/repos/nestjs/nest/issues/5612/comments | 3 | 2020-10-27T02:33:59Z | 2020-10-31T18:29:05Z | https://github.com/nestjs/nest/issues/5612 | 730,048,946 | 5,612 |
[
"nestjs",
"nest"
] | ## Regression
<!-- First check out: https://docs.nestjs.com/migration-guide -->
## Potential Commit/PR that introduced the regression**
<!-- If you have time to investigate, what PR/date introduced this issue. -->
https://github.com/nestjs/nest/commit/b2d1d464460304b1eeeb4edbc438d513346b4c0c
## Describe the ... | Compilation fails due to a (documented) bug in axios | https://api.github.com/repos/nestjs/nest/issues/5611/comments | 2 | 2020-10-26T17:01:43Z | 2020-11-02T12:04:00Z | https://github.com/nestjs/nest/issues/5611 | 729,742,482 | 5,611 |
[
"nestjs",
"nest"
] | I'm trying to implement the graceful shutdown with **app.enableShutdownHooks();** along with **onApplicationShutdown** functions. My goal, however is to listen for the SIGINT or SIGTERM signals etc... and when those are sent, wait for any outstanding promises to fully resolve before exiting. It seems like only the code... | Graceful Shutdown for any outstanding promises | https://api.github.com/repos/nestjs/nest/issues/5610/comments | 1 | 2020-10-26T15:25:23Z | 2020-10-27T11:11:34Z | https://github.com/nestjs/nest/issues/5610 | 729,662,627 | 5,610 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
- The current code to connect to web-socket works perfectly fine with development server locally
- In production the server connects to the web-socket on server, but it doesn't listen to the event on server when client trys to emit msg to the event.
- it does not listen to the ... | Websocket @SubscribeMessage is not triggered when user send the msg from the client | https://api.github.com/repos/nestjs/nest/issues/5608/comments | 2 | 2020-10-26T03:26:27Z | 2020-10-27T11:30:43Z | https://github.com/nestjs/nest/issues/5608 | 729,204,920 | 5,608 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
Using the fastify adapter I need to support multipart file upload.
But when I try to upload a file, Fastify states `FastifyError: Unsupported Media Type: multipart/form-data`. When I am using the `fastify-multipart` package and register it, then the following error gets thrown: `F... | FastifyError: Content type parser 'multipart' already present. and Unsupported Media Type: multipart/form-data; | https://api.github.com/repos/nestjs/nest/issues/5607/comments | 3 | 2020-10-25T23:14:58Z | 2021-04-19T13:27:20Z | https://github.com/nestjs/nest/issues/5607 | 729,138,002 | 5,607 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
current declaration is:
```ts
export declare type CustomOrigin = (requestOrigin: string, callback: (err: Error | null, allow?: boolean) => void) => void;
```
## Expected behavior
According to the [doc](https://github.com/expressjs/cors#configuration-options):
_... and a ... | Incorrect CustomOrigin type definition | https://api.github.com/repos/nestjs/nest/issues/5606/comments | 1 | 2020-10-25T17:58:26Z | 2020-11-11T12:07:27Z | https://github.com/nestjs/nest/issues/5606 | 729,076,014 | 5,606 |
[
"nestjs",
"nest"
] | # Bug Report
Not sure if it s a bug or I'm missing something.
## Current behavior
forwardRef module and queue breaks service injection?
## Input Code
I have a UserService that contains multiple circular dependencies with other modules. I can't inject the service along with a queue (UserService is undefined err... | forwardRef module and queue breaks service injection? | https://api.github.com/repos/nestjs/nest/issues/5604/comments | 3 | 2020-10-25T12:17:38Z | 2020-10-26T17:40:24Z | https://github.com/nestjs/nest/issues/5604 | 729,008,305 | 5,604 |
[
"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 [...] -->
"Kafka client and consumer naming conventions can be customized by extending ClientKafka and KafkaServer in your own custom provider a... | ClientKafka and KafkaServer naming conventions become much simpler | https://api.github.com/repos/nestjs/nest/issues/5603/comments | 4 | 2020-10-25T08:08:42Z | 2021-08-25T12:04:56Z | https://github.com/nestjs/nest/issues/5603 | 728,966,508 | 5,603 |
[
"nestjs",
"nest"
] | I has database provider, and the `db.getOptions` function in it will get all options by `ConfigModule` for every connect,but `TypeOrmModuleAsyncOptions` is not array type...
```typescript
@Module({
imports: [
TypeOrmModule.forRootAsync({
useFactory: (db: Database) => db.getOptions(),
... | Import multi typeorm options by configure should been array type | https://api.github.com/repos/nestjs/nest/issues/5602/comments | 2 | 2020-10-24T22:01:47Z | 2020-10-27T11:12:32Z | https://github.com/nestjs/nest/issues/5602 | 728,886,492 | 5,602 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
<!-- Describe how the issue manifests. -->
The payload return the value instead of value.value
## Input Code
<!-- REPL or Repo link if applicable: -->
```ts
@MessagePattern(USER_FIND_BY_USERNAME)
findOneByUsername(
@Payload() dto: UserFindOneByUsernameReqDto
)... | Microservice payload decorator is not working very well | https://api.github.com/repos/nestjs/nest/issues/5601/comments | 2 | 2020-10-24T17:36:03Z | 2020-11-03T08:09:54Z | https://github.com/nestjs/nest/issues/5601 | 728,837,776 | 5,601 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
<!-- Describe how the issue manifests. -->
If two services have circular dependency, NestJS doesn't instantiate them at the start of the application. This is a problem, since in my Open Source project, we usePubSubJS to separate the gamefication logic from the rest of the app, a... | NestJS doesn't instantiate a Provider at the start of the application if the provider has a circular dependency | https://api.github.com/repos/nestjs/nest/issues/5600/comments | 4 | 2020-10-24T14:25:06Z | 2020-10-24T20:53:27Z | https://github.com/nestjs/nest/issues/5600 | 728,800,044 | 5,600 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
<!-- Describe how the issue manifests. -->
I want to rewrite KafkaServer. The option is private.
## Input Code
<!-- REPL or Repo link if applicable: -->
https://github.com/nestjs/nest/blob/master/packages/microservices/server/server-kafka.ts#L45
```ts
import {
KAFKA_DE... | Can not override the KafkaServer constructor | https://api.github.com/repos/nestjs/nest/issues/5599/comments | 2 | 2020-10-23T14:48:38Z | 2020-11-02T12:04:14Z | https://github.com/nestjs/nest/issues/5599 | 728,281,036 | 5,599 |
[
"nestjs",
"nest"
] | ## Feature Request
There should be a way to reorder guards. For example, if I have a `RoleGuard` that checks whether a user has access to a resource (following the tutorial: [Role-based authentication](https://docs.nestjs.com/guards#role-based-authentication)) and I install it globally like [1], and then I have a `J... | Reorder guards to make request.user from JwtAuthGuard available to RoleGuard | https://api.github.com/repos/nestjs/nest/issues/5598/comments | 4 | 2020-10-23T07:53:54Z | 2021-05-03T11:11:52Z | https://github.com/nestjs/nest/issues/5598 | 727,998,870 | 5,598 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
<!-- Describe how the issue manifests. -->
context is udefined
## Input Code
<!-- REPL or Repo link if applicable: -->
```ts
constructor(
private queryBus: QueryBus,
@Inject(CONTEXT) private readonly context: any
) {
}
```
## Expected behavior
<!-- A c... | CONTEXT injection do not work | https://api.github.com/repos/nestjs/nest/issues/5596/comments | 2 | 2020-10-22T17:25:22Z | 2020-10-23T19:42:01Z | https://github.com/nestjs/nest/issues/5596 | 727,582,430 | 5,596 |
[
"nestjs",
"nest"
] |
In my nestjs project I use rmq, supertest.
To send request to application I have some bridge:
```
@Controller()
export class GatewayBridge {
private client: ClientProxy;
constructor(private readonly cfg: ConfigService) {
this.client = ClientProxyFactory.create({
transport: Transport.RMQ,
... | ExecutionContext getHandler return wrong target | https://api.github.com/repos/nestjs/nest/issues/5595/comments | 3 | 2020-10-22T13:50:54Z | 2020-10-29T08:16:58Z | https://github.com/nestjs/nest/issues/5595 | 727,409,344 | 5,595 |
[
"nestjs",
"nest"
] | ## Bug Report
I wanted to try Nest
## Current behavior
I did what is written in the doc:
```
$ npm i -g @nestjs/cli
$ nest new project-name
```
Same with git version, I mean
```
$ git clone https://github.com/nestjs/typescript-starter.git project
$ cd project
$ npm install
$ npm run start
```
And a... | Installation and New project | https://api.github.com/repos/nestjs/nest/issues/5594/comments | 5 | 2020-10-22T09:34:37Z | 2021-03-22T17:52:29Z | https://github.com/nestjs/nest/issues/5594 | 727,220,140 | 5,594 |
[
"nestjs",
"nest"
] | ## Feature Request
I want to have two services in my module named "topics".
topics.service.ts and topics.database.service.ts
I can generate topics.service.ts using the CLI tool, but for another one, I have to create it manually.
Can you add another property, which will indicate the module in which I want give... | CLI - generate service in a module with different name | https://api.github.com/repos/nestjs/nest/issues/5593/comments | 1 | 2020-10-21T18:33:40Z | 2020-10-29T08:17:50Z | https://github.com/nestjs/nest/issues/5593 | 726,765,708 | 5,593 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
<!-- Describe how the issue manifests. -->
ExceptionFilter's @Catch fires twice, so double Console Output is created.
## Input Code
<!-- REPL or Repo link if applicable: -->
See this Repository: https://github.com/Aragur/bug-exception-filter
## Expected behavior
Exception... | ExceptionFilter fires twice | https://api.github.com/repos/nestjs/nest/issues/5592/comments | 8 | 2020-10-21T14:45:07Z | 2024-01-07T09:46:04Z | https://github.com/nestjs/nest/issues/5592 | 726,561,541 | 5,592 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
Dependency injector resolves dependencies using a **class name** instead of a **class reference**. It causes conflicts when two different classes share the same name.
## Input Code
REPL: https://repl.it/@tooleks/CloudyRoundGnuassembler
```TypeScript
// index.ts
impor... | Dependency injector resolves dependencies using a class name instead of a class reference | https://api.github.com/repos/nestjs/nest/issues/5591/comments | 10 | 2020-10-21T11:03:22Z | 2021-01-13T12:18:02Z | https://github.com/nestjs/nest/issues/5591 | 726,374,561 | 5,591 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
In a new nx project with nest preset, after setting a breakpoint somewhere and configuring Visual Studio Code's `Debug -> JavaScript -> Auto Attach Filter` with several configurations, the application will not start and the breakpoint will not hit when running `nx serve`. It does n... | Auto Attach debugging not working with Nx and Visual Studio Code | https://api.github.com/repos/nestjs/nest/issues/5590/comments | 4 | 2020-10-21T01:26:21Z | 2020-10-27T11:35:29Z | https://github.com/nestjs/nest/issues/5590 | 726,055,516 | 5,590 |
[
"nestjs",
"nest"
] | ## Feature Request
## Is your feature request related to a problem? Please describe.
if you use a rabbitmq password that has a slash it is impossible to connect:
```javascript
const user = 'username'
const pwd = 'nGasd!56J/-)Q6'
const host = 'localhost';
const port = 5672;
const microservicePaym... | Microservices - rabbitmq options | https://api.github.com/repos/nestjs/nest/issues/5587/comments | 6 | 2020-10-20T09:40:11Z | 2020-11-02T12:04:18Z | https://github.com/nestjs/nest/issues/5587 | 725,400,761 | 5,587 |
[
"nestjs",
"nest"
] | ## Feature Request
## Is your feature request related to a problem? Please describe.
INestApplicationContext.resolve() does not accept Abstract classes (like .get() does)
## Describe the solution you'd like
It would be great if resolve also accepts of type `Abstract<TInput>`
## Teachability, Documentation, A... | Accept abstract class as argument in INestApplicationContext.resolve() | https://api.github.com/repos/nestjs/nest/issues/5586/comments | 8 | 2020-10-20T02:35:27Z | 2020-11-18T13:06:17Z | https://github.com/nestjs/nest/issues/5586 | 725,134,715 | 5,586 |
[
"nestjs",
"nest"
] | Hi,
I've come across an use-case where a specific "onApplicationBootstrap" method on a service class requires other "onApplicationBootstrap" method on another service class to be already finished to end successfully.
I can't find information whether there is an order defined to the execution of all registered "onApp... | Order of all "onApplicationBootstrap" methods to be fired | https://api.github.com/repos/nestjs/nest/issues/5585/comments | 1 | 2020-10-19T12:42:59Z | 2020-10-29T08:27:04Z | https://github.com/nestjs/nest/issues/5585 | 724,575,141 | 5,585 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
Multer package throws exception while throwing HttpException to validate file upload on the basis of non-file form field as below:
...\dist\interceptors\file-interceptor.js:33
throw new common_1.HttpException({
^
HttpException [Error... | File Upload Validation on the basis of non-file Form Field | https://api.github.com/repos/nestjs/nest/issues/5584/comments | 2 | 2020-10-19T11:05:12Z | 2020-10-20T03:12:05Z | https://github.com/nestjs/nest/issues/5584 | 724,509,031 | 5,584 |
[
"nestjs",
"nest"
] | ## Bug Report
Error is thrown via vsCode
tried to align the versions number with nestjs but it does not work
## Current behavior
`
"message": "No overload matches this call.\n Overload 1 of 2, '(module: any, options?: NestApplicationOptions): Promise<NestFastifyApplication>', gave the following error.\n ... | new FastifyAdapter() throw error - > No overload matches this call | https://api.github.com/repos/nestjs/nest/issues/5582/comments | 2 | 2020-10-19T06:04:38Z | 2023-10-23T07:41:02Z | https://github.com/nestjs/nest/issues/5582 | 724,294,095 | 5,582 |
[
"nestjs",
"nest"
] | ## Feature Request
Hi folks,
### problem
I'm a java dev coming from the Spring universe and just recently started to tinker around with typescript and nestJS (because it is quite similar to Spring). So far I really like it.
What bugs me a bit though is that there is no clear **platform-independent way** of acce... | Provide platform-independant way to access underlying http framework | https://api.github.com/repos/nestjs/nest/issues/5579/comments | 10 | 2020-10-18T11:16:42Z | 2023-08-25T11:43:33Z | https://github.com/nestjs/nest/issues/5579 | 723,984,131 | 5,579 |
[
"nestjs",
"nest"
] | Followed the tutorial
nest new app1
nest generate app1 app2
nest build
nest build "app1"
nest build "app2"
in all cases it builds the default app (app1) have no idea how to make it build all apps, or at least second app too
| monorepo ignores all apps but the main | https://api.github.com/repos/nestjs/nest/issues/5577/comments | 1 | 2020-10-17T05:37:40Z | 2020-10-27T11:31:05Z | https://github.com/nestjs/nest/issues/5577 | 723,675,617 | 5,577 |
[
"nestjs",
"nest"
] | Why is prettier as standard devDependencie installed with nestJs projects? I don't like to use prettier personally, I prefer eslint and I configured it perfectly to my style and liking. So, is there any way around it, to not install it with the nestjs project? can't there be an option during project creation that will ... | [Discussion] Prettier as standard in NestJS project | https://api.github.com/repos/nestjs/nest/issues/5576/comments | 10 | 2020-10-16T23:13:37Z | 2022-09-29T10:17:44Z | https://github.com/nestjs/nest/issues/5576 | 723,580,437 | 5,576 |
[
"nestjs",
"nest"
] | ## Bug Report
Relates to https://github.com/nestjs/nest/issues/4874
## Current behavior
When an event subscriber using @MessagePattern() gets request without reply subject an error will be thrown from NATS that the subject is missing.
```
/tmp/node_modules/nats/lib/nats.js:1619
throw (new NatsError(BAD_... | NATS event handler throw an error when no response subject provided | https://api.github.com/repos/nestjs/nest/issues/5575/comments | 1 | 2020-10-16T10:30:17Z | 2020-10-30T11:46:30Z | https://github.com/nestjs/nest/issues/5575 | 723,101,601 | 5,575 |
[
"nestjs",
"nest"
] | ## Bug Report
I just want to send the data to a broker, not with the pattern.
## Current behavior
I am not sure, if this is a bug. But if I want to publish data on a Mqtt Broker, the Broker gets a JSON object with pattern and data
{
"pattern": "test/test",
"data": "Data is here"
}
Here a screenshot of... | Pattern information in Mqtt publish function - ClientMqtt.emit | https://api.github.com/repos/nestjs/nest/issues/5574/comments | 3 | 2020-10-16T05:43:29Z | 2022-06-22T07:30:31Z | https://github.com/nestjs/nest/issues/5574 | 722,922,050 | 5,574 |
[
"nestjs",
"nest"
] | Hello everyone, hope you all are doing well. And, amazing work guys, this frame work makes life easy. As title suggests, posting here after lots of digging around to implement simple strategy pattern with NestJs. Yes, there has been given [an example in official docs ](https://docs.nestjs.com/v6/fundamentals/custom-pro... | Implement strategy pattern with Nest js | https://api.github.com/repos/nestjs/nest/issues/5573/comments | 1 | 2020-10-15T13:55:17Z | 2020-10-29T08:58:46Z | https://github.com/nestjs/nest/issues/5573 | 722,360,016 | 5,573 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
When making delete request the data is not added to the request.
## Input Code
Please note that config is the second argument for delete request per axios documentation.
https://github.com/axios/axios/issues/897 - this is not the cause of this bug. I think it has something to ... | HttpService - Delete method does not include data - even if it's included in data config. | https://api.github.com/repos/nestjs/nest/issues/5569/comments | 5 | 2020-10-13T16:18:11Z | 2020-10-29T08:34:50Z | https://github.com/nestjs/nest/issues/5569 | 720,491,799 | 5,569 |
[
"nestjs",
"nest"
] | ## Current behavior
When I try to use the `nestjs-pino` Logger, the global prefix normalization by FastifyAdapter does not fit.
It does not remove `/` and `*` at the beginning and at the end of the global prefix.
Example: `/v1*` is normalized as `/v1*`.
## Error
The following error occurs when the app perfor... | FastifyAdapter is not normalizing the global prefix (using nestjs-pino) | https://api.github.com/repos/nestjs/nest/issues/5568/comments | 4 | 2020-10-13T15:59:18Z | 2020-10-15T07:25:41Z | https://github.com/nestjs/nest/issues/5568 | 720,466,978 | 5,568 |
[
"nestjs",
"nest"
] | I can not get `enterprise` data from `request.user` like follow code,`this.request` will undefined,but scope request inject service work fine.
```typescript
@Injectable({ scope: Scope.REQUEST })
@ValidatorConstraint({ name: 'Ddd', async: true })
export class IsUnqiueForEnterpriseConstraint implements ValidatorConst... | Inject scope request to class-validator constraint | https://api.github.com/repos/nestjs/nest/issues/5566/comments | 7 | 2020-10-13T08:39:58Z | 2020-10-29T08:35:51Z | https://github.com/nestjs/nest/issues/5566 | 720,007,969 | 5,566 |
[
"nestjs",
"nest"
] | Inject service to validator constraint is work fine
```typescript
@Injectable()
@ValidatorConstraint({ name: 'Ddd', async: true })
export class DddConstraint implements ValidatorConstraintInterface {
constructor(private service:UserService) {
console.log(this.service);
}
...
```
but inject req... | Inject request to validator constraint | https://api.github.com/repos/nestjs/nest/issues/5564/comments | 0 | 2020-10-12T20:37:29Z | 2020-10-12T20:42:26Z | https://github.com/nestjs/nest/issues/5564 | 719,653,525 | 5,564 |
[
"nestjs",
"nest"
] | The value of 'pingInterval' does not change for WebSocketGateway
```
@WebSocketGateway({
namespace: 'timer',
pingInterval: 1000
})
handleConnection(client: Socket, ...args: any[]): any {
client.on('ping', () => {
client.emit('pong');
});
}
```
I always get pong event every 25s whic... | Default pingInterval does not change | https://api.github.com/repos/nestjs/nest/issues/5563/comments | 0 | 2020-10-12T20:36:06Z | 2020-10-16T16:13:29Z | https://github.com/nestjs/nest/issues/5563 | 719,652,659 | 5,563 |
[
"nestjs",
"nest"
] | ## Bug Report
[https://github.com/typeorm/typeorm/issues/6736](https://github.com/typeorm/typeorm/issues/6736)
[x] bug report
**Database system/driver:**
[ ] `cordova`
[ ] `mongodb`
[] `mssql`
[x] `mysql^2.18.1` / `mariadb`
[ ] `oracle`
[ ] `postgres`
[ ] `cockroachdb`
[ ] `sqlite`
[ ] `sqljs`
[ ... | DataTypeNotSupportedError: Data type "timestamptz" in "Item.createDateTime" is not supported by "mysql" database | https://api.github.com/repos/nestjs/nest/issues/5561/comments | 3 | 2020-10-12T08:47:06Z | 2023-05-23T07:16:09Z | https://github.com/nestjs/nest/issues/5561 | 719,193,011 | 5,561 |
[
"nestjs",
"nest"
] | my package json: `"@nestjs/common": "^7.0.0",
"@nestjs/core": "^7.0.0",
"@nestjs/jwt": "^7.1.0",
"@nestjs/mongoose": "^7.0.2",
"@nestjs/ng-universal": "^4.0.1",
"@nestjs/passport": "^7.1.0",
"@nestjs/platform-express": "^7.0.0",`
I have the following scenario:
ModuleA({ providers: [S... | a module's providers are not exported by default | https://api.github.com/repos/nestjs/nest/issues/5558/comments | 1 | 2020-10-12T02:16:10Z | 2020-10-27T12:03:47Z | https://github.com/nestjs/nest/issues/5558 | 718,988,862 | 5,558 |
[
"nestjs",
"nest"
] | ## Bug Report
`nest build` will unexpectedly give a relative path for module resolution, when there is a folder in the project's root and named with the same name to one dependency module in that project.
This problem will be especially severe when organizing external services' configuration files into folders th... | Nest build gives unexpected module resolution path when conflict with a same named folder | https://api.github.com/repos/nestjs/nest/issues/5555/comments | 1 | 2020-10-11T06:57:36Z | 2020-10-27T12:16:52Z | https://github.com/nestjs/nest/issues/5555 | 718,774,097 | 5,555 |
[
"nestjs",
"nest"
] | ## Feature Request
## Describe the solution you'd like
in the class ClientRedis you can find the following lines:
```
redisPackage = loadPackage('redis', ClientRedis.name, () =>
require('redis'),
);
```
i suggest replacing them :)
## What is the motivation / use case for changing the behavior?
I... | Microservices: add ioredis please | https://api.github.com/repos/nestjs/nest/issues/5554/comments | 4 | 2020-10-10T19:08:45Z | 2021-02-19T11:27:53Z | https://github.com/nestjs/nest/issues/5554 | 718,682,935 | 5,554 |
[
"nestjs",
"nest"
] | ## Bug Report
I'm not sure if this is a bug or not, but I would like to clarify if this behavior is expected.
## Current behavior
If class providers are inherited and [child provider](https://github.com/mikeconley12/typescript-starter/blob/master/src/child.provider.ts) doesn't have `@Injectable()` decorator, but... | Unexpected dependency injection when using inheritance | https://api.github.com/repos/nestjs/nest/issues/5553/comments | 12 | 2020-10-10T18:30:41Z | 2020-10-29T12:12:56Z | https://github.com/nestjs/nest/issues/5553 | 718,676,465 | 5,553 |
[
"nestjs",
"nest"
] | ## Bug Report
When using fastify adaptater & fastify-compress for compression, it doesn't work.
## Current behavior
FastifyPlugin seems to be causing this error as it seems to be decrepated:
```ts
Argument of type 'typeof import(".../node_modules/fastify-compress/index")' is not assignable to parameter of ty... | platform-fastify doesn't work anymore with fastify-compress | https://api.github.com/repos/nestjs/nest/issues/5552/comments | 1 | 2020-10-10T13:43:52Z | 2020-10-27T12:17:35Z | https://github.com/nestjs/nest/issues/5552 | 718,623,055 | 5,552 |
[
"nestjs",
"nest"
] | There i a problem with nestjs webpage - probably it was hacked or something similar | https://api.github.com/repos/nestjs/nest/issues/5548/comments | 0 | 2020-10-09T06:58:08Z | 2020-10-09T07:01:23Z | https://github.com/nestjs/nest/issues/5548 | 717,906,046 | 5,548 | |
[
"nestjs",
"nest"
] | ## Bug Report
Using Sample 23 as a basis, when I change the adapters to Fastify, the playground doesn't show up.
## Current behavior
Currently only when using express the GraphQL playground show up in the browser when opening `localhost:3000/graphql`. When we use Fastify a 400 response is returned and the error st... | Using Fastify the GraphQL Playground does not show up | https://api.github.com/repos/nestjs/nest/issues/5544/comments | 2 | 2020-10-08T18:01:36Z | 2020-10-08T18:07:33Z | https://github.com/nestjs/nest/issues/5544 | 717,551,724 | 5,544 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
When i try to start with watching mode terminal reloads as if changes exists.
## Environment
<pre><code>
Nest version: 7.4.4
For Tooling issues:
- Node version: v12.8.0
- Platform: Mac
Others:
<!-- Anything else relevant? Operating system version, IDE, package ma... | start --watch reloads without changes | https://api.github.com/repos/nestjs/nest/issues/5543/comments | 8 | 2020-10-08T01:05:31Z | 2023-05-23T07:21:36Z | https://github.com/nestjs/nest/issues/5543 | 716,946,702 | 5,543 |
[
"nestjs",
"nest"
] | @kamilmysliwiec
https://github.com/nestjs/nest/blob/513080d8f736d6126c046d56f26252e08f276653/packages/common/pipes/validation.pipe.ts#L63
```
classValidator = loadPackage('class-validator', 'ValidationPipe', () =>
require('class-validator'),
);
classTransformer = loadPackage('class-transfor... | feat: please move this code to protected function for override libraries used for it with custom ValidationPipe | https://api.github.com/repos/nestjs/nest/issues/5542/comments | 2 | 2020-10-07T17:37:36Z | 2020-10-29T12:02:08Z | https://github.com/nestjs/nest/issues/5542 | 716,724,781 | 5,542 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
When You try to do 301 redirections from a controller You get: "Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client" error. Headers are sent to a client to early.
(node:11660) UnhandledPromiseRejectionWarning: Error [ERR_HTTP_HEADERS_SENT]: Cannot... | Allow to redirect from a controller | https://api.github.com/repos/nestjs/nest/issues/5541/comments | 7 | 2020-10-07T14:26:45Z | 2020-10-29T12:02:25Z | https://github.com/nestjs/nest/issues/5541 | 716,580,874 | 5,541 |
[
"nestjs",
"nest"
] | This particular snippet in [the module section](https://docs.nestjs.com/modules) of the documentation is confusing. What is the purpose of a module having a constructor, much less using (not injecting) a service?
```ts
@Module({
controllers: [CatsController],
providers: [CatsService],
})
export class CatsModu... | Confusing documentation - Module DI | https://api.github.com/repos/nestjs/nest/issues/5539/comments | 4 | 2020-10-06T22:30:54Z | 2020-10-07T06:39:44Z | https://github.com/nestjs/nest/issues/5539 | 716,064,396 | 5,539 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
Let's say I have a User Entity with a `test` property which is a `string | null`:

When you go to use this property it seems to type it to `string`:
` and `@Exclude()` decorators for classes when returning a `WsResponse` object.
## Input Code
<!-- REPL or Repo link if applicable: -->
```ts
export class SerializedClass {
@Expose()
... | ClassSerializerInterceptor does not work properly when returning a WsResponse object | https://api.github.com/repos/nestjs/nest/issues/5525/comments | 5 | 2020-10-04T00:50:58Z | 2020-10-05T06:26:12Z | https://github.com/nestjs/nest/issues/5525 | 714,205,703 | 5,525 |
[
"nestjs",
"nest"
] | I am struggling to implement e2e test. Outside test environment in production my application works well with passport, but as soon as I import the main module in my e2e tests, I am getting a strange error from ``TypeError: passport.use is not a function``. I am using Passport JWT Strategy implementation. I cannot s... | End to End tests with Passport JWT | https://api.github.com/repos/nestjs/nest/issues/5522/comments | 10 | 2020-10-03T17:15:05Z | 2022-04-04T01:28:23Z | https://github.com/nestjs/nest/issues/5522 | 714,134,476 | 5,522 |
[
"nestjs",
"nest"
] | ## Feature Request
Automatically generates a CSRF "token" for each active user session managed by the application. This token is used to verify that the authenticated user is the one actually making the requests to the application.
The VerifyCsrfToken middleware will automatically verify that the token in the requ... | Support CSRF Protection by default | https://api.github.com/repos/nestjs/nest/issues/5521/comments | 1 | 2020-10-02T15:46:54Z | 2020-10-05T09:05:22Z | https://github.com/nestjs/nest/issues/5521 | 713,722,007 | 5,521 |
[
"nestjs",
"nest"
] | Currently when I want to access an endpoints:
`_api/someEndpoint/:pathParam/endOfEndpoint_` returns 403. But if I put it like that:
__api/someEndpoint/endOfEndpoint/:pathParam__ it works.
Shouldn't we be able to use the first case as well? | Path param put in middle of a url does not work - returns 403 Not Found | https://api.github.com/repos/nestjs/nest/issues/5520/comments | 5 | 2020-10-02T13:23:22Z | 2020-10-13T19:50:38Z | https://github.com/nestjs/nest/issues/5520 | 713,618,350 | 5,520 |
[
"nestjs",
"nest"
] | ## Feature Request
## Is your feature request related to a problem? Please describe.
<!-- A clear and concise description of what the problem is. Ex. I have an issue when [...] -->
NestJS App as Monorepo with language JS is not working. It always wants tsconfig.json and tsconfig.app.json files.
## Describe the ... | Support Monorepo with JS as language | https://api.github.com/repos/nestjs/nest/issues/5519/comments | 3 | 2020-10-01T22:45:12Z | 2020-10-02T11:57:45Z | https://github.com/nestjs/nest/issues/5519 | 713,231,570 | 5,519 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
<!-- Describe how the issue manifests. -->
The use case is that I have a class `UserPreferencesDto` that is a DTO for input payload in `savePrefs` while serving as an output DTO of another route.
In this case I use `@Expose` (meant to be applicable only for the output - as the [d... | @SerializeOptions works only on output while @Expose works on inputs | https://api.github.com/repos/nestjs/nest/issues/5517/comments | 3 | 2020-10-01T11:42:20Z | 2023-09-11T07:34:43Z | https://github.com/nestjs/nest/issues/5517 | 712,762,839 | 5,517 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
When using nestjs in a monorepo setup with `lerna` and `yarn workspaces` with `compilerOptions.webpack` set to `false`, a lot of resolution errors show up.
```
ERROR in /private/tmp/nestjs-monorepo-webpack-error/node_modules/@nestjs/core/nest-application.js
Module not found:... | Webpack resolution error when working in monorepo mode | https://api.github.com/repos/nestjs/nest/issues/5516/comments | 2 | 2020-10-01T10:13:28Z | 2020-11-16T09:09:52Z | https://github.com/nestjs/nest/issues/5516 | 712,700,645 | 5,516 |
[
"nestjs",
"nest"
] | Hi @kamilmysliwiec
I want to use [express-http-context](https://www.npmjs.com/package/express-http-context) in nestjs,is there any inbuilt package available.please suggest on this
Your reply will be a great help to me | how to get/set express http context in the file in nestjs | https://api.github.com/repos/nestjs/nest/issues/5514/comments | 1 | 2020-10-01T02:55:30Z | 2020-10-01T06:19:27Z | https://github.com/nestjs/nest/issues/5514 | 712,431,372 | 5,514 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
I'm using the Webpack example from [here](https://github.com/nestjs/nest/tree/master/sample/08-webpack), and modifying the text returned in `ApplicationService.getHello()` from `Hello world!` to `Hello world!!!`. I see the module get detected by Webpack, but hitting `http://local... | Nest.js HMR does not replace module | https://api.github.com/repos/nestjs/nest/issues/5513/comments | 5 | 2020-09-30T23:24:33Z | 2020-10-01T06:27:46Z | https://github.com/nestjs/nest/issues/5513 | 712,345,505 | 5,513 |
[
"nestjs",
"nest"
] |
Hi team and guys
I want to custom response when there is an exception throw. I used exception filter in GraphQL. In version 7. I cannot use
```
response.status(status).json({
statusCode: status,
error: STATUS_CODES[status],
message: errorMessage,
});
```
Here is ... | GraphQL exception filter does not custom response | https://api.github.com/repos/nestjs/nest/issues/5507/comments | 2 | 2020-09-30T03:58:20Z | 2021-07-01T08:07:10Z | https://github.com/nestjs/nest/issues/5507 | 711,612,452 | 5,507 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
In the TypeORM config, setting `entities` to `[__dirname + '/**/*.entity{.ts,.js}']` doesn't work. However, explicitly importing entities and passing them to `entities` works.
For example:
```ts
TypeOrmModule.forRoot({
type: 'mysql',
host: 'localhost',
port: 3306,... | Monorepo has problems discovering entities | https://api.github.com/repos/nestjs/nest/issues/5505/comments | 2 | 2020-09-30T02:06:04Z | 2020-09-30T02:25:43Z | https://github.com/nestjs/nest/issues/5505 | 711,578,105 | 5,505 |
[
"nestjs",
"nest"
] | Can we please get a sample project in this repo for making a "monorepo" nest application with a shared library?
I think the documentation is outdated / missing steps as I'm getting tons of errors when following it... | Shared Library Sample? | https://api.github.com/repos/nestjs/nest/issues/5502/comments | 1 | 2020-09-29T15:20:23Z | 2020-10-29T12:17:31Z | https://github.com/nestjs/nest/issues/5502 | 711,219,946 | 5,502 |
[
"nestjs",
"nest"
] | ## Current behavior
When I add a job to the queue, sometimes it calls handleComplete on ActionConsumer class, but sometimes it's not
## Input Code
<!-- REPL or Repo link if applicable: -->
`app.module.ts`
```ts
@Module({
imports: [
ConfigModule.forRoot({ isGlobal: true }),
FrameworkModule,
Bul... | Queue Processor sometimes running, sometimes not running | https://api.github.com/repos/nestjs/nest/issues/5499/comments | 2 | 2020-09-29T06:41:30Z | 2020-09-29T07:07:30Z | https://github.com/nestjs/nest/issues/5499 | 710,812,656 | 5,499 |
[
"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 [...] -->
Today I had to modify a single thing inside my validation pipe which extends the core validation pipe. All the methods being used in... | Improve extensibility | https://api.github.com/repos/nestjs/nest/issues/5497/comments | 1 | 2020-09-29T02:59:08Z | 2020-09-29T06:26:08Z | https://github.com/nestjs/nest/issues/5497 | 710,711,016 | 5,497 |
[
"nestjs",
"nest"
] | ## Bug Report
related to #4954
## Current behavior
When importing ```ValidationPipe``` from **@nestjs/common** the console throws this message on runtime:
<pre><code>
The "class-transformer" package is missing. Please, make sure to install this library ($ npm install class-transformer) to take advantage of Valid... | Dependency not being included in @nestjs/common | https://api.github.com/repos/nestjs/nest/issues/5493/comments | 2 | 2020-09-28T17:20:40Z | 2020-09-28T19:14:44Z | https://github.com/nestjs/nest/issues/5493 | 710,445,084 | 5,493 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
<!-- Describe how the issue manifests. -->
I want use logger middleware record api spend time, logger middleware has end before controller execute.
## Input Code
<!-- REPL or Repo link if applicable: -->
```ts
export async function loggerMiddleware(req: IRequest, res: Resp... | controller's async function not block execute | https://api.github.com/repos/nestjs/nest/issues/5492/comments | 1 | 2020-09-28T11:01:27Z | 2020-09-28T11:28:52Z | https://github.com/nestjs/nest/issues/5492 | 710,165,304 | 5,492 |
[
"nestjs",
"nest"
] | So, if a validation for **ParseIntPipe** is failed, please return the passed message property back to the User.
https://github.com/nestjs/nest/blob/ab9d3ef6fb6a630dcde2589518f7c6f151c2b9cf/packages/common/pipes/parse-int.pipe.ts#L50
Instead returning the static message, always:
`Validation failed (numeric s... | Support custom message in ParseIntPipe. | https://api.github.com/repos/nestjs/nest/issues/5491/comments | 3 | 2020-09-28T08:24:26Z | 2020-09-28T10:29:33Z | https://github.com/nestjs/nest/issues/5491 | 710,056,325 | 5,491 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
This is an extension on the issue of the bug that was fixed in closed issue #4756
When creating an injectable class using ModuleRef.resolve() the module is not found if it is inside an imported module.
Attempting to resolve results in:
```
Error: Nest could not find Ca... | Dependcy injection with moduleRef.resolve() does not find TRANSIENT providers in imported modules | https://api.github.com/repos/nestjs/nest/issues/5487/comments | 4 | 2020-09-27T22:51:11Z | 2021-04-03T09:42:27Z | https://github.com/nestjs/nest/issues/5487 | 709,833,031 | 5,487 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
Currently, `app.useLogger()` accepts only `LoggerService` as an argument. However, the method it internally calls as well as the `logger` parameter of the [`NestApplicationContextOptions`](https://github.com/nestjs/nest/blob/a68ae579d4cf6f096708188a861d8a3b76a3268d/packages/common/... | useLogger does not accept log levels (type problem only) | https://api.github.com/repos/nestjs/nest/issues/5484/comments | 0 | 2020-09-27T18:20:19Z | 2020-10-29T14:03:02Z | https://github.com/nestjs/nest/issues/5484 | 709,789,337 | 5,484 |
[
"nestjs",
"nest"
] | ## Bug Report
Although I am using `fastify-cookie` plugin. I can access `req.cookies` in `onRequest` and `onResponse` hooks and even in the controllers. But, `req.cookies` is undefined in middleware.
## Current behavior
`req.cookies` is undefined in middleware.
## Input Code
- Added `console.log`
- Added `o... | [Fastify] req.cookies is undefined in middleware | https://api.github.com/repos/nestjs/nest/issues/5483/comments | 6 | 2020-09-27T15:06:05Z | 2021-08-23T07:14:05Z | https://github.com/nestjs/nest/issues/5483 | 709,756,565 | 5,483 |
[
"nestjs",
"nest"
] | ## Feature Request
## Is your feature request related to a problem? Please describe.
No, but current `contextId` is `Math.random()` with a type of `number`.
## Describe the solution you'd like
Use string based ContextId, maybe some implementation like mongodb's `ObjectId`
## Teachability, Documentation, Adop... | Use string based ContextId. | https://api.github.com/repos/nestjs/nest/issues/5482/comments | 2 | 2020-09-27T03:21:24Z | 2020-09-29T01:45:06Z | https://github.com/nestjs/nest/issues/5482 | 709,657,258 | 5,482 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
Nest.js with fastify returns 415 for POST request with application/x-www-form-urlencoded content type
## Input Code
My nest.js/fastify initialization:
```
async function bootstrap() {
const fastifyAdapter = new FastifyAdapter();
fastifyAdapter.register(fmp, {
... | Error 415: Unsupported media type for application/x-www-form-urlencoded | https://api.github.com/repos/nestjs/nest/issues/5481/comments | 4 | 2020-09-26T20:21:19Z | 2020-09-27T20:54:26Z | https://github.com/nestjs/nest/issues/5481 | 709,604,814 | 5,481 |
[
"nestjs",
"nest"
] | One of my projects uses nest js, but I want to share some of its services with other projects that are to be run in the web only.
The services that I am planning to share do not use any Node server specific libraries, like 'fs', so they should be able to be shared with projects that are to be run solely in web browse... | Refactoring to allow web frameworks to share services | https://api.github.com/repos/nestjs/nest/issues/5480/comments | 1 | 2020-09-26T00:07:23Z | 2020-09-27T11:06:07Z | https://github.com/nestjs/nest/issues/5480 | 709,363,476 | 5,480 |
[
"nestjs",
"nest"
] | ## Feature Request
## Is your feature request related to a problem? Please describe.
I've got the challenge to "rewrite" existing typescript classes with decorators to fit the nestjs decorators. AFAIK the only way is to extend the existing (controller) class and override all necessary functions to add nest decorat... | publicly expose createMappingDecorator | https://api.github.com/repos/nestjs/nest/issues/5479/comments | 1 | 2020-09-25T22:21:22Z | 2020-09-27T11:07:26Z | https://github.com/nestjs/nest/issues/5479 | 709,318,668 | 5,479 |
[
"nestjs",
"nest"
] | I'm struggling to try this sample or use it to add jwt or any other authorization method
| Add unit/e2e tests for 19-auth-jwt sample | https://api.github.com/repos/nestjs/nest/issues/5472/comments | 1 | 2020-09-24T16:07:28Z | 2020-11-02T12:04:29Z | https://github.com/nestjs/nest/issues/5472 | 708,297,356 | 5,472 |
[
"nestjs",
"nest"
] | ## Bug Report
When injecting REQUEST object using @inject(REQUEST), i get the error below in production
```log
[Nest] 1 - 09/23/2020, 12:13:53 PM [ExceptionsHandler] Cannot read property 'getInstanceByContextId' of undefined +30379ms
TypeError: Cannot read property 'getInstanceByContextId' of undefined
at... | Cannot read property 'getInstanceByContextId' of undefined when injecting REQUEST | https://api.github.com/repos/nestjs/nest/issues/5470/comments | 5 | 2020-09-24T10:49:40Z | 2021-08-04T06:28:09Z | https://github.com/nestjs/nest/issues/5470 | 708,065,234 | 5,470 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
<!-- Describe how the issue manifests. -->
Currently dependency on cli-color is pulling up some legacy stuff(es5 shims etc.) causing crash when compiling with NCC - see https://github.com/vercel/ncc/issues/594.
It creates some weird webpack bug where it requires some random modul... | Remove cli-color dependency | https://api.github.com/repos/nestjs/nest/issues/5469/comments | 4 | 2020-09-23T17:36:03Z | 2020-11-02T12:04:37Z | https://github.com/nestjs/nest/issues/5469 | 707,553,489 | 5,469 |
[
"nestjs",
"nest"
] | ## Bug Report
The ParseArrayPipe doesn't receive any error when I set items of Number in ParseArrayOptions and send string item to it.
## Input Code
```ts
@Get()
findByIds(
@Query('id', new ParseArrayPipe({ items: Number, separator: ',' }))
ids: number[],
) {
return 'This action returns users by i... | The ParseArrayPipe doesn't receive any error when I set items of Number in ParseArrayOptions and send string item to it. | https://api.github.com/repos/nestjs/nest/issues/5467/comments | 7 | 2020-09-23T03:58:20Z | 2021-04-29T07:07:08Z | https://github.com/nestjs/nest/issues/5467 | 707,022,720 | 5,467 |
[
"nestjs",
"nest"
] | Hi,Great author
My project is built with Django,the database is postgre.
Django has a command called "inspectdb" which can generate model from database.
I want to migrate my project to nestjs now , does nestjs has similar command ? | Is there anyway can I generate the model from database | https://api.github.com/repos/nestjs/nest/issues/5466/comments | 3 | 2020-09-23T01:37:56Z | 2020-09-23T06:49:13Z | https://github.com/nestjs/nest/issues/5466 | 706,861,932 | 5,466 |
[
"nestjs",
"nest"
] | Hello guys.
I'm struggling to pass options from EventPattern decorator.
I've create custom decorator :
```
function myEvent(pattern: string, options?: Record<any, any>) {
return (target, key, descriptor) => {
EventPattern(pattern)(target, key, descriptor);
SetMetadata('myEventOptions', options)(target,... | How to get decorator metadata inside custom transport strategy | https://api.github.com/repos/nestjs/nest/issues/5465/comments | 1 | 2020-09-22T09:12:23Z | 2020-09-22T09:37:39Z | https://github.com/nestjs/nest/issues/5465 | 706,207,910 | 5,465 |
[
"nestjs",
"nest"
] | I have api gateway and some service. Transport is TCP. On my service I have ValidationPipe on MessagePattern method and the following catch, to convert http exception to rpc
```
@Catch(HttpException)
export class HttpErrorFilter implements ExceptionFilter {
catch(exception: HttpException, host: ArgumentsHost) {... | NestJS Microservice TCP error handling wrong status | https://api.github.com/repos/nestjs/nest/issues/5464/comments | 2 | 2020-09-22T07:31:42Z | 2020-10-27T11:10:58Z | https://github.com/nestjs/nest/issues/5464 | 706,146,206 | 5,464 |
[
"nestjs",
"nest"
] | As a followup to #5449 I think it would be nice that validation exception would go through GlobalExceptionFilter and not require a special exceptionFactory in order to create custom return structure or messages | class-validator validations should throw exceptions to GlobalExceptionFilter | https://api.github.com/repos/nestjs/nest/issues/5462/comments | 1 | 2020-09-21T21:33:05Z | 2020-09-22T06:06:46Z | https://github.com/nestjs/nest/issues/5462 | 705,931,174 | 5,462 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
Currently, `nest new` generates a project that configures using both husky and lint-staged, including running prettier on each commit. This is an anti-pattern.
When running `git commit`, the developer has explicitly selected what to commit via `git add`, by running something t... | Don't use lint-staged | https://api.github.com/repos/nestjs/nest/issues/5460/comments | 3 | 2020-09-21T14:55:15Z | 2023-10-25T22:28:38Z | https://github.com/nestjs/nest/issues/5460 | 705,675,609 | 5,460 |
[
"nestjs",
"nest"
] | ## Feature Request
## Is your feature request related to a problem? Please describe.
I declared a global pipe with exceptionFactory of my own. Then, when using another pipe (more precisely ParseArrayPipe) It didn't use the global exceptionFactory but Nest's default exception factory
## Describe the solution you'... | If exceptionFactory is defined in global pipe, use it as a fallback when using other pipes | https://api.github.com/repos/nestjs/nest/issues/5449/comments | 3 | 2020-09-20T20:10:55Z | 2020-09-22T06:06:40Z | https://github.com/nestjs/nest/issues/5449 | 705,176,688 | 5,449 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
<!-- Describe how the issue manifests. -->
When the controller method has @Res as a parameter, the response freezes
## Input Code
<!-- REPL or Repo link if applicable: -->
```ts
...
import {Response} from 'express'
import {Res} from '@nestjs/common'
...
@Get(':id')
... | Using @Res() the response freezes | https://api.github.com/repos/nestjs/nest/issues/5448/comments | 9 | 2020-09-20T05:09:23Z | 2021-11-23T07:41:45Z | https://github.com/nestjs/nest/issues/5448 | 705,046,932 | 5,448 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
So I am using a guard but i made it a mixin because I am using params in it. When I put the guard in the module so it can have the service be injected it says:
```ts
Type '(amount: number) => Type<any>' is not assignable to type 'Provider<any>'.
Type '(amount: number) => Type... | Guard with mixin not working in module | https://api.github.com/repos/nestjs/nest/issues/5444/comments | 2 | 2020-09-18T15:01:13Z | 2022-05-18T14:55:38Z | https://github.com/nestjs/nest/issues/5444 | 704,449,406 | 5,444 |
[
"nestjs",
"nest"
] | ## Feature Request
## Is your feature request related to a problem? Please describe.
Currently the `kafka-options.interface.ts` is a little bit out of date. In v1.13.0 of kafkajs there is support for [follower fetching](https://kafka.js.org/docs/consuming#a-name-follower-fetching-a-follower-fetching) which require... | (microservices) Update Kafka Interface (kafkajs 1.13.0) | https://api.github.com/repos/nestjs/nest/issues/5442/comments | 1 | 2020-09-18T13:10:07Z | 2020-11-02T12:04:47Z | https://github.com/nestjs/nest/issues/5442 | 704,365,716 | 5,442 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
My code project structure:
+---apps
| +---AppServer
| | +---config
| | +---src
| | | +---ScenarioHttp
| | | \---tasks
| | | +---dto
| | | \---pipes
\---libraries
+---domain
| \---src
| +---common
| ... | Exception from referenced project do not bubble up correctly | https://api.github.com/repos/nestjs/nest/issues/5440/comments | 3 | 2020-09-18T07:10:53Z | 2021-02-02T11:40:11Z | https://github.com/nestjs/nest/issues/5440 | 704,147,848 | 5,440 |
[
"nestjs",
"nest"
] | ## Feature Request
## Is your feature request related to a problem? Please describe.
Not problem related - I thought the project should be tagged with swagger / openapi since nest.js gives nice out of the box features and it should be found by browsing swagger / openapi GitHub tags
## Describe the solution you'... | Tag the project with swagger and/or openapi | https://api.github.com/repos/nestjs/nest/issues/5439/comments | 1 | 2020-09-18T06:52:52Z | 2020-09-28T06:34:04Z | https://github.com/nestjs/nest/issues/5439 | 704,138,055 | 5,439 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
I've specifically set a login path to be excluded by an authorization middleware (which looks for tokens on other routes). It is not being excluded. This seems to happen after I've upgraded my nest version, as per the issue I opened up yesterday #5430.
## Input Code
<!-- REPL o... | Middleware isn't excluding path | https://api.github.com/repos/nestjs/nest/issues/5436/comments | 4 | 2020-09-17T10:37:07Z | 2021-05-18T17:03:48Z | https://github.com/nestjs/nest/issues/5436 | 703,469,866 | 5,436 |
[
"nestjs",
"nest"
] | ## Bug Report
I have an endpoint where I expect a Query param called "enabled". This query param is optional, but, if the client doesn't send it, Nest makes it default false.
Tried adding the "?" mark to the variable, but it doesn't change.
## Current behavior
<!-- Describe how the issue manifests. -->
If the ... | Nest changing @Query to false if is not sent on the request | https://api.github.com/repos/nestjs/nest/issues/5435/comments | 3 | 2020-09-16T23:29:20Z | 2020-09-17T00:31:30Z | https://github.com/nestjs/nest/issues/5435 | 703,139,406 | 5,435 |
[
"nestjs",
"nest"
] | ## Feature Request
## Is your feature request related to a problem? Please describe.
We would like to be able to catch errors while initializing Typegoose and Mongoose modules.
The problem we have today is that we are running the our app in a docker swarm environment, and the service is sometimes initialized befor... | useFactory error catching | https://api.github.com/repos/nestjs/nest/issues/5433/comments | 2 | 2020-09-16T14:02:11Z | 2022-03-11T08:46:24Z | https://github.com/nestjs/nest/issues/5433 | 702,793,649 | 5,433 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behaviour
So, I have detected memory leak in my nats nest service

After some research I found, that problem is not in my code.
Actually the problem is in https://github.com... | Nats microservice memory leak | https://api.github.com/repos/nestjs/nest/issues/5431/comments | 2 | 2020-09-16T10:50:46Z | 2020-09-16T15:36:53Z | https://github.com/nestjs/nest/issues/5431 | 702,661,369 | 5,431 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
This was already referenced in #21 (closed now) but basically the body decorator only takes one named argument, still.
This should have been fixed with the upgrade, but wasn't for some reason.
## Input Code
<!-- REPL or Repo link if applicable: -->
```ts
async updatePa... | Re: @Body decorator only picking up one named argument. | https://api.github.com/repos/nestjs/nest/issues/5430/comments | 2 | 2020-09-16T03:28:35Z | 2020-09-16T06:11:16Z | https://github.com/nestjs/nest/issues/5430 | 702,418,360 | 5,430 |
[
"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 [...] -->
Using different http path or method on same controller method.
**Scenario:**
Creating or updating resources often have same logic, c... | Multi http path / method on contoller | https://api.github.com/repos/nestjs/nest/issues/5428/comments | 1 | 2020-09-15T16:01:47Z | 2020-09-16T06:15:54Z | https://github.com/nestjs/nest/issues/5428 | 702,059,717 | 5,428 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.