EDIT: Use where: { id: userId } don't help beacuse it search using the id of the bookmark and not by the user who added the bookmark My goal is to b ...
EDIT: Use where: { id: userId } don't help beacuse it search using the id of the bookmark and not by the user who added the bookmark My goal is to b ...
Using this entity: When trying to insert a duplicate (based on the combination of case and csgItem, mikroORM allows me to do this. How can I make t ...
I'm trying to run a unity test on a method by mocking an addressList but it says that it cannot read the property of undefined. The method: The pr ...
I'm using: NestJS and I have a class exported using namespace. Right after the export namespace I have the NestJS @Injectable decorator and I get the ...
I am developing a Nestjs project. Here I am fetching the data from another rest API. I fetch the data from the API and store it in my database. Howeve ...
I am looking for an example to use NestJS Kafka microservice work with Avro schema. So far the consumers are working with Json Object but we are look ...
This seems like a simple question, but I'm stumped. How do I test my expressjs middleware is setting up the user session properly? I am not sure ho ...
I'm working on a project with Prisma and NestJS. The error : occured when I tried to add a @Global Decorator in my PrismaModule. I directly Ctrl+Z ...
I have a User entity with a Role relationship in an application Nestjs. when I want get users from the DB I do: and I get data like this: b ...
Today I'm working on a new project with NestJS, I'm pretty new to NestJS and in particular to Prisma. I followed this tutorial on the prisma documenta ...
new to nestJS world here, I'm trying to use my custom Logger I already use inside my nest application. This is the code that I use to create the appl ...
I've got a module exporting a DatabaseUserRepository : And another project is trying to inject it in a custom provider : I have the following er ...
I want to use "Server Side Events" to notify all clients. I didn't find a way to do a broadcast, so I decided to use the Eventemitter internally. This ...
Issue with JWT service I'm trying to use for user auth ERROR [ExceptionHandler] Nest can't resolve dependencies of the AuthService (?, JwtService). P ...
I try to do some authentication for my nestjs app but I got stuck with this error and I don't know where to look at My app.module.ts My auth.servi ...
I have this entity: and this related entity and this is my update function: my findById function If i debug this, i can see that the userE ...
I am writing a basic signup api and using find() function to check if there are any duplicate api and in an if() condition im throwing a BadRequestExc ...
While trying to cover out project in unit tests using nest's jest I've bumped into a problem of a testing module not being able to pull variables from ...
I am trying to set up Jest Unit Testing to my project, but I'm getting the following errors when trying to Unit Test: Erro Message (Screenshot) How ...
Let's say we have a bookshop and an author entity, to show the author their earnings stat, we want to check if the authenticated user is indeed the au ...