Import the module if you want the service to be used by another service. Why do you regenerate the repository instead of exporting it from the module?
I'm trying to replace my logger provider in a unit test file with a stubbed provider so that I don't get logs during unit tests from the tested module. I'm gett
using nestjs framework and with a repository class that uses mongoose to do the CRUD operations we have a simple users.repository.ts file like this: @Injectable
In my NestJS application with postgres db I have these 3 entities: User, Writer, Book and a class named UserBaseEntity. export class UserBaseEntity { @Prim
I have below class export class DocumentsSteps { @ApiProperty({type: ???}) [type: string]: DocumentStep; } How should I define ApiProperty type?
Cookies are not sent to the server via getServerSideProps, here is the code in the front-end: export async function getServerSideProps() { const res = await a
I am writing an application to handle requests and return predefined responses to allow testing of external REST endpoints by software that cannot have internal
Scenario: I'm build a NodeJs (NestJs Framework) application, Where I can get feedback from my clients (Amazon Product Purchaser) and Post its review on my Amazo
I have my controller with @Post('email/register') @HttpCode(HttpStatus.CREATED) @ApiOkResponse(AuthConfigSwagger.API_OP_CREATE) @ApiCreatedResponse(Auth
I am trying to log the response data by using logger interceptor, but when I send a new request I get output before undefined after instead of what i expect to
I need too use useQuery a few times to get different data from db. So I call: const {data: var1} = useQuery(MY_QUERY, {variable: {content1}); const {data: var2
I dont know why, but since I was cloning my working repository I am using on AWS to a local machine and try to run it, I am getting the following error: "SCRAM-
I want to disable X-Powered-By in nestjs like the following, but it does not work. main.ts: async function bootstrap() { const logger = new Logger('bootstra
I deploy Lambda with NestJS & TypeORM, and I got error when I using function: ERROR (node:9) [DEP0005] DeprecationWarning: Buffer() is deprecated due to s
I have a nest.js installation. When I run npm run start:dev (which runs start --watch) everything works fine and the green logs appear. The thing is that when
RabbitMQ 3.10.1 rabbitmq-diagnostics status ... Config files * /etc/rabbitmq/rabbitmq.config ... rabbitmq.config: [ {rabbit, [ {heartbeat, 90}
so I have a route that can accept two different DTO's. I'm having difficulty getting these two DTO's to link/show up on swagger. I'm using the swagger plugin wi
I have a NestJS application with the CoreModule which exports an collection of the core services to all other modules. In core module i have dynamic module regi
I've noticed that bull does not print exceptions to the console by default. To get around this I want to catch errors with the @OnQuerueError decorator and prin
I have a signup DTO where one member is dependent of another. The IsPostalCode on zip needs to know the countryCode/locale, which is one of the other class memb