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
So if i created 2 routes with the equal endpoints with same params, nest instead of throw any kind of error, it allows the same replication but it stops the application of serving. What i mean is that the application is running but if you try to cURL or access via http the app, it ... | Duplicated route silently stops serving | https://api.github.com/repos/nestjs/nest/issues/4496/comments | 1 | 2020-04-02T20:09:10Z | 2020-04-26T10:26:07Z | https://github.com/nestjs/nest/issues/4496 | 592,895,590 | 4,496 |
[
"nestjs",
"nest"
] | ## Feature Request
Now that it has [been announced](https://github.com/denoland/deno/issues/2473#issue-453631188) that Deno 1.0 will be released the 13rd of May 2020.
So maybe it's time to consider this?
## Is your feature request related to a problem? Please describe.
Nope. When Deno 1.0 releases in the May, i... | Support for Deno | https://api.github.com/repos/nestjs/nest/issues/4495/comments | 2 | 2020-04-02T19:17:01Z | 2020-04-03T07:45:42Z | https://github.com/nestjs/nest/issues/4495 | 592,867,396 | 4,495 |
[
"nestjs",
"nest"
] | **Is there any mongoose pagination method available**
<!-- We primarily use GitHub as an issue tracker; for usage and support questions, please check out these resources below. Thanks! 😁. -->
* Discord Community Chat: https://discord.gg/G7Qnnhy
* StackOverflow: https://stackoverflow.com/questions/tagged/nestjs... | Is there any mongoose pagination method available | https://api.github.com/repos/nestjs/nest/issues/4491/comments | 1 | 2020-04-02T15:50:09Z | 2020-04-02T18:14:44Z | https://github.com/nestjs/nest/issues/4491 | 592,736,662 | 4,491 |
[
"nestjs",
"nest"
] | ## Feature Request
The ability to access validation error details on exception filters.
## Is your feature request related to a problem? Please describe.
If I want to customer error messages of REST API response, I need to implement an exception filter. However, validation error details are lost on the validation ... | No way to access ValidationError on exception filters. | https://api.github.com/repos/nestjs/nest/issues/4489/comments | 2 | 2020-04-02T11:22:57Z | 2024-11-13T06:44:00Z | https://github.com/nestjs/nest/issues/4489 | 592,555,944 | 4,489 |
[
"nestjs",
"nest"
] | ## Feature Request
### Explanation details
Let's say we have a full-stack application, using Angular and Nest. Side note, the repository is setup with https://nx.dev. Now, the project needs a Logger, you set up a new library `ng g @nrwl/workspace:lib logger` and start working on sending your logs to Loggly via h... | Dependency injection compatibility or how to share code between client/backend | https://api.github.com/repos/nestjs/nest/issues/4487/comments | 5 | 2020-04-02T10:37:33Z | 2022-07-15T10:47:02Z | https://github.com/nestjs/nest/issues/4487 | 592,529,257 | 4,487 |
[
"nestjs",
"nest"
] | I am new to nestJs. Because I wanted to use some solid framework with TS I chose nestJS. What I want is to implement i18n. I was surprised to see that the framework doesn't mention anything about i18n. Also class-validator decorators on dto can't be used, I must find a way to validate using message keys or something.
... | i18n module | https://api.github.com/repos/nestjs/nest/issues/4486/comments | 1 | 2020-04-02T09:54:59Z | 2020-04-02T10:50:16Z | https://github.com/nestjs/nest/issues/4486 | 592,503,469 | 4,486 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
<!-- Describe how the issue manifests. -->
## Input Code
<!-- REPL or Repo link if applicable: -->
### route
```ts
@Get()
testRoute(@Query() qs: FormType){}
```
### pipe
```ts
transform(value: any, metadata: ArgumentMetadata): any {
// metadata.metatype is null
}
... | query params metatype is null in pipe | https://api.github.com/repos/nestjs/nest/issues/4485/comments | 2 | 2020-04-02T06:55:09Z | 2020-04-02T09:25:16Z | https://github.com/nestjs/nest/issues/4485 | 592,401,403 | 4,485 |
[
"nestjs",
"nest"
] | FROM node:12.13-alpine As development
WORKDIR /app
ADD package.json /app/package.json
RUN npm config set registry http://registry.npmjs.org
RUN npm install
ADD . /app
EXPOSE 3000
CMD ["npm", "run", "start"]
Error:
TypeError: Cannot read property 'constructor' of undefined
at Object.<anon... | when i create an app container with nestjs it gives me this error when i run the container | https://api.github.com/repos/nestjs/nest/issues/4484/comments | 1 | 2020-04-01T19:09:03Z | 2020-04-04T08:49:03Z | https://github.com/nestjs/nest/issues/4484 | 592,140,292 | 4,484 |
[
"nestjs",
"nest"
] | ```TS
function makeCustomError (
code: ErrorCodes, defaultMessage: string,
defaultDetails?: AnyObject | string
) {
return class ExpectedError extends ApolloError implements IExpectedError {
public details?: AnyObject | string
constructor (message?: string, details?: AnyObject | string) {
... | Exception Filter: catch errors returned by factory function | https://api.github.com/repos/nestjs/nest/issues/4481/comments | 1 | 2020-04-01T16:34:16Z | 2020-04-02T07:04:20Z | https://github.com/nestjs/nest/issues/4481 | 592,049,693 | 4,481 |
[
"nestjs",
"nest"
] | #### Version of NestJS used
* v7.0.0
#### Use-case
* Validation
Hi nest team,
So I was playing around with the validation here and I noticed that users get a flattened validation error array right out of the box. It's a great idea, but I think users should have the options to get a flat validation or th... | Validation options | https://api.github.com/repos/nestjs/nest/issues/4480/comments | 1 | 2020-04-01T15:24:47Z | 2020-04-02T07:05:30Z | https://github.com/nestjs/nest/issues/4480 | 592,001,991 | 4,480 |
[
"nestjs",
"nest"
] | ## Bug Report
I'm creating an hybridapp with microservices refer at:https://github.com/nestjs/nest/tree/master/sample/03-microservices example
When I npm start my service, it cannot run and show error:
TypeError: this.contextUtils.getContextFactory is not a function
at RpcContextCreator.getMetadata (/home/tuan... | (microservice) Bug getContextFactory() is not a function when create hybrid application. | https://api.github.com/repos/nestjs/nest/issues/4478/comments | 1 | 2020-04-01T10:30:27Z | 2020-04-01T10:50:48Z | https://github.com/nestjs/nest/issues/4478 | 591,807,840 | 4,478 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
When the module needs each other, Nest can't resolve the dependency.
## Input Code
```ts
// articles.module.ts
import { Module, forwardRef } from '@nestjs/common';
import { ArticlesService } from './articles.service';
import { GoodsModule } from '../goods/goods.module... | Nest can't resolve Circular dependency | https://api.github.com/repos/nestjs/nest/issues/4477/comments | 1 | 2020-04-01T07:04:59Z | 2020-04-01T07:15:35Z | https://github.com/nestjs/nest/issues/4477 | 591,678,342 | 4,477 |
[
"nestjs",
"nest"
] | ## Feature Request
## Is your feature request related to a problem? Please describe.
Nest currently has a `useFactory` option to allow Custom Providers to dynamically specify their object graph. This is useful when wanting to use a named instance (via a string token) as an argument, when using Dynamic Modules, etc.... | Allow useClass with dynamic provider injection | https://api.github.com/repos/nestjs/nest/issues/4476/comments | 20 | 2020-04-01T06:16:15Z | 2020-04-09T07:00:41Z | https://github.com/nestjs/nest/issues/4476 | 591,656,848 | 4,476 |
[
"nestjs",
"nest"
] | ## Bug Report
Make it more clear in the type signature what should be used in HttpExceptions. I would except different behaviour from fn. arguments naming.
## Current behavior
- looks switched here (`message` is in fact an `error` and not `message`)
, I get an exception
> "TypeError: Class constructor LoggerMiddleware cannot be invoked without 'new'"
on each http request, regardless if my module implements NestModule interfac... | Middleware global registration fails | https://api.github.com/repos/nestjs/nest/issues/4467/comments | 3 | 2020-03-31T08:31:50Z | 2020-03-31T08:50:43Z | https://github.com/nestjs/nest/issues/4467 | 590,905,732 | 4,467 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
<!-- Describe how the issue manifests. -->
Using `class-validator` and `@nestjs/graphql` and validation is being bypassed for an array of input types.
The given sample code does not work. However, if I change the input type from array to single, the validation works just fine.
... | Validation is bypassed for an array of input types | https://api.github.com/repos/nestjs/nest/issues/4466/comments | 3 | 2020-03-31T05:04:53Z | 2024-10-22T00:52:43Z | https://github.com/nestjs/nest/issues/4466 | 590,796,852 | 4,466 |
[
"nestjs",
"nest"
] | <!-- We primarily use GitHub as an issue tracker; for usage and support questions, please check out these resources below. Thanks! 😁. -->
* Discord Community Chat: https://discord.gg/G7Qnnhy
* StackOverflow: https://stackoverflow.com/questions/tagged/nestjs using the tag `nestjs`
* Twitter: If it's just a quick q... | Nest.js Installation at cli | https://api.github.com/repos/nestjs/nest/issues/4464/comments | 1 | 2020-03-30T18:40:27Z | 2020-03-31T07:23:10Z | https://github.com/nestjs/nest/issues/4464 | 590,506,980 | 4,464 |
[
"nestjs",
"nest"
] | Hi all, I've my project running in production but I've a big problem.
My project use SocketIO, Redis and other stuff of NestJS.
I've in my project some apis with a backend Postgres DB, all work fine and I've discovered into NestJS a powerful and very fast and simple developing method for server with nodejs.
My app... | Problem hangs after some days | https://api.github.com/repos/nestjs/nest/issues/4459/comments | 3 | 2020-03-30T13:43:27Z | 2023-02-02T07:44:21Z | https://github.com/nestjs/nest/issues/4459 | 590,302,572 | 4,459 |
[
"nestjs",
"nest"
] | ## Feature Request
I would like to have full real-time support in nestjs like [https://feathersjs.com/](feathersjs)
That would be great.
PS: Client Library also. | Real Time Applications | https://api.github.com/repos/nestjs/nest/issues/4458/comments | 4 | 2020-03-30T09:58:53Z | 2020-03-30T11:24:39Z | https://github.com/nestjs/nest/issues/4458 | 590,157,162 | 4,458 |
[
"nestjs",
"nest"
] | ## Bug Report
The error that says that the dependency can't be resolved is not clear enough, because of this. Currently, the error output says:
```
[ExceptionHandler] Nest can't resolve dependencies of the LeadService (LeadRepository, ?). Please make sure that the argument dependency at index [1] is available in th... | Nest can't resolve dependencies of the [ServiceName] | https://api.github.com/repos/nestjs/nest/issues/4457/comments | 4 | 2020-03-30T09:27:23Z | 2023-03-17T14:22:11Z | https://github.com/nestjs/nest/issues/4457 | 590,134,464 | 4,457 |
[
"nestjs",
"nest"
] | ## Feature Request
Is it possible for nestjs to support using es4x under the hood? If possible nestjs would be able to perform better then express, fastify, and vanilla nodejs while still being the most elegant solution.
 => GqlExecutionContext.create(ctx).getContext().req,
)
```
```ts
@Mutation(() => Model)
public async login(... | How can I get ip when I use graphql? | https://api.github.com/repos/nestjs/nest/issues/4453/comments | 2 | 2020-03-29T22:21:31Z | 2024-06-18T02:31:01Z | https://github.com/nestjs/nest/issues/4453 | 589,899,404 | 4,453 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
The cache TTL decorator does not allow for a way to set an infinite TTL (ie no expiry time) on a cached endpoint. Typically with the underlying cache manager, an infinite TTL would be set by passing in a value of zero. However, the cache TTL decorator ignores this and defaults to t... | Cannot set infinite TTL on cached endpoint with @CacheTTL Decorator | https://api.github.com/repos/nestjs/nest/issues/4447/comments | 5 | 2020-03-29T16:09:03Z | 2021-06-06T22:05:43Z | https://github.com/nestjs/nest/issues/4447 | 589,825,636 | 4,447 |
[
"nestjs",
"nest"
] | Global filter is used in imported module:
`filter.ts`
```TS
@Catch ()
export class GqlExceptionFilter implements ExceptionFilter {
catch (exception: any, host: ArgumentsHost): void {
const ctx = host.switchToHttp ()
const response = ctx.getResponse ()
const request = ctx.getRequest ()
const next = ctx... | Default [ExceptionHandler] triggers on caught errors when testing with createTestingModule | https://api.github.com/repos/nestjs/nest/issues/4444/comments | 1 | 2020-03-29T07:43:45Z | 2020-04-01T00:42:49Z | https://github.com/nestjs/nest/issues/4444 | 589,739,304 | 4,444 |
[
"nestjs",
"nest"
] | ## Bug Report
I am using `serverless` + `NestJS` and has a image upload api.
## Current behavior
<!-- Describe how the issue manifests. -->
If I uses `UseInterceptors`, got this error.
```
Error: Part terminated early due to unexpected end of multipart data
at /srv/storage-server/node_modules/dicer/lib/Di... | NestJs Serverless fileupload not working | https://api.github.com/repos/nestjs/nest/issues/4435/comments | 1 | 2020-03-27T09:33:17Z | 2020-03-27T09:44:36Z | https://github.com/nestjs/nest/issues/4435 | 589,003,357 | 4,435 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
Nest http service failing to make a http requests when using '.subscribe()' when deploy on zeit v2
## Input Code
```ts
@Post('subscribe')
subscribe(@Body() data: any, @Req() request: Request): void {
Logger.log(data); // this works in v2
// the rest does not... | Issue with http request on zeit v2 | https://api.github.com/repos/nestjs/nest/issues/4432/comments | 13 | 2020-03-27T00:46:52Z | 2020-04-02T05:06:20Z | https://github.com/nestjs/nest/issues/4432 | 588,812,709 | 4,432 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
When access to a resource is forbidden by role the server responds with an extension code of INTERNAL_SERVER_ERROR.
## Input Code
```ts
@Injectable ()
export class RoleGuard implements CanActivate {
constructor (private reflector: Reflector) {
}
canActivate (contex... | Invalid GQL Error Response for Role Guard | https://api.github.com/repos/nestjs/nest/issues/4428/comments | 2 | 2020-03-26T14:55:48Z | 2020-06-24T20:06:24Z | https://github.com/nestjs/nest/issues/4428 | 588,483,877 | 4,428 |
[
"nestjs",
"nest"
] | I tried to use optional chaining in nestjs. In my `tsconfig.json` I tried to set the target to both `esnext` and `es2020`. Then when I run `nest build` everything seems to be ok, but if I run `nest start` I get exception: `SyntaxError: Unexpected token ‘.’` | Optional chaining not working | https://api.github.com/repos/nestjs/nest/issues/4423/comments | 4 | 2020-03-26T08:57:27Z | 2020-06-24T19:59:18Z | https://github.com/nestjs/nest/issues/4423 | 588,256,755 | 4,423 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
While registering the ConfigModule its not possible to use more than one file as stated [here](https://docs.nestjs.com/techniques/configuration#custom-env-file-path)
## Input Code
<!-- REPL or Repo link if applicable: -->
```ts
ConfigModule.forRoot({
envFilePath: '... | ConfigModuleOptions.envFilePath doesn't allow multiple files as stated in the documentation | https://api.github.com/repos/nestjs/nest/issues/4422/comments | 2 | 2020-03-26T08:37:11Z | 2020-06-24T20:13:15Z | https://github.com/nestjs/nest/issues/4422 | 588,245,912 | 4,422 |
[
"nestjs",
"nest"
] | ## Bug Report
Does JwtStrategy fail to throw an exception? The exception I throw doesn't seem to be caught by the system!!
```javascript
export class JwtStrategy extends PassportStrategy(Strategy) {
constructor(
private readonly configService: ConfigService,
private readonly merchantService: MerchantSer... | Does JwtStrategy fail to throw an exception? | https://api.github.com/repos/nestjs/nest/issues/4421/comments | 3 | 2020-03-26T07:34:22Z | 2020-06-24T20:20:28Z | https://github.com/nestjs/nest/issues/4421 | 588,214,164 | 4,421 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
<!-- Describe how the issue manifests. -->
I created a module inside my project called DashboardModule. This DashboardModule will have dependency with many other modules, but once I add one module inside "imports", it gives me circular dependency error
## Input Code
<!-- REP... | Error importing an existing module on a new module | https://api.github.com/repos/nestjs/nest/issues/4420/comments | 4 | 2020-03-25T23:48:50Z | 2020-06-24T20:27:11Z | https://github.com/nestjs/nest/issues/4420 | 588,059,297 | 4,420 |
[
"nestjs",
"nest"
] | As in the topic, new validation errors schema broke feedback for errors in nested objects / arrays.
Example:
```ts
export class ItemDto {
@IsEmail()
public email: string;
}
export class ManyItemsDto {
@Type(() => ItemDto)
@ValidateNested({ each: true })
public items: ItemDto[];
}
@... | ValidationPipe no longer handles nested arrays/objects errors after upgrading to Nest 7 | https://api.github.com/repos/nestjs/nest/issues/4418/comments | 2 | 2020-03-25T17:19:32Z | 2020-06-24T20:34:13Z | https://github.com/nestjs/nest/issues/4418 | 587,859,619 | 4,418 |
[
"nestjs",
"nest"
] | ## Feature Request
## Is your feature request related to a problem? Please describe.
Is it possible to access the injection token for a given instance of a provider within that provider itself? Is there a way to do this already, I'm sorry for being dim. My use case is in pairs of providers like so -
```
const ... | Retrieving injection token inside a provider | https://api.github.com/repos/nestjs/nest/issues/4416/comments | 2 | 2020-03-25T15:07:04Z | 2020-06-24T20:41:01Z | https://github.com/nestjs/nest/issues/4416 | 587,765,909 | 4,416 |
[
"nestjs",
"nest"
] | ## Bug Report
I am using the validation pipe and somehow I'm not able to get the validation error message when this validation fails.
## Current behavior
I get the following response from my endpoint when I call it with an invalid payload.
```
{
"statusCode": 400,
"message": [],
"error": "Bad ... | I can't get Validation error messages from nested object | https://api.github.com/repos/nestjs/nest/issues/4415/comments | 2 | 2020-03-25T13:25:22Z | 2020-06-24T20:48:09Z | https://github.com/nestjs/nest/issues/4415 | 587,694,389 | 4,415 |
[
"nestjs",
"nest"
] | The docs at https://docs.nestjs.com/controllers explain that when @Res() or @Response() is injected into a request handler, that the response must be given on the response object (i.e. res.send() or otherwise). Failing to do so will hang the http server.
Assuming it is possible, a nice-to-have would be a a console... | Throw an error (if possible) when controller uses a @Res() or @Response() and a normal 'return' statement. | https://api.github.com/repos/nestjs/nest/issues/4414/comments | 2 | 2020-03-25T08:16:28Z | 2020-06-24T20:55:21Z | https://github.com/nestjs/nest/issues/4414 | 587,519,609 | 4,414 |
[
"nestjs",
"nest"
] | ## Feature Request
## Is your feature request related to a problem? Please describe.
When having multiple apps/microservices running, it would be nice to set a context for the app itself. Currently there is only a number differentiating the apps, but it is not human readable.
<img width="744" alt="Bildschirmfoto... | Logger with app context for monorepo's | https://api.github.com/repos/nestjs/nest/issues/4412/comments | 3 | 2020-03-25T01:24:40Z | 2020-06-24T19:52:19Z | https://github.com/nestjs/nest/issues/4412 | 587,378,452 | 4,412 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
When returning `throwError()` within a websocket interceptor the client does not receive an error event. Instead the error is shown in the console:
<img width="655" alt="Bildschirmfoto 2020-03-25 um 01 31 24" src="https://user-images.githubusercontent.com/5103210/77489457-721dc9... | Throwing an error within websocket interceptor and @SubscribeMessage does nothing | https://api.github.com/repos/nestjs/nest/issues/4411/comments | 5 | 2020-03-25T00:33:59Z | 2020-03-28T09:37:43Z | https://github.com/nestjs/nest/issues/4411 | 587,362,713 | 4,411 |
[
"nestjs",
"nest"
] | ## Feature Request
## Is your feature request related to a problem? Please describe.
A microservice `Server` does not have access to system services organically, a service, if required must be assigned manually.
In other words, there is no dependency injection support for the `Server` implementation and one must... | [MicroService]: Allow providing a Server as a class | https://api.github.com/repos/nestjs/nest/issues/4410/comments | 2 | 2020-03-24T23:19:50Z | 2020-06-24T21:09:47Z | https://github.com/nestjs/nest/issues/4410 | 587,337,506 | 4,410 |
[
"nestjs",
"nest"
] | ## Bug Report
I wirte a E2E test-case,my app is useing gql,but when i run jest `jest --config ./test/jest-e2e.json`, it will show some error,They look like:
```shell
....
The type of User.lastLogin must be Output Type but got: undefined.
The type of User.signedUp must be Output Type but got: undefined.
... | Unable to useE2E Testing a Graphql app | https://api.github.com/repos/nestjs/nest/issues/4409/comments | 2 | 2020-03-24T20:16:48Z | 2020-06-24T21:16:48Z | https://github.com/nestjs/nest/issues/4409 | 587,252,827 | 4,409 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
`HttpException` repoduces wrong object, when calling `new ForbiddenException('error_code_string', 'error_message`) response should like this
```
{
"statusCode": 403,
"message": "error_message",
"error": "error_code_string"
}
```
instead
```
{
"statusCode": ... | Wrong error response object? | https://api.github.com/repos/nestjs/nest/issues/4408/comments | 6 | 2020-03-24T19:30:05Z | 2020-06-24T21:02:38Z | https://github.com/nestjs/nest/issues/4408 | 587,228,200 | 4,408 |
[
"nestjs",
"nest"
] | ## Feature Request
Is it feasible to make message parsing/formatting in nest microservices configurable?
I'm working with `transport.RMQ` and I hit a wall because my message Producers (another system) publish `content_type: text/xml` -formatted messages.
I don't want to conflate concepts (and maybe I'm wrong h... | (microservices) configurable message parsing? | https://api.github.com/repos/nestjs/nest/issues/4407/comments | 16 | 2020-03-24T18:31:14Z | 2021-02-02T10:16:51Z | https://github.com/nestjs/nest/issues/4407 | 587,194,097 | 4,407 |
[
"nestjs",
"nest"
] | ## Feature Request
## Is your feature request related to a problem? Please describe.
Currently, `Server` defines the serialization types as follows:
https://github.com/nestjs/nest/blob/831dac8e8a016f288f2b38b67670c7c98362be73/packages/microservices/server/server.ts#L38-L39
While the library has a more gene... | [Microservices]: refactor serializer/deseriazlier to their base types | https://api.github.com/repos/nestjs/nest/issues/4406/comments | 2 | 2020-03-24T17:39:17Z | 2020-11-16T11:10:06Z | https://github.com/nestjs/nest/issues/4406 | 587,152,886 | 4,406 |
[
"nestjs",
"nest"
] | ```TS
import * as supertest from 'supertest'
// ...
let request: ReturnType<typeof supertest>
/*
Type 'typeof supertest' does not satisfy the constraint '(...args: any) => any'.
Type 'typeof supertest' provides no match for the signature '(...args: any): any'.
cats.e2e.spec.ts(2, 1): Type originates at this... | "import * as .." in examples causes issues for default supertest import | https://api.github.com/repos/nestjs/nest/issues/4402/comments | 3 | 2020-03-24T10:42:16Z | 2020-06-24T21:23:43Z | https://github.com/nestjs/nest/issues/4402 | 586,862,546 | 4,402 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
Dynamic module's providers cannot be referenced after #3363 's fix.
The dynamic module is loading exporting and import from different module based on an environment variable. With the fix, the provider cannot be referenced/injected anymore.
I have tried changing the name of ... | Dynamic module's providers cannot be injected | https://api.github.com/repos/nestjs/nest/issues/4395/comments | 1 | 2020-03-23T18:21:22Z | 2020-03-23T21:29:16Z | https://github.com/nestjs/nest/issues/4395 | 586,420,675 | 4,395 |
[
"nestjs",
"nest"
] | ## Feature Request
Is there any ways to return a different HTTP status code when throwing in `ValidationPipe`?
```json
// Default response in Nest 7
{
"statusCode": 400,
"message": ["email must be an email"],
"error": "Bad Request"
}
// I want change to HTTP status code
{
"statusCode": 422,
"... | Throwing a different HTTP status code in ValidationPipe error | https://api.github.com/repos/nestjs/nest/issues/4393/comments | 6 | 2020-03-23T14:58:11Z | 2020-06-24T19:28:56Z | https://github.com/nestjs/nest/issues/4393 | 586,274,227 | 4,393 |
[
"nestjs",
"nest"
] | @Component isn't part of @nestjs/common anymore so please update your documentation.
https://docs.nestjs.com/components | Update documentation | https://api.github.com/repos/nestjs/nest/issues/4392/comments | 1 | 2020-03-23T12:56:10Z | 2020-03-23T15:16:00Z | https://github.com/nestjs/nest/issues/4392 | 586,188,301 | 4,392 |
[
"nestjs",
"nest"
] | ## Bug Report
Actually I don't think this is really a bug, but a misuse between undefined and null. I fired this issue here in case anyone else has the same problem in the future. (Feel free to close it.)
## Current behavior
The body fields of all requests are undefined.
## Input Code
I need to differ th... | BodyParser not used when options passed with null (NestFactory.create) | https://api.github.com/repos/nestjs/nest/issues/4391/comments | 1 | 2020-03-23T11:22:15Z | 2020-06-24T21:30:31Z | https://github.com/nestjs/nest/issues/4391 | 586,133,564 | 4,391 |
[
"nestjs",
"nest"
] | I am writing APIs in NestJS which have a set of common headers. I decided to use interceptors in order to append headers to outgoing requests. The headers do not get appended to the request and hence the request keep on failing.
**Interceptor**
[import * as utils from '../utils/utils';
import {
CallHandler,
... | Append headers before http request is sent to server | https://api.github.com/repos/nestjs/nest/issues/4388/comments | 2 | 2020-03-23T07:12:08Z | 2020-06-24T21:44:32Z | https://github.com/nestjs/nest/issues/4388 | 585,982,944 | 4,388 |
[
"nestjs",
"nest"
] | ## Feature Request
Helper function for mocking mongoose models to plain objects
## 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 desc... | Helper function for mocking mongoose models to plain objects | https://api.github.com/repos/nestjs/nest/issues/4385/comments | 2 | 2020-03-22T16:08:45Z | 2020-06-24T21:37:18Z | https://github.com/nestjs/nest/issues/4385 | 585,752,724 | 4,385 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
I removed `@nestjs/platform-express` to use Nestjs for its DI & other utilities for an Electron project. When I initialize the root module I get the following error:
``` [PackageLoader] No driver (HTTP) has been selected. In order to take advantage of the default driver, please,... | Electron + Nestjs: Express still a hard dependency | https://api.github.com/repos/nestjs/nest/issues/4382/comments | 3 | 2020-03-22T12:46:38Z | 2020-06-24T21:51:39Z | https://github.com/nestjs/nest/issues/4382 | 585,710,506 | 4,382 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
Havin the `optional: true` key in `ParseArrayPipe` will throw `TypeError: value.map is not a function`
```
TypeError: value.map is not a function
at ParseArrayPipe.transform (@nestjs\common\pipes\parse-array.pipe.js:62:45)
at @nestjs\core\pipes\pipes-consumer.js:15:33... | ParseArrayPipe `optional = true` throws `TypeError: value.map is not a function` | https://api.github.com/repos/nestjs/nest/issues/4380/comments | 2 | 2020-03-22T06:32:02Z | 2020-06-24T21:58:59Z | https://github.com/nestjs/nest/issues/4380 | 585,655,724 | 4,380 |
[
"nestjs",
"nest"
] | ## Bug Report
If I throw a non-standard exception in a resolver, it thinks it's a response and tries to validate it.
## Current behavior
If thrown exception is a valid response format, it returns as successful:
```json
{
"data": {
"attack": true
}
}
```
If thrown exception is not a valid respon... | Exceptions thrown in GraphQL resolvers are considered as valid returns | https://api.github.com/repos/nestjs/nest/issues/4374/comments | 3 | 2020-03-21T18:44:44Z | 2020-06-24T22:29:37Z | https://github.com/nestjs/nest/issues/4374 | 585,556,133 | 4,374 |
[
"nestjs",
"nest"
] | Hey guys, is it possible to add controllers (with display in swagger) dynamically? I want to create asystem with headless CMS functionality where users can design their own tables and queries, but for this, I need the ability to create (virtual) controllers by document structure in my mondodb. | Add controllers dynamically | https://api.github.com/repos/nestjs/nest/issues/4373/comments | 5 | 2020-03-21T14:37:01Z | 2020-06-24T22:37:23Z | https://github.com/nestjs/nest/issues/4373 | 585,511,720 | 4,373 |
[
"nestjs",
"nest"
] | That would allow the usage of array as an alternative to the list of arguments, like so:

Would be equivalent to
 , when running a test using Jest in a fresh installation of NestJs, I get the following error:
`
FAIL src/app.controller.spec.ts
● Test suite failed to run
Typ... | Jest error with reflect-metadata | https://api.github.com/repos/nestjs/nest/issues/4369/comments | 4 | 2020-03-21T08:33:31Z | 2020-06-24T22:52:02Z | https://github.com/nestjs/nest/issues/4369 | 585,456,098 | 4,369 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
When using ModuleRef to get providers there are situations when the instance returned does not have its own dependencies injected
## Input Code
https://github.com/greenreign/nest-moduleref-repro
## Expected behavior
Instances returned should have all their dependencies or N... | ModuleRef.get(token, {strict: false}) does not inject dependencies | https://api.github.com/repos/nestjs/nest/issues/4368/comments | 5 | 2020-03-21T01:19:20Z | 2020-06-24T22:21:47Z | https://github.com/nestjs/nest/issues/4368 | 585,401,657 | 4,368 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
When I create a `mixin` pipe which uses `@Inject(REQUEST)`, the request is `null` when the pipe is used in GraphQL query method parameter annotated `@Args()` but is **not** when the pipe is used in `@Param()` of a controller parameter method. This happens at runtime and I can repro... | @Inject(REQUEST) is null for mixin pipes used in GraphQL @Args() | https://api.github.com/repos/nestjs/nest/issues/4367/comments | 14 | 2020-03-21T01:02:36Z | 2020-06-24T22:44:49Z | https://github.com/nestjs/nest/issues/4367 | 585,398,720 | 4,367 |
[
"nestjs",
"nest"
] | ## Feature Request
## Is your feature request related to a problem? Please describe.
<!-- A clear and concise description of what the problem is. Ex. I have an issue when [...] -->
When using a cache interceptor in a websocket gateway, the `getArgByIndex()` is including the socket on its first index, even though _... | [Documentation] Cache Interceptor: First parameter is invisible | https://api.github.com/repos/nestjs/nest/issues/4364/comments | 3 | 2020-03-20T16:19:04Z | 2020-06-24T22:58:56Z | https://github.com/nestjs/nest/issues/4364 | 585,181,010 | 4,364 |
[
"nestjs",
"nest"
] | ## Feature Request
## Is your feature request related to a problem? Please describe.
Having a monorepo with multiple apps inside, it would be useful to have commands like `nest start all`, `nest start:dev all` and `nest build all`.
## What is the motivation / use case for changing the behavior?
Currently each a... | CLI: start all / build all for monorepo's | https://api.github.com/repos/nestjs/nest/issues/4362/comments | 7 | 2020-03-20T15:47:15Z | 2020-06-24T18:52:11Z | https://github.com/nestjs/nest/issues/4362 | 585,158,835 | 4,362 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
I have a NATS server that requires authentication by bearer token. I am trying to instantiate the Nest microservices application with the `userJWT` option, which is [documented](https://docs.nestjs.com/microservices/nats#options) to be supported. However the authentication fails an... | NATS `userJWT` option not being passed through to NATS client | https://api.github.com/repos/nestjs/nest/issues/4356/comments | 7 | 2020-03-19T17:42:14Z | 2020-06-24T23:12:02Z | https://github.com/nestjs/nest/issues/4356 | 584,586,268 | 4,356 |
[
"nestjs",
"nest"
] | ## Bug Report
After many times trying to connect grpc to my project, and it endup with a method that is not exist in the source code (this.contextUtils.getContextFactory()) it is from the package @nestjs/microservices/context/rpc-context-creator.js line 74 .
| Method is not exist . | https://api.github.com/repos/nestjs/nest/issues/4354/comments | 3 | 2020-03-19T17:17:45Z | 2020-06-24T23:25:08Z | https://github.com/nestjs/nest/issues/4354 | 584,571,228 | 4,354 |
[
"nestjs",
"nest"
] | I have a ManyToMany relation between two entities and I don't know how can I Get data from the join table "device_users_user"
@Entity()
export class Device{
@PrimaryColumn()
Name:string;
@Column({ nullable: true})
Port:number;
@Column({ nullable: true})
IPadress:string;
@Column({ null... | How to Get data in mutiple @ManyToMany in Nest.js | https://api.github.com/repos/nestjs/nest/issues/4347/comments | 3 | 2020-03-18T13:27:50Z | 2020-06-24T23:31:45Z | https://github.com/nestjs/nest/issues/4347 | 583,727,906 | 4,347 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
I'm not sure if this is intentional, but @nestjs/common v7.0.3 seems to be missing `graphql` in the [`ContextType`](https://github.com/nestjs/nest/blob/master/packages/common/interfaces/features/arguments-host.interface.ts) enum.
```
export declare type ContextType = 'http' | '... | graphql missing in ContextType, @nestjs/common v7.0.3 | https://api.github.com/repos/nestjs/nest/issues/4344/comments | 7 | 2020-03-18T10:19:16Z | 2020-06-24T22:06:23Z | https://github.com/nestjs/nest/issues/4344 | 583,620,338 | 4,344 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
The problem occurs at server startup
Console Error :
```
npm start
> mqbackend@0.0.1 start /home/leopold/Bureau/cours/Web Full Stack/MusicQuiz_YNOV/Back
> nest start
#
# Fatal error in , line 0
# Check failed: U_SUCCESS(status).
#
#
#
#FailureMessage Object: 0x7... | Illegal instruction (core dumped) | https://api.github.com/repos/nestjs/nest/issues/4343/comments | 6 | 2020-03-18T10:00:50Z | 2020-06-24T23:38:24Z | https://github.com/nestjs/nest/issues/4343 | 583,609,655 | 4,343 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
When I migrated to v7, I change my custom decorator for getting the `req.user`, I followed the steps from the migration guide, But I'm getting this error `ctx.switchToHttp is not a function` when I make a request to that endpoint with the decorator.
## Input Code
<!-- REPL or R... | Custom Decorator Error | https://api.github.com/repos/nestjs/nest/issues/4341/comments | 6 | 2020-03-18T07:22:47Z | 2020-06-24T23:51:27Z | https://github.com/nestjs/nest/issues/4341 | 583,521,313 | 4,341 |
[
"nestjs",
"nest"
] | nest.js is so cool. it use Typescript and use DI and AOP,but the learn documentation is so
hard to understand。 i don't know how to start a sample project, i don't know why i need Pipes, Middleware, guards, interceptors and what the execute order. the documentation's table of Contents is always confusion me. is the ... | documentation is so terrible | https://api.github.com/repos/nestjs/nest/issues/4340/comments | 2 | 2020-03-18T02:55:02Z | 2020-03-18T04:33:15Z | https://github.com/nestjs/nest/issues/4340 | 583,426,559 | 4,340 |
[
"nestjs",
"nest"
] | ## Bug Report
I created a new nest 7 project and followed the authentication documentation, but for the graphql the decorator threw an error of undefined when using custom route decorator
## Current behavior
GraphQL guard Custom decorator doesn't work.
## Input Code
<!-- REPL or Repo link if applicable: -->
... | GraphQL auth guard custom decorator undefined | https://api.github.com/repos/nestjs/nest/issues/4339/comments | 3 | 2020-03-18T02:38:45Z | 2020-06-24T23:51:54Z | https://github.com/nestjs/nest/issues/4339 | 583,421,505 | 4,339 |
[
"nestjs",
"nest"
] | ## Feature Request
Add generic type to message property of `HttpException`
## 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 [...] -->
So I was implementing custom exception filter to standardize error messages acr... | HttpException generic message | https://api.github.com/repos/nestjs/nest/issues/4338/comments | 4 | 2020-03-17T22:11:43Z | 2020-06-24T23:18:37Z | https://github.com/nestjs/nest/issues/4338 | 583,329,578 | 4,338 |
[
"nestjs",
"nest"
] | ## Bug Report
UseGuards are not triggered for Resolvers, or Queries
Related to: https://github.com/nestjs/nest/issues/2484
```
import {ExecutionContext, Injectable} from "@nestjs/common";
import {AuthGuard} from "@nestjs/passport";
import {GqlExecutionContext} from "@nestjs/graphql";
import {ExecutionCon... | UseGuards not triggered for Resolvers and Queries | https://api.github.com/repos/nestjs/nest/issues/4337/comments | 6 | 2020-03-17T13:18:23Z | 2020-06-24T23:44:52Z | https://github.com/nestjs/nest/issues/4337 | 583,006,420 | 4,337 |
[
"nestjs",
"nest"
] | (node:20453) UnhandledPromiseRejectionWarning: TypeError: this.contextUtils.getContextFactory is not a function
at WsContextCreator.getMetadata (/home/mostafa/Workspace/BehineGostar/Tamuk/mobile/node_modules/@nestjs/websockets/context/ws-context-creator.js:73:50)
at WsContextCreator.create (/home/mostafa/Work... | I'm using default gateway and log this error in terminal! | https://api.github.com/repos/nestjs/nest/issues/4336/comments | 3 | 2020-03-17T12:25:23Z | 2020-04-13T14:46:38Z | https://github.com/nestjs/nest/issues/4336 | 582,975,751 | 4,336 |
[
"nestjs",
"nest"
] | ## Feature Request
## Is your feature request related to a problem? Please describe.
<!-- A clear and concise description of what the problem is. Ex. I have an issue when [...] -->
I wish to have an auto generated `CHANGELOG.md` file in repository
## Describe the solution you'd like
<!-- A clear and concise de... | CHANGELOG | https://api.github.com/repos/nestjs/nest/issues/4335/comments | 4 | 2020-03-17T10:31:00Z | 2020-03-17T12:24:49Z | https://github.com/nestjs/nest/issues/4335 | 582,911,408 | 4,335 |
[
"nestjs",
"nest"
] | Version 7.0.2
https://docs.nestjs.com/migration-guide#implicit-type-conversion-validationpipe
https://github.com/nestjs/nest/releases/tag/v7.0.0
> common: automatically transform primitives (number, bool) with ValidationPipe #4110
In the above PR, the `transformPrimitive` function was added,
Was reverted from #... | Implicit type conversion does not work. | https://api.github.com/repos/nestjs/nest/issues/4331/comments | 1 | 2020-03-17T06:27:17Z | 2020-03-17T08:34:18Z | https://github.com/nestjs/nest/issues/4331 | 582,785,106 | 4,331 |
[
"nestjs",
"nest"
] | ## Feature Request
## Is your feature request related to a problem? Please describe.
<!-- A clear and concise description of what the problem is. Ex. I have an issue when [...] -->
I usually use pipes to transform and validate `@Query(...)` values on controller level. Often these query-parameters are used for fi... | Add possibility to make (validation) pipes optional | https://api.github.com/repos/nestjs/nest/issues/4328/comments | 3 | 2020-03-16T16:26:10Z | 2021-01-12T07:58:59Z | https://github.com/nestjs/nest/issues/4328 | 582,432,902 | 4,328 |
[
"nestjs",
"nest"
] | Input format:
```
{
"location": {
"locationName": "something 3",
"locationDescription": "asdfsdf ",
"airportCode": "asdfs",
"locationCode": "airportcode",
"locationType": "INTERNATIONAL"
},
"address": {
"country": 2,
"city": 2,
"state": 2,
"lat": 2.2,
"lng": 3.2
}
}
```
My l... | How to validate nested request object using DTOS ? | https://api.github.com/repos/nestjs/nest/issues/4327/comments | 1 | 2020-03-16T11:51:53Z | 2020-03-16T11:58:13Z | https://github.com/nestjs/nest/issues/4327 | 582,230,421 | 4,327 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
I have set FileInterceptor's multerOptions.preservePath=true, but i can't find file filed in the uoloadedFile object
## Input Code
```ts
@UseInterceptors(FileInterceptor('file', { preservePath: true }))
async upload(@UploadedFile() file): Promise<UploadResult> {
console.... | Set FileInterceptor's multerOptions.preservePath=true not work | https://api.github.com/repos/nestjs/nest/issues/4325/comments | 1 | 2020-03-16T07:23:41Z | 2024-06-05T04:30:40Z | https://github.com/nestjs/nest/issues/4325 | 582,063,150 | 4,325 |
[
"nestjs",
"nest"
] | ## Bug Report
I can't use `ConfigService` in destination method of multer options.
Here is the code I'm using.
```ts
destination: (req, file, cb) => {
cb(null, this.configService.get<string>('UPLOAD_PATH'));
},
```
I think `this` refers to the destination method and not the class.
I get this error
... | Can't use ConfigService in multer options | https://api.github.com/repos/nestjs/nest/issues/4320/comments | 1 | 2020-03-15T12:39:42Z | 2020-03-15T12:53:11Z | https://github.com/nestjs/nest/issues/4320 | 581,657,609 | 4,320 |
[
"nestjs",
"nest"
] | ## Regression
Sorry @kamilmysliwiec but this behavior of breaking changes is for me unacceptable.
For code like:
```typescript
throw new ForbiddenException('Forbidden resource');
```
It was smth like:
```json
{
"statusCode": 403,
"message": "Forbidden resource"
}
```
But now it change from... | HTTP exceptions body | https://api.github.com/repos/nestjs/nest/issues/4319/comments | 2 | 2020-03-15T12:03:39Z | 2020-03-15T13:45:36Z | https://github.com/nestjs/nest/issues/4319 | 581,645,350 | 4,319 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
<!-- Describe how the issue manifests. -->
```ts
node_modules/@nestjs/terminus/dist/health-indicators/microservice/grpc.health.d.ts:1:29 - error TS2307: Cannot find module '@nestjs/common/interfaces/microservices/microservice-configuration.interface'.
1 import { GrpcOptions } ... | Cannot find module '@nestjs/common/interfaces/microservices/microservice-configuration.interface' | https://api.github.com/repos/nestjs/nest/issues/4318/comments | 6 | 2020-03-15T10:23:50Z | 2020-05-11T15:04:06Z | https://github.com/nestjs/nest/issues/4318 | 581,612,825 | 4,318 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
`nest build` ignores `tsconfig.json`'s `exclude` option. e.g.: I want to exclude `scripts` folder from compiling and this works with `tsc`. But when I run `nest build`, `scripts` folder is also compiled and copied to `dist`.
## Input Code
Inside `tsconfig.json`:
```json
... | `nest build` ignores tsconfig exclude option | https://api.github.com/repos/nestjs/nest/issues/4316/comments | 9 | 2020-03-15T06:23:06Z | 2023-04-17T07:49:17Z | https://github.com/nestjs/nest/issues/4316 | 581,543,085 | 4,316 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
In Class based middleware `req.url` seems to always be `/` regardless of what path is being requested. This is not the case in functional middleware, where the correct path is set.
A previous Bug was filed in 2019 (https://github.com/nestjs/nest/issues/2261) with a similar findi... | req.url is always '/' in class based middleware | https://api.github.com/repos/nestjs/nest/issues/4315/comments | 6 | 2020-03-15T01:18:39Z | 2022-10-19T08:59:30Z | https://github.com/nestjs/nest/issues/4315 | 581,450,905 | 4,315 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
<!-- Describe how the issue manifests. -->
When I go to the playground at http://localhost:3000/graphql I'm alway see the network keep making the post request to http://localhost:3000/graphql
 to start to use queue. I installed `@nestjs/bull`, `bull`, `@types/bull` dependencies. And here is my `app.module.ts`:
```javascript
@Module({
imports: [
ConfigModule.forRoot({
load: [configuration],
}),
Bu... | Can't use queue | https://api.github.com/repos/nestjs/nest/issues/4292/comments | 1 | 2020-03-13T12:50:19Z | 2020-03-13T12:51:57Z | https://github.com/nestjs/nest/issues/4292 | 580,580,898 | 4,292 |
[
"nestjs",
"nest"
] | Hi, i use swagger stats to monitor api request/ response but i have an question about response time.
I saw response time from interceptor differences time from swagger stats like below:
`[Nest] 29382 - 03/13/2020, 4:43:01 PM [***Controller] [GET] /***/v1/airports?codes=XXX - [Excuted time: 11ms] +6754ms`
I dont ... | Swagger api response time monitor | https://api.github.com/repos/nestjs/nest/issues/4291/comments | 1 | 2020-03-13T11:21:05Z | 2020-03-13T12:03:38Z | https://github.com/nestjs/nest/issues/4291 | 580,537,976 | 4,291 |
[
"nestjs",
"nest"
] | I created a service by using NESTJS. Consider I have two or more get service in a controller so that I need to give the name each get method like @Get("getDetails"),@Get("getDetailsWithPagination"),
`import { Controller, Get, Query, Param, Post, Body, Put, Delete, HttpStatus } from '@nestjs/common';
import { General... | Position based | https://api.github.com/repos/nestjs/nest/issues/4290/comments | 1 | 2020-03-13T06:33:18Z | 2020-03-13T07:33:50Z | https://github.com/nestjs/nest/issues/4290 | 580,400,312 | 4,290 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
When importing an external file outside of the project root the build is kind of weird and the compiler throws an error:

![Bildschir... | Importing external file breaks build | https://api.github.com/repos/nestjs/nest/issues/4289/comments | 7 | 2020-03-12T16:48:23Z | 2020-06-24T23:05:42Z | https://github.com/nestjs/nest/issues/4289 | 580,072,661 | 4,289 |
[
"nestjs",
"nest"
] | ## Bug Report
To have a modular system, needed to register some providers independent of the target module. Imaging ModuleA has imported ModuleB. ModuleB provides a `LoggerService` which required `LoggerProvider`. ModuleA provider `LoggerProvider`. so:
LoggerService -> depends -> LoggerProvider
ModuelB -> provi... | Service sharing from Higher modules to Lower Modules | https://api.github.com/repos/nestjs/nest/issues/4288/comments | 5 | 2020-03-12T14:29:03Z | 2020-03-13T07:33:28Z | https://github.com/nestjs/nest/issues/4288 | 579,980,047 | 4,288 |
[
"nestjs",
"nest"
] | ## Feature Request
Add a ConnectedSocket scope for injectables.
## 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 [...] -->
There are currently 3 types of scopes:
- default: useful for global request unaware ser... | ConnectedSocket DI scope for services running under WebSocketGateway | https://api.github.com/repos/nestjs/nest/issues/4287/comments | 7 | 2020-03-12T11:00:19Z | 2023-11-30T12:46:21Z | https://github.com/nestjs/nest/issues/4287 | 579,857,754 | 4,287 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
`RmqContext` defines a `getMesssage()` method. But docs refer it as `getMessage()`. Highly probable a typo.
https://github.com/nestjs/nest/blob/8c2ebab2474441770d7463e35f62811bd41cfc5d/packages/microservices/ctx-host/rmq.context.ts#L13
## Input Code
```ts
@MessagePattern(... | Typo on RMQ Context `getMessage()` method | https://api.github.com/repos/nestjs/nest/issues/4285/comments | 1 | 2020-03-12T08:43:48Z | 2020-03-12T09:28:59Z | https://github.com/nestjs/nest/issues/4285 | 579,779,286 | 4,285 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
when running 'npm run start' I get an error as described here: https://stackoverflow.com/questions/59435293/typeorm-entity-in-nestjs-cannot-use-import-statement-outside-a-module
## Input Code
repo: https://github.com/Bautista-Baiocchi-lora/LAB1-Server
```ts
import { Entity,... | SyntaxError: Cannot use import statement outside a module | https://api.github.com/repos/nestjs/nest/issues/4283/comments | 10 | 2020-03-12T02:58:47Z | 2021-05-12T16:18:02Z | https://github.com/nestjs/nest/issues/4283 | 579,659,556 | 4,283 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
<!-- Describe how the issue manifests. -->
Nest cannot resolve a middleware's dependencies when targeting es2017
When applying a middleware to a module class (module A) which implements NestModule, where the middleware depends on a service within its own module (module B), nest c... | nest cannot resolve Middleware dependency injection when targeting es2017 | https://api.github.com/repos/nestjs/nest/issues/4281/comments | 12 | 2020-03-12T01:50:08Z | 2020-05-27T09:40:29Z | https://github.com/nestjs/nest/issues/4281 | 579,641,294 | 4,281 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
In my project, I get the following exception when trying to run the project:
```
<path>\link-shortener-backend\node_modules\@nestjs\common\decorators\core\optional.decorator.js:21
const args = Reflect.getMetadata(constants_1.OPTIONAL_DEPS_METADATA, target) || [];
... | Nest doesn't find reflect-metadata with everything installed supposedly correctly | https://api.github.com/repos/nestjs/nest/issues/4273/comments | 1 | 2020-03-11T19:29:28Z | 2020-03-12T08:18:04Z | https://github.com/nestjs/nest/issues/4273 | 579,494,787 | 4,273 |
[
"nestjs",
"nest"
] | ## Feature Request
## Is your feature request related to a problem? Please describe.
When creating a microservice or a client (e.g. with redis) it is possible to set the `retryAttempts`, which default to 0. But I would like to set it to infinite.
## Describe the solution you'd like
- Set to `-1` to have infinit... | Infinite retryAttempts | https://api.github.com/repos/nestjs/nest/issues/4270/comments | 2 | 2020-03-11T16:50:40Z | 2020-03-11T23:46:23Z | https://github.com/nestjs/nest/issues/4270 | 579,406,290 | 4,270 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
When running my application, the console says that a certain controller's routes were mapped but when I try to acess them via postman I get a 404 error

My controller i... | Controller gets mapped but returns 404 when trying to access routes | https://api.github.com/repos/nestjs/nest/issues/4269/comments | 6 | 2020-03-11T13:55:52Z | 2021-07-05T07:12:20Z | https://github.com/nestjs/nest/issues/4269 | 579,282,805 | 4,269 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
RabbitMQ client does not reconnect if the first rabbitMQ host of cluster does not exist
Exception:
[Nest] 17296 - 03/11/2020, 5:02:52 PM [ClientProxy] Disconnected from RMQ. Trying to reconnect. +2035ms
[Nest] 17296 - 03/11/2020, 5:02:52 PM [ClientProxy] Object:
{
... | Cannot reconnect if one of RabbitMQ host in cluster array URLs does not exist | https://api.github.com/repos/nestjs/nest/issues/4268/comments | 1 | 2020-03-11T11:20:24Z | 2020-03-13T10:42:07Z | https://github.com/nestjs/nest/issues/4268 | 579,190,557 | 4,268 |
[
"nestjs",
"nest"
] | Feature request I created was closed instantly with discussion lock #4229 as a support request, but it was never meant to be one.
The idea of request is that you currently CAN handle exceptions in WebSockets, but they are not handled out of the box, instead they are swallowed entirely which makes it very complicated... | Out of the box uncaught exception logging for WebSocketGateway | https://api.github.com/repos/nestjs/nest/issues/4267/comments | 2 | 2020-03-11T10:08:12Z | 2020-03-11T13:32:46Z | https://github.com/nestjs/nest/issues/4267 | 579,145,246 | 4,267 |
[
"nestjs",
"nest"
] | ## Feature Request
Please add support for Micro-ORM https://mikro-orm.io 😄
| Mikro-ORM support | https://api.github.com/repos/nestjs/nest/issues/4265/comments | 4 | 2020-03-10T22:39:14Z | 2020-05-07T08:18:16Z | https://github.com/nestjs/nest/issues/4265 | 578,902,103 | 4,265 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
`beforeApplicationShutdown` (and other pre shutdown hooks) only works sometimes on linux. They seem to work reliably on windows
## Environment
- Node version: 10.15.1
- Platform: Linux
I am calling `enableShutdownHooks()` but the hooks that are called when the server are k... | Shutdown hooks only work intermittently on linux | https://api.github.com/repos/nestjs/nest/issues/4263/comments | 8 | 2020-03-10T16:30:30Z | 2020-03-15T11:56:41Z | https://github.com/nestjs/nest/issues/4263 | 578,708,867 | 4,263 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.