I´m facing the same issue since I migrate my nx workspace to the latest version. The workspace contains an angular+nestjs aplications. Everytime I try to
When trying to import another module inside of my dynamic modules nest throws the following error when using a service exported by that module inside of my serv
I'm using NestJS with Prisma ORM and kinda of struggling with the use of @Exclude() decorator because when I add it on my UserDto, it also excludes the password
I am hosting my nest js server on heroku. I am using authGuards in nest js to validate the request using accessToken passed by client with the request (this acc
I am trying to inject dependencies in mongoose module for root async. I want to kind of simulate a cascade delete using mongoose hooks. I have this module, whic
I'm using class-transformer (in nestjs) to convert my database entities into dto types to output from my api. My database entities look like: class MyEntity {
I am getting an issue with tsconfig after upgrading the package version. Below is my folder structure (simplified, but keeping the actual hierarchy): The tsconf
my vsCode bug to recognize dependencies when i program with nestJs, after setting up the project with: nest new projectname then after running for example: npm
I am trying to implement NestJS Guards for Authentication and Authorization to my gRPC Services, which are implemented in NestJS. @GrpcMethod(USER_SERVICE_NAME,
So, by reading the NestJS documentation, I get the main idea behind how the filters work with exceptions. But from all the code I have seen, it seems like all s
After adding OneToMany and manyToOne relations in the entities and doing GET request it shows in postman 500 error. // Car entity @Entity({ name: 'car' }) expor
I have a feedbackQuestion schema which takes (title: string, subtitle: string, types: enum, values: enum) import { Prop, Schema, SchemaFactory } from '@nestjs/m
I need to read my CSV file in the controller to add CSV file data into my DB. But I don't know the way to that. I search for an answer so many times but I can't
As found in this SO-answer, the following thing could be a way how to encrypt a password into a hash: @BeforeInsert() async hashPassword() { this.password
I'm proofing out an integration test with NestJS/KafkaJS. I have everything implemented except the function on the event listener (consumer) for the topic I'm e
I am trying to develop a mail sending module in my NestJs project. when I send the mail through my local machine it works fine. But when it goes to the server (
My goal is to emit to only one client by using the default room that is being created by socketIo. The room id and client id match. I checked that by logging it
I have a problem with overriding provider/setup module testing in nest.js application for testing. Module file: smsModule.ts: import { TwilioService } from './t
Here What I did is I have a user entity and a role entity. Every user can have one role. I have set up many-one relationship in role entity. I have create an en
I'm adding tests on a project and improving coverage. I would like to know how can I test a method defined inside a module definition in NestJs. import { Middle