ngATL Conference Atlanta, GA

NestJS on 2018 ngATL Conference Atlanta, GA

NestJS 2018 ngATL

LEARN MORE

Guards

There's one difference between regular guards and the microservices guards. The microservices guards takes the data passed from the client instead of expressjs request object as an argument of the canActivate() function. Also, when the guard returns false, it throws RpcException (not HttpException).

Hint The RpcException class is available within the @nestjs/microservices package.

Sponsors

Nest is an MIT-licensed open source project. It can grow thanks to the support by these awesome people. If you'd like to join them, please read more here. Thanks!

Become a sponsor