You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
By the way, @nartc is it possible (or can be a future request) to use MapInterceptor before route handle?
In case when I get DTO object and want convert it to something different. Or it's a bad pattern and I should do it on service layer?
I tried to follow this guide https://automapperts.netlify.app/docs/nestjs
But it feels like MapInterceptor does not work with promises.
Here're my two code samples:
The endpoint returns empty body in http response.
I really like the new approach with interceptors but I don't know how to use them here.
Help me please.
The text was updated successfully, but these errors were encountered: