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
With `@nestjs/core@v17.6.7` installed in a project, `tsc` is failing with the following error:
```
node_modules/@nestjs/core/router/sse-stream.d.ts:2:23 - error TS2688: Cannot find type definition file for 'vinyl-fs'.
2 /// <reference types="vinyl-fs" />
```
`@types/vi... | @nestjs/core: vinyl-fs types are being referenced in core/router/sse-stream.d.ts | https://api.github.com/repos/nestjs/nest/issues/7247/comments | 3 | 2021-06-09T16:52:15Z | 2021-06-11T07:02:12Z | https://github.com/nestjs/nest/issues/7247 | 916,414,299 | 7,247 |
[
"nestjs",
"nest"
] | **env.development**
```
LOGGER_SERVICE_URL=localhost:30043
ELASTICSEARCH_HOST=http://localhost:9200
```
**app.module**
```
import {
MiddlewareConsumer,
Module,
NestModule,
RequestMethod
} from '@nestjs/common';
import { ConfigModule, ConfigService } from '@nestjs/config';
import * as cors from '... | ClientsModule.registerAsync with ConfigService | https://api.github.com/repos/nestjs/nest/issues/7246/comments | 1 | 2021-06-09T12:46:44Z | 2021-06-09T12:57:20Z | https://github.com/nestjs/nest/issues/7246 | 916,161,785 | 7,246 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
Adding a fastify adapter prevents `INestApplication#close()` from working as expected
## Input Code
```ts
@Module({ })
class DummyModule { }
async function boostrapClosesAsExpected() {
// const fastifyInstance = fastify();
// const fastifyAdapter = new FastifyAda... | Application doesn't shutdown after adding a FastifyAdapter | https://api.github.com/repos/nestjs/nest/issues/7244/comments | 2 | 2021-06-08T07:57:01Z | 2021-07-05T09:40:38Z | https://github.com/nestjs/nest/issues/7244 | 914,522,682 | 7,244 |
[
"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 have a GraphQL application based with `nest.js` and I notice that auth guard is called multiple times for a single request.
What I... | The ability of calling auth guard once per request for graphQL | https://api.github.com/repos/nestjs/nest/issues/7241/comments | 3 | 2021-06-07T23:34:25Z | 2021-06-09T07:12:20Z | https://github.com/nestjs/nest/issues/7241 | 914,046,657 | 7,241 |
[
"nestjs",
"nest"
] | Currently the emit function only accepts two parameters.
`this.clientMqtt.emit('Webservice', _body.payload);`
How can we set the options while publishing a new message? | How to send/emit/publish MQTT messages with Qos2 and retain? | https://api.github.com/repos/nestjs/nest/issues/7240/comments | 1 | 2021-06-07T08:59:55Z | 2021-06-07T09:01:31Z | https://github.com/nestjs/nest/issues/7240 | 913,312,588 | 7,240 |
[
"nestjs",
"nest"
] | I've been implementing a custom service that makes use of `ModuleRef.resolve`.
I would expect `ModuleRef.resolve` to be able to resolve any provider, in any of the modules (including outside its own module, i.e. anywhere in the global context, [as per the documentation](https://docs.nestjs.com/fundamentals/module-re... | ModuleRef probably not respecting { strict: false } | https://api.github.com/repos/nestjs/nest/issues/7239/comments | 3 | 2021-06-07T07:24:13Z | 2021-06-29T13:16:52Z | https://github.com/nestjs/nest/issues/7239 | 913,210,976 | 7,239 |
[
"nestjs",
"nest"
] | ## Feature Request
## Is your feature request related to a problem? Please describe.
I'm still quite new to NestJS, please bear with me if there is already an existing solution to the problem I'm describing.
Let's consider the following services
- A Gateway service (HTTP) based talks to a couple of microservice... | Standardising the name convention for controllers message handlers with @MessagePattern In Microservice Context | https://api.github.com/repos/nestjs/nest/issues/7235/comments | 1 | 2021-06-06T17:41:27Z | 2021-06-07T06:39:16Z | https://github.com/nestjs/nest/issues/7235 | 912,901,386 | 7,235 |
[
"nestjs",
"nest"
] | I see that I can get the value of key directly by @query('key'), but if I have multiple arguments, how do I pass this? | What if I want to get multiple parameters directly in @Query() | https://api.github.com/repos/nestjs/nest/issues/7233/comments | 3 | 2021-06-05T09:48:30Z | 2021-06-07T06:41:10Z | https://github.com/nestjs/nest/issues/7233 | 912,182,278 | 7,233 |
[
"nestjs",
"nest"
] | ## Bug Report
Same as https://github.com/nestjs/nest/issues/465 , the `fileFilter` returns an internal error while I'd expect a bad request when file type mismatch.
## Current behavior
returns a `500` status
## Input Code
```ts
@Post(':id/avatar')
@UseInterceptors(
FileInterceptor('file', {
... | multer options fileFilter FileInterceptor throws http status code 500 | https://api.github.com/repos/nestjs/nest/issues/7229/comments | 4 | 2021-06-03T16:16:55Z | 2022-08-11T09:40:51Z | https://github.com/nestjs/nest/issues/7229 | 910,654,437 | 7,229 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
Using multiple gateway (Same socket io server).
When there a connection we get 'Possible EventEmitter memory leak detected. X disconnect listeners added to [Socket]'
It looks like for every gateway for every connection is subscribed to disconnect event(Also connect). Look on im... | Multiple gateways with socket.io get (disconnect listeners added to [Socket]) | https://api.github.com/repos/nestjs/nest/issues/7228/comments | 2 | 2021-06-03T08:44:44Z | 2021-06-22T06:21:30Z | https://github.com/nestjs/nest/issues/7228 | 910,265,596 | 7,228 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
In code first approach if I create UUID custom scalar, it turns all my unspecified fields, or specified with `() => String` fields into UUID in schema...
## Expected behavior
It should let me specify in field that it's of type `() => UUID` without throwing me an error, or mutat... | Custom scalar bug | https://api.github.com/repos/nestjs/nest/issues/7226/comments | 2 | 2021-06-03T06:17:42Z | 2024-05-07T14:41:25Z | https://github.com/nestjs/nest/issues/7226 | 910,140,673 | 7,226 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
When generating your first resource in a nest project, nest cli adds a dependency to `@nestjs/mapped-types` but without specifying a version it uses `*` to use any version.
## Input Code
```
nest g resource cats
```
## Expected behavior
The dependency added for `mapped-ty... | Nest CLI adds dependency to mapped-types without specific version | https://api.github.com/repos/nestjs/nest/issues/7225/comments | 3 | 2021-06-03T06:15:04Z | 2021-06-04T09:29:42Z | https://github.com/nestjs/nest/issues/7225 | 910,138,936 | 7,225 |
[
"nestjs",
"nest"
] | ## Bug Report
Nest CLI doesn't respect existing yarn workspaces while generating the resources.
## Current behavior
When a resource is generated, Nest CLI adds `@nestjs/mapped-types` as a dependency to `package.json` and generates a `package-lock.json`.
## Input Code
None
## Expected behavior
Nest CLI shou... | Nest CLI doesn't respect existing yarn workspaces | https://api.github.com/repos/nestjs/nest/issues/7224/comments | 1 | 2021-06-03T06:05:40Z | 2021-06-03T08:09:50Z | https://github.com/nestjs/nest/issues/7224 | 910,132,891 | 7,224 |
[
"nestjs",
"nest"
] | please change the link on the Korean manual site.
Pull Request : https://github.com/nestjs/nest/pull/7200 | changing Korean manual site link | https://api.github.com/repos/nestjs/nest/issues/7223/comments | 0 | 2021-06-02T23:53:02Z | 2021-06-03T08:12:02Z | https://github.com/nestjs/nest/issues/7223 | 909,969,243 | 7,223 |
[
"nestjs",
"nest"
] | ## I'm submitting a...
<pre><code>
[ ] Regression <!--(a behavior that used to work and stopped working in a new release)-->
[ ] Bug report
[ ] Feature request
[x] Documentation issue or request
[ ] Support request => Please do not submit support request here, instead post your question on Stack Overflow.
</code... | Documentation issue for `@CurrentUser()` decorator within GraphQL Authentication | https://api.github.com/repos/nestjs/nest/issues/7220/comments | 3 | 2021-06-01T15:25:56Z | 2021-06-02T07:19:20Z | https://github.com/nestjs/nest/issues/7220 | 908,413,338 | 7,220 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
When instanciation a gRPC server or client, the `package` option is mandatory:
```ts
return NestFactory.createMicroservice<GrpcOptions>(ApplicationModule, {
transport: Transport.GRPC,
options: {
package: '',
protoPath: 'src/domain/index.proto',
... | gRPC server and client "package" option is mandatory | https://api.github.com/repos/nestjs/nest/issues/7219/comments | 7 | 2021-06-01T08:30:54Z | 2024-04-18T07:43:35Z | https://github.com/nestjs/nest/issues/7219 | 908,045,449 | 7,219 |
[
"nestjs",
"nest"
] | ## Bug Report
The app has a multi tenant system. That means that from the main app we have access to the multiple tenants, each one with its database. For this we have a main database, which stores each of the tenants database information. (Host, port, etc...).
For this we use middleware, custom providers and the Re... | Testing multi tenant application. Main database containing tenants database | https://api.github.com/repos/nestjs/nest/issues/7216/comments | 1 | 2021-05-31T15:19:45Z | 2021-06-01T07:50:02Z | https://github.com/nestjs/nest/issues/7216 | 907,558,446 | 7,216 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
Run testing failed.
## Input Code
There has a minimize reproduction. [nestjs-test-bug-minimize-reproduction](https://github.com/Innei/nestjs-test-bug-minimize-reproduction)
## Expected behavior
testing pass.
## Possible Solution
I guess the file named `config.ts... | Testing failed. TypeError: application_config_1.ApplicationConfig is not a constructor | https://api.github.com/repos/nestjs/nest/issues/7215/comments | 2 | 2021-05-31T13:21:30Z | 2021-07-15T06:41:59Z | https://github.com/nestjs/nest/issues/7215 | 907,467,474 | 7,215 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
<!-- Describe how the issue manifests. -->
While going through the README file of this project, the first point in the [Getting Started](https://github.com/nestjs/nest#getting-started) list has the following behavior:
> - To check out the [guide](https://docs.nestjs.com/), visit ... | Redundant links in docs | https://api.github.com/repos/nestjs/nest/issues/7214/comments | 1 | 2021-05-31T10:24:11Z | 2021-08-02T08:56:43Z | https://github.com/nestjs/nest/issues/7214 | 907,336,869 | 7,214 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
Crash app when when I pass a fake token to handleConnection()
C:\Users\TMT\source\repos\socket_app\tmt.tdeskapp\node_modules\rxjs\internal\util\hostReportError.js:4
setTimeout(function () { throw err; }, 0);
^
Error
at MessageGateway.han... | Crash app when check token on handleConnection , cannot try catch error | https://api.github.com/repos/nestjs/nest/issues/7212/comments | 1 | 2021-05-31T08:10:23Z | 2021-05-31T08:20:50Z | https://github.com/nestjs/nest/issues/7212 | 907,218,124 | 7,212 |
[
"nestjs",
"nest"
] | ## Bug Report
The data returned by grpc through node request is different from that returned by grpc through nestjs request
## Code
**proto**
```proto
syntax = "proto3";
import "google/protobuf/timestamp.proto";
import "google/protobuf/wrappers.proto";
package anhuai.user.grpc;
option java_multip... | The data returned by grpc through node request is different from that returned by grpc through nestjs request | https://api.github.com/repos/nestjs/nest/issues/7209/comments | 6 | 2021-05-31T01:20:25Z | 2022-01-19T10:43:13Z | https://github.com/nestjs/nest/issues/7209 | 906,954,436 | 7,209 |
[
"nestjs",
"nest"
] | I have been trying to test my Microservice which uses REDIS as my Transport Layer but, the connection always tries to connect via TCP.
And the error thrown is, **'Internal server error'**
console.error
Error: Error: connect ECONNREFUSED 127.0.0.1:80
at Object.dispatchError (/Users/sreerambal... | Issue with testing Microservice via REDIS bus. | https://api.github.com/repos/nestjs/nest/issues/7208/comments | 1 | 2021-05-30T12:14:41Z | 2021-05-31T07:25:35Z | https://github.com/nestjs/nest/issues/7208 | 906,736,847 | 7,208 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
<!-- Describe how the issue manifests. -->
Issue #1184 has not yet been resolved. Simply importing `HttpModule` in a module results in the same error listed in that issue. A workaround is to call `register()` from the module import as in @E-Mwaurer 's response. However, this doe... | Issue #1184 persists - HttpModule can't resolve dependencies. | https://api.github.com/repos/nestjs/nest/issues/7207/comments | 2 | 2021-05-30T08:47:14Z | 2021-06-07T06:43:12Z | https://github.com/nestjs/nest/issues/7207 | 906,684,425 | 7,207 |
[
"nestjs",
"nest"
] | ## Bug Report
Messages sent from Nest client aren't received from the broker eventhough I'm currently subscribed to the topic. The broker correctly receive messages and broadcast them to all subscribers other than the Nest server.
If messages are sent from other clients (not from nest), the nest server receives those... | MQTT not receiving messages published from nest client | https://api.github.com/repos/nestjs/nest/issues/7203/comments | 1 | 2021-05-29T09:21:41Z | 2021-06-07T06:43:15Z | https://github.com/nestjs/nest/issues/7203 | 906,427,291 | 7,203 |
[
"nestjs",
"nest"
] | ### Got Error while installing nestjs cli in windows
```$node -v```
$v14.17.0
``` shell
npm i -g @nestjs/cli
npm ERR! Unexpected end of JSON input while parsing near '...XQXy2blyKV0g9j61sDaPP'
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\ASUS\AppData\Roaming\npm-cache\_logs\2... | unable to install nestjs cli in windows | https://api.github.com/repos/nestjs/nest/issues/7202/comments | 1 | 2021-05-29T06:24:42Z | 2021-05-30T10:24:54Z | https://github.com/nestjs/nest/issues/7202 | 906,390,154 | 7,202 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
Receiving error once adding either ```@Res``` or ```@Req``` to the arguments of the path function I would create for any part of the controller.
## Input Code
```
import { Controller, Get, Req, Res } from '@nestjs/common';
@Controller('suite')
export class SuiteController ... | bug: "crbug/1173575" importing Res & Req decorator for controller file. | https://api.github.com/repos/nestjs/nest/issues/7201/comments | 1 | 2021-05-29T00:01:17Z | 2021-06-01T04:54:40Z | https://github.com/nestjs/nest/issues/7201 | 906,241,876 | 7,201 |
[
"nestjs",
"nest"
] | ## Bug Report
I try to copy template assets to the build dir, but nothing is copied.
## Current behavior
Nothing is copied to `dist/` when running `start:dev`.
## Input Code
This is my `nest-cli.json`:
```json
{
"language": "ts",
"collection": "@nestjs/schematics",
"sourceRoot": "src",
"compilerO... | assets not copied to dist folder | https://api.github.com/repos/nestjs/nest/issues/7199/comments | 3 | 2021-05-28T16:43:04Z | 2021-05-31T07:47:47Z | https://github.com/nestjs/nest/issues/7199 | 905,721,413 | 7,199 |
[
"nestjs",
"nest"
] | ## Bug Report
Building a nestjs project with webpack failes.
## Current behavior
When running nest build --webpack we get the following errors:
```
ERROR in ./node_modules/@nestjs/core/nest-application.js 16:102-145
Module not found: Error: Can't resolve '@nestjs/websockets/socket-module' in '/home/kirilo... | Webpack build issue when using external[] | https://api.github.com/repos/nestjs/nest/issues/7198/comments | 4 | 2021-05-28T12:38:31Z | 2021-05-31T07:29:19Z | https://github.com/nestjs/nest/issues/7198 | 905,330,081 | 7,198 |
[
"nestjs",
"nest"
] | Hello, I was trying to inject the **same instance** of a service in one middleware and one controller
¿Is it possible?
When I inject service A in middleware X and service A in controller Y if i put a console.log in service`s A constructor it is called twice | Is it possible to share the same instance of a service between middleware and controller? | https://api.github.com/repos/nestjs/nest/issues/7197/comments | 0 | 2021-05-28T09:46:28Z | 2021-05-28T09:57:18Z | https://github.com/nestjs/nest/issues/7197 | 905,066,974 | 7,197 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
When using a vanilla RabbitMQ NestJS micro service, with a Controller than handlers incoming messages, if a message with invalid JSON format is entered into the queue, the application crashes, even if using a custom @UseFilters(...) filter for that class
Full stack trace:
``... | RabbitMQ microservice: @UseFilters(...) in Controller not catching malformed JSON message | https://api.github.com/repos/nestjs/nest/issues/7196/comments | 13 | 2021-05-27T22:49:35Z | 2022-11-07T09:51:06Z | https://github.com/nestjs/nest/issues/7196 | 904,330,175 | 7,196 |
[
"nestjs",
"nest"
] | ## Feature Request
## Is your feature request related to a problem? Please describe.
When I use the microservice framework to only emit events with the Kafka client, a Kafka consumer is created while it is not necessary. In the Kafka server, a consumer group is created with some clients but without subscribed topic... | Create Kafka consumer if necessary in microservice | https://api.github.com/repos/nestjs/nest/issues/7194/comments | 1 | 2021-05-27T15:23:17Z | 2021-05-28T07:35:42Z | https://github.com/nestjs/nest/issues/7194 | 903,907,221 | 7,194 |
[
"nestjs",
"nest"
] | ## Feature Request
## Is your feature request related to a problem? Please describe.
Right now, there seems to be no way to apply a Guard to a whole specific module without the Guard being applied to all other modules in the application.
When i do:
```
@Module({
providers: [
{
provide: APP_GUARD,
... | Allow APP_* providers to be module-scoped rather than global | https://api.github.com/repos/nestjs/nest/issues/7193/comments | 1 | 2021-05-27T14:11:27Z | 2021-05-28T07:36:19Z | https://github.com/nestjs/nest/issues/7193 | 903,820,928 | 7,193 |
[
"nestjs",
"nest"
] | ## Bug Report
I can create a PR if you want.
## Current behavior
JSON.stringify() doesn't know how to serialize a BigInt
## Input Code
<!-- REPL or Repo link if applicable: -->
```ts
const logger = new Logger("Testing");
const obj = {
value: BigInt(123)
}
logger.debug(obj)
```
## Expected b... | fix: LoggerService JSON.stringify() doesn't know how to serialize a BigInt | https://api.github.com/repos/nestjs/nest/issues/7192/comments | 3 | 2021-05-27T07:00:44Z | 2021-05-31T07:22:22Z | https://github.com/nestjs/nest/issues/7192 | 903,300,326 | 7,192 |
[
"nestjs",
"nest"
] | ## Feature Request
Would really appreciate it if we can generate service and controller based on prisma sechma!
The docs said if we have prisma we dont really need a DTO. but generating new resource includes a dto. and doesn't give boilerplate with prisma in mind. thanks. | Generate boiler plate code based on prisma sechma | https://api.github.com/repos/nestjs/nest/issues/7187/comments | 1 | 2021-05-26T19:07:12Z | 2021-05-27T06:39:01Z | https://github.com/nestjs/nest/issues/7187 | 902,815,631 | 7,187 |
[
"nestjs",
"nest"
] | ## Bug Report
## Input Code
<!-- REPL or Repo link if applicable: -->
```ts
========================================
Consumer
========================================
@Controller()
export class AppController {
constructor(private readonly appService: AppService) {}
@MessagePattern('sayHello')
get... | Return Value Boolean Changed to String if using Kafka Microservices | https://api.github.com/repos/nestjs/nest/issues/7185/comments | 5 | 2021-05-25T17:11:57Z | 2022-05-17T09:35:15Z | https://github.com/nestjs/nest/issues/7185 | 901,107,964 | 7,185 |
[
"nestjs",
"nest"
] | Imagine a project that uses a messaging module, in which we use three services (ie. Slack, FCM, Facebook). These services are responsible for sending push messages.
Imagine, if three of these services would be down.
Which provider should I pick then, if there is no message to send?
I doubt returning a null val... | Is there a concept of unimplemented provider? | https://api.github.com/repos/nestjs/nest/issues/7178/comments | 1 | 2021-05-24T23:14:13Z | 2021-05-24T23:16:58Z | https://github.com/nestjs/nest/issues/7178 | 900,089,660 | 7,178 |
[
"nestjs",
"nest"
] | Hi, the Nestjs project appears to be fairly mature at this time. Is there formal API documentation somewhere? The comprehensive guide that is online is helpful, but it doesn't cover the specifics details of the framework API objects and functions. I find myself trying to hunt through example code and the code base itse... | Is there formal API documentation? | https://api.github.com/repos/nestjs/nest/issues/7177/comments | 1 | 2021-05-24T17:56:42Z | 2021-05-25T07:12:33Z | https://github.com/nestjs/nest/issues/7177 | 899,877,493 | 7,177 |
[
"nestjs",
"nest"
] | ## Feature Request
## Is your feature request related to a problem? Please describe.
My project has two main files, one is about APP and the other is about APP admin background system. The specified main file needs to be launched during deployment
## Describe the solution you'd like
How to launch a specified ... | How to launch a specified main file with nest cli | https://api.github.com/repos/nestjs/nest/issues/7176/comments | 7 | 2021-05-24T09:25:46Z | 2022-08-17T07:02:56Z | https://github.com/nestjs/nest/issues/7176 | 899,482,286 | 7,176 |
[
"nestjs",
"nest"
] | At this phase, I am learning the framework and I started by making a standalone app to check the IoC & how the modules work together.
Static modules so far are not making a problem, but I want to create another module that uses different service based on remote server healthcheck.
For example, if a health check f... | Seems that DynamicModule does not work with strict mode, but the docs are not telling about it | https://api.github.com/repos/nestjs/nest/issues/7173/comments | 8 | 2021-05-23T20:31:52Z | 2021-05-24T00:40:07Z | https://github.com/nestjs/nest/issues/7173 | 899,102,959 | 7,173 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
Steps to reach this issue
- Inside a directory '/tmp/test(test)'
- Run CLI `nest new project`
- Change directory to the new project '/tmp/test(test)/project'
- Run command `yarn && yarn start`
/bin/sh: -c: line 0: syntax error near unexpected token \`('
/bin/sh: -c: line 0:... | Nest project crush and raise exception when the working directory contains '(' | https://api.github.com/repos/nestjs/nest/issues/7172/comments | 5 | 2021-05-23T08:22:35Z | 2021-05-24T07:30:59Z | https://github.com/nestjs/nest/issues/7172 | 898,965,977 | 7,172 |
[
"nestjs",
"nest"
] | ## Feature Request
## Is your feature request related to a problem? Please describe.
<!-- A clear and concise description of what the problem is. Ex. I have an issue when [...] -->
Currently Nats 2.0.4 node package breaks your app when it uses nats.
## Describe the solution you'd like
<!-- A clear and concise ... | Add support for Nats 2.0.4+ | https://api.github.com/repos/nestjs/nest/issues/7170/comments | 1 | 2021-05-21T12:25:53Z | 2021-05-21T12:34:19Z | https://github.com/nestjs/nest/issues/7170 | 897,995,688 | 7,170 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
Importing `CacheModule.register()` and then using `@UseInterceptors(CacheInterceptor)` throws an error:
> Cannot read property 'httpAdapter' of undefined
When downgrading to 7.x it works as expected.
Repo: https://github.com/MickL/nestjs-8-cache-bug
Reproduce:
1. yar... | v8: CacheModule is not working: Cannot read property 'httpAdapter' of undefined | https://api.github.com/repos/nestjs/nest/issues/7168/comments | 7 | 2021-05-21T11:49:51Z | 2021-07-26T07:39:51Z | https://github.com/nestjs/nest/issues/7168 | 897,969,910 | 7,168 |
[
"nestjs",
"nest"
] | ## Bug Report
Errors thrown from the middleware is caught by the global exception filter in graphql but the `HttpException` returned from exception filter is not returned in graphql response. Also, the functions `formatError` and `formatResponse` passed in `GraphQLModule.forRoot` doesn't gets executed in this case. In... | Global exception filter catching middleware error but not returning graphql response | https://api.github.com/repos/nestjs/nest/issues/7167/comments | 1 | 2021-05-20T20:17:30Z | 2021-05-21T07:02:07Z | https://github.com/nestjs/nest/issues/7167 | 897,396,287 | 7,167 |
[
"nestjs",
"nest"
] | Hi, i want to use custom exception filter
it's look like
```
@Catch()
export class ErrorHandlingFilter implements ExceptionFilter {
constructor(private readonly logger: Logger) {}
catch(error: HttpException, host: ArgumentsHost): void {
const exception = error instanceof HttpException ? error : new In... | Exception Filter | https://api.github.com/repos/nestjs/nest/issues/7166/comments | 3 | 2021-05-20T13:06:29Z | 2021-05-21T07:05:15Z | https://github.com/nestjs/nest/issues/7166 | 896,807,755 | 7,166 |
[
"nestjs",
"nest"
] | ## Feature Request
Add logging for WebSockets when we mount gateways
## Is your feature request related to a problem? Please describe.
The problem is that there is no logging when you are working with gateways, for example when Nest.js mounts HTTP endpoints you can see in the logs that such endpoints were mounted ... | feat: Add logging for WebSockets when we mount gateways | https://api.github.com/repos/nestjs/nest/issues/7165/comments | 4 | 2021-05-20T09:00:32Z | 2021-10-06T09:29:24Z | https://github.com/nestjs/nest/issues/7165 | 896,508,283 | 7,165 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
In the documentation, there is a small typo.
https://docs.nestjs.com/techniques/configuration
In this paragraph:
"Once the package is installed, we use yaml#load function to load YAML file we just created above."
There is config.yml filename and in other source example it was c... | Typo in documentation | https://api.github.com/repos/nestjs/nest/issues/7162/comments | 2 | 2021-05-19T20:20:24Z | 2021-05-19T20:33:41Z | https://github.com/nestjs/nest/issues/7162 | 895,848,136 | 7,162 |
[
"nestjs",
"nest"
] | ## Bug Report
## Input Code
Consider the following minimal project:
```ts
// provider1.ts
export class Token {};
```
```ts
// provider2.ts
export class Token {};
```
```ts
// main.module.ts
import {Module} from "@nestjs/common";
import {Token as Token1} from "./provider1";
import {Token as Toke... | Classes exported under the same name and aliased are confused as the same token by the dependency injection mechanism | https://api.github.com/repos/nestjs/nest/issues/7158/comments | 5 | 2021-05-18T20:54:03Z | 2021-05-19T06:53:56Z | https://github.com/nestjs/nest/issues/7158 | 894,776,427 | 7,158 |
[
"nestjs",
"nest"
] | Just a heads up. I was looking through some old work and...
## Current behavior
I suggested that you use the linter to disallow such behaviour in https://github.com/nestjs/nest/issues/3491 and provided a list of tests with expectations in error handlers.
https://github.com/nestjs/nest/issues/3491#issuecomment-5... | Test expectations in error handlers | https://api.github.com/repos/nestjs/nest/issues/7153/comments | 1 | 2021-05-18T16:35:04Z | 2021-06-07T06:43:20Z | https://github.com/nestjs/nest/issues/7153 | 894,571,785 | 7,153 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
Since updating dependency `@nestjs/common` to `v7.6.16`, my code throws when running `nest start` because the enum `HttpStatus` (which I notably use in a custom pipe) has the value `undefined` at compile time, which makes the code throw if I write (for example) `HttpStatus.OK`. Thi... | Cannot import const enum HttpStatus | https://api.github.com/repos/nestjs/nest/issues/7152/comments | 2 | 2021-05-18T09:41:31Z | 2021-05-18T09:45:11Z | https://github.com/nestjs/nest/issues/7152 | 894,187,305 | 7,152 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
HttpStatus enum does not export it's own keys
## Input Code
`console.log(HttpStatus);`
with v7.6.14
```
{
'100': 'CONTINUE',
'101': 'SWITCHING_PROTOCOLS',
'102': 'PROCESSING',
'103': 'EARLYHINTS',
'200': 'OK',
'201': 'CREATED',
...
```
with v7.6.17... | TypeError: Cannot read property 'XXX' of undefined | https://api.github.com/repos/nestjs/nest/issues/7151/comments | 1 | 2021-05-18T09:27:37Z | 2021-05-18T09:52:33Z | https://github.com/nestjs/nest/issues/7151 | 894,174,698 | 7,151 |
[
"nestjs",
"nest"
] | ## Regression
http-status.enum.js is empty in [v7.6.16](https://unpkg.com/browse/@nestjs/common@7.6.16/enums/http-status.enum.js)
## Expected behavior/code
@nestjs/common should boundle HttpStatus code correctly like in [v7.6.15](https://unpkg.com/browse/@nestjs/common@7.6.15/enums/http-status.enum.js)
## Env... | HttpStatus enum is not bundled correctly | https://api.github.com/repos/nestjs/nest/issues/7150/comments | 6 | 2021-05-18T08:06:56Z | 2021-09-23T20:32:16Z | https://github.com/nestjs/nest/issues/7150 | 894,100,623 | 7,150 |
[
"nestjs",
"nest"
] | ## Feature Request
On Development Machine can able to use client-side (react) port and run the whole project on single Server-side Port
I am from a Dotnet core background. and It has a feature to run a client-side port under a server-side. Like below
https://docs.microsoft.com/en-us/aspnet/core/client-side/spa/r... | On Development Machine can able to use client side (react) port and run whole project on single Server side Port like dotnet core UseProxyToSpaDevelopmentServer | https://api.github.com/repos/nestjs/nest/issues/7148/comments | 1 | 2021-05-18T06:42:14Z | 2021-05-18T06:45:23Z | https://github.com/nestjs/nest/issues/7148 | 894,025,451 | 7,148 |
[
"nestjs",
"nest"
] | ## Bug Report
When using with `@nestjs/platform-fastify`,
At build time, Type error occured
## Current behavior
Can't build because of type error in `fastify-adapter.d.ts - line 26`.
## Possible Solution
I'm temporarily remove `FastifyHttp2Options<TServer> | FastifyHttp2SecureOptions<any>`
But this is no... | [Bug] Type 'TServer' does not satisfy the constraint 'Http2Server'. | https://api.github.com/repos/nestjs/nest/issues/7147/comments | 1 | 2021-05-18T06:35:48Z | 2021-05-18T06:57:23Z | https://github.com/nestjs/nest/issues/7147 | 894,020,096 | 7,147 |
[
"nestjs",
"nest"
] | hi!
I use guards for roles and check if a familyId is exist or not but I have a problem with that, the form-data `multipart/form-data` not send the body to guards it sends an empty object but in the controller everything is ok and I can get the body
this is my guard
 is possible.
but fetch graphql return cors error
<pre><code>
GraphQLModule.forRoot({
autoSchemaFile: true,
cors: {
origin: '*',
credentials: true,
},
playground: {
endpoint: proc... | graphql cors error with aws lamdba | https://api.github.com/repos/nestjs/nest/issues/7134/comments | 1 | 2021-05-17T06:08:45Z | 2021-05-17T06:42:33Z | https://github.com/nestjs/nest/issues/7134 | 892,939,175 | 7,134 |
[
"nestjs",
"nest"
] | NestJS Forces us to use Observable for SSE. It's convenient, but not for some specific cases.
**My case**
I have this application called [assistant](https://github.com/bridgedxyz/assistant) which is a figma plugin, means it can not use browser url callback. so for the app's authentication i have to open a sse conne... | How to end SSE connection from server? | https://api.github.com/repos/nestjs/nest/issues/7125/comments | 1 | 2021-05-14T15:58:21Z | 2021-05-17T06:46:50Z | https://github.com/nestjs/nest/issues/7125 | 892,044,308 | 7,125 |
[
"nestjs",
"nest"
] | Hi all:
I'm implementing Google login with Nestjs and Passport and also I'm trying to connect my Nestjs REST API app with an Angular 10 frontend.
In my auth.controller.js I have:
```
@Get('google')
@UseGuards(AuthGuard('google'))
async googleAuth(@Req() req) {}
@Get('google/redirect')
@UseGuar... | Social login with Nestjs. Issues | https://api.github.com/repos/nestjs/nest/issues/7121/comments | 1 | 2021-05-14T00:10:00Z | 2021-05-14T01:03:21Z | https://github.com/nestjs/nest/issues/7121 | 891,474,875 | 7,121 |
[
"nestjs",
"nest"
] | ## Feature Request
## Describe the solution you'd like
Currently, the `@Controller` annotation expects a string as it's host input (according to docs + typescript). However, since the property is passed through the [path-to-regexp](https://www.npmjs.com/package/path-to-regexp) library, there is currently also suppo... | Typescript support for regex controller hosts | https://api.github.com/repos/nestjs/nest/issues/7120/comments | 2 | 2021-05-13T23:39:52Z | 2021-06-29T13:17:06Z | https://github.com/nestjs/nest/issues/7120 | 891,462,785 | 7,120 |
[
"nestjs",
"nest"
] | Hello,
I am using nestjs to host api's one of the requirements is to extract mongodb documents by date range. I have implemented timestamps in the mongoose schema and created a GET function to get the data. The function itself works below is the function
@Get('/dateRange/:dateFrom/:dateTo')
async findDateRa... | Query mongodb by date range using Timestamp | https://api.github.com/repos/nestjs/nest/issues/7113/comments | 1 | 2021-05-13T04:14:26Z | 2021-05-13T04:27:51Z | https://github.com/nestjs/nest/issues/7113 | 890,683,408 | 7,113 |
[
"nestjs",
"nest"
] | How can I set the allowed log levels by using the ConfigService?
I tried to do it through main.ts but the logLevels are set during the `app` creation call which is also required to `get` the ConfigService.
``` typescript
const app = await NestFactory.create(
AppModule.register(),
{ logger: configService.... | Setting the log levels using ConfigService | https://api.github.com/repos/nestjs/nest/issues/7108/comments | 2 | 2021-05-12T11:08:00Z | 2021-05-12T12:40:47Z | https://github.com/nestjs/nest/issues/7108 | 889,970,805 | 7,108 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
<!-- Describe how the issue manifests. -->
To use the interceptor, you need to create an instance of ``Reflector`` since it's injected by default when using it as constructor. I had to look into the source to figure out how to do this. And therefore feel like it's a bit unintuitiv... | ClassSerializerInterceptor as Global Interceptor | https://api.github.com/repos/nestjs/nest/issues/7082/comments | 1 | 2021-05-10T23:38:07Z | 2021-05-11T06:40:34Z | https://github.com/nestjs/nest/issues/7082 | 885,372,202 | 7,082 |
[
"nestjs",
"nest"
] | ## Feature Request
## Describe the solution you'd like
Currently, you can create [e2e](https://docs.nestjs.com/fundamentals/testing#end-to-end-testing) testing modules and call **createNestApplication()** in order to test a single controller. Though that this works pretty well, you need to [manually override glob... | E2E: Change main.ts structure so that a new createNestApplicationFromBootrap() will automatically call bootrap. | https://api.github.com/repos/nestjs/nest/issues/7081/comments | 2 | 2021-05-10T11:37:45Z | 2021-05-10T12:50:04Z | https://github.com/nestjs/nest/issues/7081 | 884,030,857 | 7,081 |
[
"nestjs",
"nest"
] | ## Feature Request
## Is your feature request related to a problem? Please describe.
I'm not entirely sure if it's a bug, a regression or a feature request, sorry for that!
I tried to update an array of object using `@Body(new ParseArrayPipe({ items: FuelDto, optional: false }))`
Here's my Dto:
```typesc... | ParseArrayPipe always accepts unknown attributes (no whitelist, no forbidNonWhitelisted) | https://api.github.com/repos/nestjs/nest/issues/7080/comments | 1 | 2021-05-10T10:49:06Z | 2021-05-10T11:04:25Z | https://github.com/nestjs/nest/issues/7080 | 883,953,057 | 7,080 |
[
"nestjs",
"nest"
] | As documentation says:
`DEFAULT` scope -
> A single instance of the provider is **shared across the entire application**. The instance lifetime is tied directly to the application lifecycle. Once the application has bootstrapped, all singleton providers have been instantiated. Singleton scope is used by default.
... | Scopes not working as expected | https://api.github.com/repos/nestjs/nest/issues/7073/comments | 2 | 2021-05-09T21:07:35Z | 2021-05-09T21:53:25Z | https://github.com/nestjs/nest/issues/7073 | 882,811,847 | 7,073 |
[
"nestjs",
"nest"
] | This is similar to what rails does with its `credentials` command, you can read about it here: https://edgeguides.rubyonrails.org/security.html#environmental-security
The long and short of it is you encrypt any environment file and its only decrypted at run time.
This has a number of advantages:
1. No leaking ... | [Security] Use `secure-env` for .env files | https://api.github.com/repos/nestjs/nest/issues/7072/comments | 1 | 2021-05-09T17:53:49Z | 2021-05-10T07:44:31Z | https://github.com/nestjs/nest/issues/7072 | 882,604,020 | 7,072 |
[
"nestjs",
"nest"
] | enabling rabbitmq to communicate for a microservice can result in an unhandled exception.
reproduction:
simply send any non json message to a rabbitmq queue that is supposed to work with nestJS microservice controller.
the bug is caused in the following line:
https://github.com/nestjs/nest/blob/1a554694ce54a35e... | BUG - possible unhandled exception bug - using rabbitmq microservice | https://api.github.com/repos/nestjs/nest/issues/7071/comments | 2 | 2021-05-09T10:42:57Z | 2021-05-10T07:47:18Z | https://github.com/nestjs/nest/issues/7071 | 882,142,317 | 7,071 |
[
"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... | How to exclude a specific path for controller? | https://api.github.com/repos/nestjs/nest/issues/7050/comments | 1 | 2021-05-06T14:28:08Z | 2021-05-07T06:50:42Z | https://github.com/nestjs/nest/issues/7050 | 877,559,133 | 7,050 |
[
"nestjs",
"nest"
] | ## Bug Report
When running `npm install` on an already existing project I get this error
```
> opencollective || exit 0
At line:1 char:16
+ opencollective || exit 0
+ ~~
The token '||' is not a valid statement separator in this version.
+ CategoryInfo : ParserError: (:) [], P... | @nestjs/core post install script fails on powershell | https://api.github.com/repos/nestjs/nest/issues/7049/comments | 5 | 2021-05-06T14:11:39Z | 2021-10-06T09:39:38Z | https://github.com/nestjs/nest/issues/7049 | 877,542,372 | 7,049 |
[
"nestjs",
"nest"
] | Hi,
Is it possible to send a file to a microservice using the TCP transport layer? I already asked in Discord channels but I didn't get any answer.
in my gateway resolver:

in my gateway service
![i... | Send file to microservice using TCP transport layer? | https://api.github.com/repos/nestjs/nest/issues/7029/comments | 3 | 2021-05-04T09:26:54Z | 2021-05-04T09:56:54Z | https://github.com/nestjs/nest/issues/7029 | 875,276,961 | 7,029 |
[
"nestjs",
"nest"
] | ## Feature Request
## Is your feature request related to a problem? Please describe.
[A lot of npm packages are now being published as “ESM-only” (shipping only ES modules with no CommonJS version) which makes it no longer requirable from CommonJS code.](https://blog.sindresorhus.com/get-ready-for-esm-aa53530b3f77)... | Support importing from pure ESM packages | https://api.github.com/repos/nestjs/nest/issues/7021/comments | 1 | 2021-05-03T14:32:58Z | 2021-05-04T09:16:52Z | https://github.com/nestjs/nest/issues/7021 | 874,628,613 | 7,021 |
[
"nestjs",
"nest"
] | In NestJS I would like to know in which file faulty code I made that makes the application threw an error (while starting application ~nest start~)
In the current situatuion console displays only root level libraries file location which not helpful exatly. Like in Java Spring boot it is more clear to understand why... | Exact file location of exception | https://api.github.com/repos/nestjs/nest/issues/7020/comments | 3 | 2021-05-03T11:27:44Z | 2021-05-04T05:45:55Z | https://github.com/nestjs/nest/issues/7020 | 874,488,669 | 7,020 |
[
"nestjs",
"nest"
] | install-package
yarn add fastify-multer
*main.ts*
```
import { configSwagger } from './config/swagger/config-swagger';
import { NestFactory } from '@nestjs/core';
import { AppModule } from './app.module';
import 'reflect-metadata';
import { SwaggerModule } from '@nestjs/swagger';
import { bold } from 'chalk';... | FileInterceptor and FilesInterceptor for fastify | https://api.github.com/repos/nestjs/nest/issues/7018/comments | 1 | 2021-05-03T07:32:05Z | 2021-05-03T14:29:03Z | https://github.com/nestjs/nest/issues/7018 | 874,314,479 | 7,018 |
[
"nestjs",
"nest"
] | ## Feature Request
I hope that NestJs can support setter injection.
## Is your feature request related to a problem? Please describe.
Recently, my team need to use request scoped providers to handle some request based states.
As we found out that request scope bubbles up the injection chain, those providers mak... | setter injection | https://api.github.com/repos/nestjs/nest/issues/7015/comments | 2 | 2021-05-02T05:33:40Z | 2021-05-03T14:31:16Z | https://github.com/nestjs/nest/issues/7015 | 873,850,068 | 7,015 |
[
"nestjs",
"nest"
] | Hello everyone,
Currently `platform-socket.io` is using `socket.io` version **2.4.1** which has multiple security issues according to [Snyk](https://snyk.io/vuln/search?q=socket.io&type=npm).
Is it possible to upgrade to a higher version of `socket.io`, say **4.0.1**? | Consider upgrade socket.io package | https://api.github.com/repos/nestjs/nest/issues/7014/comments | 1 | 2021-05-01T06:21:33Z | 2021-05-01T06:23:01Z | https://github.com/nestjs/nest/issues/7014 | 873,576,228 | 7,014 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
I have found multiple tutorials and blogposts on the validation of `@Query` properties with the validation pipe. The main documentation is the [validation docs](https://docs.nestjs.com/techniques/validation#validation) part in the nestjs docs which is fine and works with the `@Body... | Validation on @Query | https://api.github.com/repos/nestjs/nest/issues/7013/comments | 1 | 2021-04-30T19:39:00Z | 2021-04-30T19:56:08Z | https://github.com/nestjs/nest/issues/7013 | 873,172,480 | 7,013 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
<!-- Describe how the issue manifests. -->
Throwing `UnauthorizedException` from any controller method generates `401 Unauthorized` response that lacks `WWW-Authenticate` header, which is mandatory in the HTTP and Bearer token RFCs:
https://tools.ietf.org/html/rfc2616#section-1... | Throwing UnauthorizedException generates invalid HTTP response without WWW-Authenticate | https://api.github.com/repos/nestjs/nest/issues/7011/comments | 1 | 2021-04-30T15:40:23Z | 2021-05-04T09:04:16Z | https://github.com/nestjs/nest/issues/7011 | 872,734,887 | 7,011 |
[
"nestjs",
"nest"
] | I know this is not a problem with Nest itself, but since the documentation provides an official recipe for using Prisma, I thought it was appropriate to open an issue on this topic. I think it will also save some people from searching for hours why their hooks are not triggered.
The Prisma client, at the moment (_v2... | Prisma swallows all end-of-lifecycle events | https://api.github.com/repos/nestjs/nest/issues/7005/comments | 1 | 2021-04-29T10:38:38Z | 2021-04-29T10:44:29Z | https://github.com/nestjs/nest/issues/7005 | 870,868,982 | 7,005 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
* creating a new project using `nest new` and selecting `yarn` as package manager
* using `nest g resource posts`
* generate method adds `@nestjs/mapped-types` to package.json and installs it using `npm`
## Input Code
new project
## Expected behavior
`@nestjs/mapped-types... | yarn not used when generating a resource for the first time | https://api.github.com/repos/nestjs/nest/issues/7003/comments | 1 | 2021-04-29T06:42:08Z | 2021-04-29T07:06:30Z | https://github.com/nestjs/nest/issues/7003 | 870,666,536 | 7,003 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
<!-- Describe how the issue manifests. -->
when connect server, handleConnection() client.id is undefined.
```
[Nest] 21204 - 2021-04-28 10:27:40 ├F10: PM┤ [ClassroomChatGateway] Client connected: undefined
```
when emit event, handleMessage() 'joinRoom' client.to is not ... | websocket error: can't bind Socket to client | https://api.github.com/repos/nestjs/nest/issues/6998/comments | 5 | 2021-04-28T14:40:32Z | 2024-12-03T04:57:32Z | https://github.com/nestjs/nest/issues/6998 | 870,024,312 | 6,998 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
Middleware post and pre hooks stop working when importing another module to reference a different schema. I am aware of this [issue](https://github.com/nestjs/mongoose/issues/7) and tried to use `useValue` but doesn't work as well, am I missing something? How do I use another schem... | Mongoose middleware not working when importing another module | https://api.github.com/repos/nestjs/nest/issues/6996/comments | 1 | 2021-04-28T12:40:45Z | 2021-04-28T12:47:33Z | https://github.com/nestjs/nest/issues/6996 | 869,903,242 | 6,996 |
[
"nestjs",
"nest"
] | ## Bug Report
I'm creating a basic websocket example using nest.js, but it's not working properly.
## Current behavior
<!-- Describe how the issue manifests. -->
I'm creating a basic WebSocket connection based on the example. According to the example, the default port is used, but the console will report an error... | websocket error: TypeError: server.listeners is not a function | https://api.github.com/repos/nestjs/nest/issues/6992/comments | 12 | 2021-04-28T02:28:26Z | 2022-03-03T08:24:42Z | https://github.com/nestjs/nest/issues/6992 | 869,429,015 | 6,992 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
Nest use `Postgresql` and `typeorm`.
We have the request handler, that selects one row of data.
If there are a lot of new requests to the handler at the same time, nest stucks and stop to handle other requests, until previous will be handeled.
`/chat.service.ts`
```
const so... | Postgresql highload cause response long time | https://api.github.com/repos/nestjs/nest/issues/6987/comments | 1 | 2021-04-27T11:26:59Z | 2021-04-27T11:29:19Z | https://github.com/nestjs/nest/issues/6987 | 868,750,264 | 6,987 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
In a standard yarn workspaces monorepo, many, but not all of the nestjs dependencies are hoisted to the top level node_modules. When attempting to add the nest/swagger plugin to nest-cli, typescript gives the following error on startup:
Cannot read property 'kind' of undefin... | Swagger CLI plugin does not work in a monorepo | https://api.github.com/repos/nestjs/nest/issues/6982/comments | 2 | 2021-04-26T22:52:12Z | 2021-05-01T16:47:46Z | https://github.com/nestjs/nest/issues/6982 | 868,261,060 | 6,982 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
NestJS application crash when start using Fastify and fastify-csrf
## Input Code
```ts
import { NestFactory } from '@nestjs/core';
import {
FastifyAdapter,
NestFastifyApplication,
} from '@nestjs/platform-fastify';
import { AppModule } from './app.module';
import ... | CSRF error when using Fastify | https://api.github.com/repos/nestjs/nest/issues/6978/comments | 4 | 2021-04-26T13:40:13Z | 2024-06-26T10:12:35Z | https://github.com/nestjs/nest/issues/6978 | 867,717,309 | 6,978 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
For some reason cannot set default date with @nestjs/mongoose, whether can set it for type "Number".
## Input Code
```ts
@Prop({ type: Number, default: () => 123 })
someNumber: number;
@Prop({
type: Date,
default: Date.now,
})
someDate: Date;
```
## E... | @nestjs/mongoose fails to set default Date | https://api.github.com/repos/nestjs/nest/issues/6975/comments | 2 | 2021-04-26T07:05:35Z | 2021-04-26T08:05:31Z | https://github.com/nestjs/nest/issues/6975 | 867,343,179 | 6,975 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
I have a nestjs redis microservice. All is good for a default redis port but if I want to connect to a redislab instance which is running on a custom port 16295 I get the error:
```
Error: Redis connection to redis-16295.c54.ap-northeast-1-2.ec2.cloud.redislabs.com:6379 failed ... | Redis connection error for nestjs microservice | https://api.github.com/repos/nestjs/nest/issues/6972/comments | 2 | 2021-04-25T20:59:10Z | 2021-04-26T00:33:35Z | https://github.com/nestjs/nest/issues/6972 | 867,112,715 | 6,972 |
[
"nestjs",
"nest"
] | I am trying to prepare an application package for use in nestjs but I do not know where to start !?
Is this difficult?
Do I need to change all the package codes?
Is it possible to do this with little knowledge?
I want to use the Lucid package inside Nestjs but I have no idea
I tried many times but I always mad... | How do I match another package to nestjs? | https://api.github.com/repos/nestjs/nest/issues/6960/comments | 1 | 2021-04-22T17:48:49Z | 2021-04-22T17:56:47Z | https://github.com/nestjs/nest/issues/6960 | 865,255,412 | 6,960 |
[
"nestjs",
"nest"
] | ## Feature Request
**Add pipes for @Headers decorator**
What you think about this idea?
I can use my custom decorators with @Param, @Body and @Query, and cannot with @Headers. But why not? | Also add pipes for @Headers decorator | https://api.github.com/repos/nestjs/nest/issues/6955/comments | 1 | 2021-04-22T06:50:22Z | 2021-04-22T06:54:11Z | https://github.com/nestjs/nest/issues/6955 | 864,604,452 | 6,955 |
[
"nestjs",
"nest"
] | ## Feature Request
https://www.prisma.io/
The new Prisma version is ready for prod. Can it be supported somehow?
| Prisma support | https://api.github.com/repos/nestjs/nest/issues/6952/comments | 2 | 2021-04-21T18:22:56Z | 2021-04-21T18:26:23Z | https://github.com/nestjs/nest/issues/6952 | 864,151,571 | 6,952 |
[
"nestjs",
"nest"
] | I created my grpc method and call it like this:
async findDevice(computer) {
return await this.database.findDevice(computer).toPromise();
}
const res = await findDevice(computer);
After that, I want to check if the data field is there, because, this method uses a declaration with oneof:
message Nulla... | How to use has methods for grpc methods? | https://api.github.com/repos/nestjs/nest/issues/6940/comments | 1 | 2021-04-20T11:05:47Z | 2021-04-20T11:24:12Z | https://github.com/nestjs/nest/issues/6940 | 862,699,049 | 6,940 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior

## Input Code
[reproduction](https://github.com/uncleGena/repro_nestjs_pinata)
```ts
// this doesn't work
const pinataSDK = require('@pinata/sdk');
```
## Ex... | TypeError: Map#toJSON isn't generic | https://api.github.com/repos/nestjs/nest/issues/6939/comments | 1 | 2021-04-20T10:46:58Z | 2021-04-20T10:47:54Z | https://github.com/nestjs/nest/issues/6939 | 862,683,772 | 6,939 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
A controller method that uses RxJs and Observables never returns a response, even when the observable completes, when the Response object is passed in as a parameter. The sole reason I need the response object, is so I can dynamically set response headers...otherwise, I do not wa... | Requests not responding when using completing observables while @Res() is present in method parameter list. | https://api.github.com/repos/nestjs/nest/issues/6933/comments | 2 | 2021-04-19T23:07:17Z | 2022-12-15T12:19:08Z | https://github.com/nestjs/nest/issues/6933 | 862,076,841 | 6,933 |
[
"nestjs",
"nest"
] | ## Bug Report
Very basic (did by [official manual](https://docs.nestjs.com/microservices/nats)) microservice which fails to start
```
UnhandledPromiseRejectionWarning: TypeError: stream.on is not a function at ServerNats.handleError
```
## Current behavior
```
num8er@Anars-MacBook-Pro test % yarn start:dev
ya... | UnhandledPromiseRejectionWarning: TypeError: stream.on is not a function at ServerNats.handleError | https://api.github.com/repos/nestjs/nest/issues/6927/comments | 1 | 2021-04-19T14:35:56Z | 2021-04-20T06:17:59Z | https://github.com/nestjs/nest/issues/6927 | 861,377,767 | 6,927 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
<!-- Describe how the issue manifests. -->

## Input Code
<!-- REPL or Repo link if applicable: -->
 fails to serialize it and throws the following error:
**TypeError: Do not know how to serialize a BigInt
at JSON.stringify (<anonymous>)
...**
## Input Code
<pre>
@Controller('test')
export class TestController {
... | NestJS fails to serialize BigInt | https://api.github.com/repos/nestjs/nest/issues/6919/comments | 2 | 2021-04-18T19:37:00Z | 2021-04-19T06:46:13Z | https://github.com/nestjs/nest/issues/6919 | 860,746,080 | 6,919 |
[
"nestjs",
"nest"
] | ## Feature Request
## Is your feature request related to a problem? Please describe.
No.
## Describe the solution you'd like
The NestJS Documentation describes an `IntersectionType` higher-order decorator [here](https://docs.nestjs.com/techniques/validation#mapped-types). It would be nice to have a `UnionTy... | Union Type | https://api.github.com/repos/nestjs/nest/issues/6914/comments | 1 | 2021-04-17T01:37:07Z | 2021-04-19T07:40:09Z | https://github.com/nestjs/nest/issues/6914 | 860,294,847 | 6,914 |
[
"nestjs",
"nest"
] | ## Bug Report
## Input Code
<!-- REPL or Repo link if applicable: -->
```ts
const app = await NestFactory.create<NestFastifyApplication>(
AppModule,
new FastifyAdapter()
);
const response = await app.inject({
method: 'GET',
url: '/',
});
```
## Curr... | Incorrect application with adapter behaviour | https://api.github.com/repos/nestjs/nest/issues/6907/comments | 2 | 2021-04-15T18:46:12Z | 2021-07-22T06:22:02Z | https://github.com/nestjs/nest/issues/6907 | 859,156,861 | 6,907 |
[
"nestjs",
"nest"
] | ## Bug Report
## Current behavior
The provider is identified as undefined
```shell
TypeError: Cannot read property 'provide' of undefined
at Module.isCustomProvider (/home/alessandro/Workspace/Projects/teste/node_modules/@nestjs/core/injector/module.js:154:47)
at Module.addExportedProvider (/home/ale... | Dynamic Global Module provider is undefined on inject it on root module to open a connection with neo4j database | https://api.github.com/repos/nestjs/nest/issues/6905/comments | 2 | 2021-04-15T15:14:53Z | 2021-04-15T17:07:51Z | https://github.com/nestjs/nest/issues/6905 | 858,985,124 | 6,905 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.