I've got one question. Is it possible to use multiple auth guards on a route (in my case basic and ldap auth). The route should be authenticated when one guard
address.controller.ts Whatever I write to the input console returns log error in validation.pipe.ts. import { JoiValidationPipe } from 'src/validation.pipe'; im
However, I can't find any Repository.extend method in Repository class and there's nothing about it in the documentation. How to solve this? typeorm version: "^
I'm trying to find the most legal way to set up NestJS database using .env file. That is I want to use @nestjs/config package for importing .env variables and u
It's really an odd issue I cannot detect, here's my adapter. import { IoAdapter } from '@nestjs/platform-socket.io'; import { ServerOptions } from 'socket.io';
I have NestJS 8.0.0 and I'm using @golevelup/nestjs-rabbitmq": "2.2.0. Basically I have handling messages working fine but I can't send any, I just get a "Canno
I get an object from NestFactory and then I call a function. There is another class injected inside service class. All the dependencies inside the service are n
Is there an approach to hook into the onConnect and onDisconnect lifecycle-events in Nestjs?
I'm building an application with microservices communicating through RabbitMQ (request-response pattern). Everything works fine but still I have a problem with
I'm trying to build microservice with NestJS and gRPC. It has two services, the first one is the gRPC service, and the second one is the REST service that call
Cannot able to connect database with correct connection info, followed documentation to connect database from https://docs.nestjs.com/techniques/database Databa
With nestjs microservices, you can send messages and receive the result using request/response-based approach. That is implemented with a combination of @Messag
So I have an API that will be deployed in a docker container. This API has the authentications controller, simple and not something special. When I start up th
I want to write a unit test for a controller in NestJS which uses the service. Service uses an entity and typeorm to getting data from postgres. controller.spec
We use Bitbucket pipelines in our CI for testing, Our application is NestJS with Typescript tested with Jest. We always got all tests running, however few days
I'm having an issue after updating nest/core/common/graphql, in which a single type definition is not showing up in the schema. I'm consistently getting an erro
when i include @Permissions('read') my acessGuard stops receiving JWT info, @Permissions simply sets metadata (code below) export const Permissions = (...permis
I am trying to start my nestJs server and It keeps giving me this error: UnhandledPromiseRejectionWarning: Error: You must await server.start() before calling s
I've built an NestJS API with authentification. I'm using NestJS passport and I create a JSON web token when a user logs in. I've done numerous searches and I r
I have create a guard to verify Okta tokens in my guard.However to verify there is another external api that needs to be called.Is it possible and advisable to