'using applyDecorators and Interceptors
I have a applyDecorators that called postCall. This postCall built from 4 decorators Post,ApiOperation,ApiResponse,UsePipes. And I have Interceptor that convert to me the property in the request body from camel case to snake case. When I using both of them the interceptor doesn’t work. example :
@PostCall(...)
@UseInterceptors(...)
function(@Body()...){
...
}
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
