NestJS 11 - Interceptor and Decorator

preview_player
Показать описание
We will learn about NestJS interceptor and how to take advantage of decorators in certain scenario.

NestajS Interceptors are able to access both request and response making it powerful among other NESTJS features. You will also learn how to implement decorators just like in the previous video.

We'll make use of real world example by using caching method and how decorator can improve our code.

FOLLOW ME ON TWITTER FOR LATEST UPDATE

SOURCE CODE
Рекомендации по теме
Комментарии
Автор

can it be used to pass a header to each call that is made?

Reaper_f
Автор

hi,Can the interceptor operate the database

dawang
Автор

hey, nice demo.
could you share the git link to the demo please?

Software.Engineering.in.Action